mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
GE Debugger: Fix crash on bp before list running.
This commit is contained in:
parent
a2ca85bc87
commit
100cbec620
1 changed files with 4 additions and 1 deletions
|
@ -29,6 +29,9 @@
|
||||||
|
|
||||||
namespace GPUBreakpoints {
|
namespace GPUBreakpoints {
|
||||||
|
|
||||||
|
static void NothingToDo(bool) {
|
||||||
|
}
|
||||||
|
|
||||||
struct BreakpointInfo {
|
struct BreakpointInfo {
|
||||||
bool isConditional = false;
|
bool isConditional = false;
|
||||||
PostfixExpression expression;
|
PostfixExpression expression;
|
||||||
|
@ -45,7 +48,7 @@ static std::set<u32> breakRenderTargets;
|
||||||
static size_t breakPCsCount = 0;
|
static size_t breakPCsCount = 0;
|
||||||
static size_t breakTexturesCount = 0;
|
static size_t breakTexturesCount = 0;
|
||||||
static size_t breakRenderTargetsCount = 0;
|
static size_t breakRenderTargetsCount = 0;
|
||||||
static std::function<void(bool)> notifyBreakpoints;
|
static std::function<void(bool)> notifyBreakpoints = &NothingToDo;
|
||||||
|
|
||||||
// If these are set, the above are also, but they should be temporary.
|
// If these are set, the above are also, but they should be temporary.
|
||||||
static bool breakCmdsTemp[256];
|
static bool breakCmdsTemp[256];
|
||||||
|
|
Loading…
Add table
Reference in a new issue