DebugInterface: Rename InsertBLR to Patch

This commit is contained in:
Sepalani
2017-10-05 20:09:12 +02:00
parent 428f0fa69b
commit f65dcdcdca
6 changed files with 9 additions and 9 deletions

View File

@ -156,7 +156,7 @@ void PPCDebugInterface::ToggleMemCheck(unsigned int address, bool read, bool wri
}
}
void PPCDebugInterface::InsertBLR(unsigned int address, unsigned int value)
void PPCDebugInterface::Patch(unsigned int address, unsigned int value)
{
PowerPC::HostWrite_U32(value, address);
PowerPC::ScheduleInvalidateCacheThreadSafe(address);

View File

@ -42,7 +42,7 @@ public:
void SetPC(unsigned int address) override;
void Step() override {}
void RunToBreakpoint() override;
void InsertBLR(unsigned int address, unsigned int value) override;
void Patch(unsigned int address, unsigned int value) override;
int GetColor(unsigned int address) override;
std::string GetDescription(unsigned int address) override;
};

View File

@ -132,9 +132,9 @@ void DSPDebugInterface::ToggleMemCheck(unsigned int address, bool read, bool wri
PanicAlert("MemCheck functionality not supported in DSP module.");
}
void DSPDebugInterface::InsertBLR(unsigned int address, unsigned int value)
void DSPDebugInterface::Patch(unsigned int address, unsigned int value)
{
PanicAlert("insertBLR functionality not supported in DSP module.");
PanicAlert("Patch functionality not supported in DSP module.");
}
// =======================================================

View File

@ -37,7 +37,7 @@ public:
void SetPC(unsigned int address) override;
void Step() override {}
void RunToBreakpoint() override;
void InsertBLR(unsigned int address, unsigned int value) override;
void Patch(unsigned int address, unsigned int value) override;
int GetColor(unsigned int address) override;
std::string GetDescription(unsigned int address) override;
};