mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-11 18:33:41 +00:00
GPU: Add quick method for debugging.
Helps when you want to bail out to the debugger quickly.
This commit is contained in:
parent
f5b2a6601e
commit
a37a8ca4f0
@ -322,6 +322,12 @@ void AddTextureChangeTempBreakpoint() {
|
||||
textureChangeTemp = true;
|
||||
}
|
||||
|
||||
void AddAnyTempBreakpoint() {
|
||||
for (int i = 0; i < 256; ++i) {
|
||||
AddCmdBreakpoint(i, true);
|
||||
}
|
||||
}
|
||||
|
||||
void RemoveAddressBreakpoint(u32 addr) {
|
||||
std::lock_guard<std::mutex> guard(breaksLock);
|
||||
|
||||
|
@ -38,6 +38,8 @@ namespace GPUBreakpoints {
|
||||
void AddTextureBreakpoint(u32 addr, bool temp = false);
|
||||
void AddTextureChangeTempBreakpoint();
|
||||
void AddRenderTargetBreakpoint(u32 addr, bool temp = false);
|
||||
// Quick way to trigger GE debugger statically.
|
||||
void AddAnyTempBreakpoint();
|
||||
|
||||
void RemoveAddressBreakpoint(u32 addr);
|
||||
void RemoveCmdBreakpoint(u8 cmd);
|
||||
|
Loading…
Reference in New Issue
Block a user