Unverified Commit 7bf86a4e authored by Ignacio Sanchez Gines's avatar Ignacio Sanchez Gines
Browse files

Fix debugger in non desktop platforms

parent b82ccd2a
Pipeline #43208 passed with stages
in 17 minutes and 1 second
......@@ -402,7 +402,7 @@ void Memory::CheckBreakpoints(u16 address, bool write)
void Memory::ResetDisassembledMemory()
{
#ifndef GEARBOY_DISABLE_DISASSEMBLER
#ifndef GEARSYSTEM_DISABLE_DISASSEMBLER
if (IsValidPointer(m_pDisassembledROMMap))
{
......@@ -424,7 +424,7 @@ void Memory::ResetDisassembledMemory()
void Memory::ResetRomDisassembledMemory()
{
#ifndef GEARBOY_DISABLE_DISASSEMBLER
#ifndef GEARSYSTEM_DISABLE_DISASSEMBLER
m_BreakpointsCPU.clear();
......
......@@ -22,7 +22,7 @@
inline u8 Memory::Read(u16 address)
{
#ifndef GEARBOY_DISABLE_DISASSEMBLER
#ifndef GEARSYSTEM_DISABLE_DISASSEMBLER
CheckBreakpoints(address, false);
#endif
......@@ -40,7 +40,7 @@ inline u8 Memory::Read(u16 address)
inline void Memory::Write(u16 address, u8 value)
{
#ifndef GEARBOY_DISABLE_DISASSEMBLER
#ifndef GEARSYSTEM_DISABLE_DISASSEMBLER
CheckBreakpoints(address, true);
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment