mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
GE Debugger: Prevent double init.
If you were mashing record, it was possible to add two inits to the recording, which caused playback issues.
This commit is contained in:
parent
710e63814f
commit
860be93c0c
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user