mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 02:33:43 +01:00
Make CBreakpoints an object
This commit is contained in:
1 parent
f692092159
commit
7992ff4627
26 files changed
+252
-258
No files matched your search
@@ -225,21 +225,21 @@ bool MIPSDebugInterface::isAlive()
|
||||
|
||||
bool MIPSDebugInterface::isBreakpoint(unsigned int address)
|
||||
{
|
||||
return CBreakPoints::IsAddressBreakPoint(address);
|
||||
return g_breakpoints.IsAddressBreakPoint(address);
|
||||
}
|
||||
|
||||
void MIPSDebugInterface::setBreakpoint(unsigned int address)
|
||||
{
|
||||
CBreakPoints::AddBreakPoint(address);
|
||||
g_breakpoints.AddBreakPoint(address);
|
||||
}
|
||||
void MIPSDebugInterface::clearBreakpoint(unsigned int address)
|
||||
{
|
||||
CBreakPoints::RemoveBreakPoint(address);
|
||||
g_breakpoints.RemoveBreakPoint(address);
|
||||
}
|
||||
void MIPSDebugInterface::clearAllBreakpoints() {}
|
||||
void MIPSDebugInterface::toggleBreakpoint(unsigned int address)
|
||||
{
|
||||
CBreakPoints::IsAddressBreakPoint(address)?CBreakPoints::RemoveBreakPoint(address):CBreakPoints::AddBreakPoint(address);
|
||||
g_breakpoints.IsAddressBreakPoint(address)?g_breakpoints.RemoveBreakPoint(address):g_breakpoints.AddBreakPoint(address);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user