mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-21 01:40:22 +00:00
Use a fake exception to exit early in case of memory breakpoints.
Change TMemCheck::Action to return whether to break rather than calling PPCDebugInterface::BreakNow, as this simplified the implementation; then remove said method, as that was its only caller. One "interface" method down, many to go...
This commit is contained in:
parent
dd7ab4812b
commit
2264e7b087
9 changed files with 42 additions and 14 deletions
|
@ -169,11 +169,6 @@ void PPCDebugInterface::InsertBLR(unsigned int address, unsigned int value)
|
|||
PowerPC::HostWrite_U32(value, address);
|
||||
}
|
||||
|
||||
void PPCDebugInterface::BreakNow()
|
||||
{
|
||||
CCPU::Break();
|
||||
}
|
||||
|
||||
|
||||
// =======================================================
|
||||
// Separate the blocks with colors.
|
||||
|
|
|
@ -39,7 +39,6 @@ public:
|
|||
virtual unsigned int GetPC() override;
|
||||
virtual void SetPC(unsigned int address) override;
|
||||
virtual void Step() override {}
|
||||
virtual void BreakNow() override;
|
||||
virtual void RunToBreakpoint() override;
|
||||
virtual void InsertBLR(unsigned int address, unsigned int value) override;
|
||||
virtual int GetColor(unsigned int address) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue