mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-25 23:25:40 +00:00
Added method to fetch current PC value
This commit is contained in:
parent
0a512d79eb
commit
532c6e7edb
|
@ -3742,6 +3742,11 @@ void CZ80::SetINT(BOOL state)
|
||||||
intLine = state;
|
intLine = state;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UINT16 CZ80::GetPC(void)
|
||||||
|
{
|
||||||
|
return pc;
|
||||||
|
}
|
||||||
|
|
||||||
void CZ80::Reset(void)
|
void CZ80::Reset(void)
|
||||||
{
|
{
|
||||||
pc = 0x0000;
|
pc = 0x0000;
|
||||||
|
|
|
@ -109,6 +109,16 @@ public:
|
||||||
*/
|
*/
|
||||||
void SetINT(BOOL state);
|
void SetINT(BOOL state);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* GetPC(void):
|
||||||
|
*
|
||||||
|
* Returns the current PC value.
|
||||||
|
|
||||||
|
* Returns:
|
||||||
|
* Current value of PC register.
|
||||||
|
*/
|
||||||
|
UINT16 GetPC(void);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reset(void):
|
* Reset(void):
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue