mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04: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
2 changed files with 8 additions and 0 deletions
|
@ -322,6 +322,12 @@ void AddTextureChangeTempBreakpoint() {
|
||||||
textureChangeTemp = true;
|
textureChangeTemp = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void AddAnyTempBreakpoint() {
|
||||||
|
for (int i = 0; i < 256; ++i) {
|
||||||
|
AddCmdBreakpoint(i, true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void RemoveAddressBreakpoint(u32 addr) {
|
void RemoveAddressBreakpoint(u32 addr) {
|
||||||
std::lock_guard<std::mutex> guard(breaksLock);
|
std::lock_guard<std::mutex> guard(breaksLock);
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,8 @@ namespace GPUBreakpoints {
|
||||||
void AddTextureBreakpoint(u32 addr, bool temp = false);
|
void AddTextureBreakpoint(u32 addr, bool temp = false);
|
||||||
void AddTextureChangeTempBreakpoint();
|
void AddTextureChangeTempBreakpoint();
|
||||||
void AddRenderTargetBreakpoint(u32 addr, bool temp = false);
|
void AddRenderTargetBreakpoint(u32 addr, bool temp = false);
|
||||||
|
// Quick way to trigger GE debugger statically.
|
||||||
|
void AddAnyTempBreakpoint();
|
||||||
|
|
||||||
void RemoveAddressBreakpoint(u32 addr);
|
void RemoveAddressBreakpoint(u32 addr);
|
||||||
void RemoveCmdBreakpoint(u8 cmd);
|
void RemoveCmdBreakpoint(u8 cmd);
|
||||||
|
|
Loading…
Add table
Reference in a new issue