Fix build without BKPT_SUPPORT
This commit is contained in:
parent
b780693c37
commit
c64fd54be9
|
@ -2819,6 +2819,7 @@ extern int cpuNextEvent;
|
|||
|
||||
extern void debuggerBreakOnWrite(u32 , u32, u32, int, int);
|
||||
|
||||
#ifdef BKPT_SUPPORT
|
||||
static u8 cheatsGetType(u32 address)
|
||||
{
|
||||
switch(address >> 24) {
|
||||
|
@ -2838,6 +2839,7 @@ static u8 cheatsGetType(u32 address)
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
void cheatsWriteMemory(u32 address, u32 value)
|
||||
{
|
||||
|
|
|
@ -467,6 +467,7 @@ void remoteWriteWatch(char *p, bool active)
|
|||
return;
|
||||
}
|
||||
|
||||
#ifdef BKPT_SUPPORT
|
||||
for(int i = 0; i < count; i++) {
|
||||
if((address >> 24) == 2)
|
||||
freezeWorkRAM[address & 0x3ffff] = active;
|
||||
|
@ -474,6 +475,7 @@ void remoteWriteWatch(char *p, bool active)
|
|||
freezeInternalRAM[address & 0x7fff] = active;
|
||||
address++;
|
||||
}
|
||||
#endif
|
||||
|
||||
remotePutPacket("OK");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue