mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Merge pull request #16617 from unknownbrackets/gedebugger
GE Debugger: Prevent double init
This commit is contained in:
1 file changed
+2
-2
@@ -780,7 +780,7 @@ void NotifyDisplay(u32 framebuf, int stride, int fmt) {
|
||||
if (active && HasDrawCommands()) {
|
||||
writePending = true;
|
||||
}
|
||||
if (nextFrame && (gstate_c.skipDrawReason & SKIPDRAW_SKIPFRAME) == 0) {
|
||||
if (!active && nextFrame && (gstate_c.skipDrawReason & SKIPDRAW_SKIPFRAME) == 0) {
|
||||
NOTICE_LOG(SYSTEM, "Recording starting on display...");
|
||||
BeginRecording();
|
||||
}
|
||||
@@ -835,7 +835,7 @@ void NotifyBeginFrame() {
|
||||
|
||||
FinishRecording();
|
||||
}
|
||||
if (nextFrame && (gstate_c.skipDrawReason & SKIPDRAW_SKIPFRAME) == 0 && noDisplayAction) {
|
||||
if (!active && nextFrame && (gstate_c.skipDrawReason & SKIPDRAW_SKIPFRAME) == 0 && noDisplayAction) {
|
||||
NOTICE_LOG(SYSTEM, "Recording starting on frame...");
|
||||
BeginRecording();
|
||||
// If we began on a BeginFrame, end on a BeginFrame.
|
||||
|
||||
Reference in new issue
Block a user