mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-21 10:19:04 +02:00
[GPU/Common/DX9/GLES/Software] Object out of scope optimization for better codegeneration (lower level scope)
This commit is contained in:
1 parent
2a31f8c6c0
commit
ca94de8d4b
8 files changed
+15
-11
No files matched your search
@@ -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