mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-04 03:35:19 +02:00
[GPU/Common/DX9/GLES/Software] Object out of scope optimization for better codegeneration (lower level scope)
This commit is contained in:
@@ -619,7 +619,6 @@ void ClearCallback() {
|
||||
|
||||
static void FinishRecording() {
|
||||
// We're done - this was just to write the result out.
|
||||
Path filename = WriteRecording();
|
||||
commands.clear();
|
||||
pushbuf.clear();
|
||||
lastVRAM.clear();
|
||||
@@ -630,8 +629,10 @@ static void FinishRecording() {
|
||||
flipFinishAt = -1;
|
||||
lastEdramTrans = 0x400;
|
||||
|
||||
if (writeCallback)
|
||||
if (writeCallback) {
|
||||
Path filename = WriteRecording();
|
||||
writeCallback(filename);
|
||||
}
|
||||
writeCallback = nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user