mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Minor GPU interface cleanup
This commit is contained in:
1 parent
2b5d38d2d0
commit
e11d0a7e1c
11 files changed
+41
-45
No files matched your search
+3
-3
@@ -879,9 +879,7 @@ void EmuScreen::render() {
|
||||
thin3d->SetTargetSize(pixel_xres, pixel_yres);
|
||||
}
|
||||
|
||||
|
||||
// Reapply the graphics state of the PSP
|
||||
ReapplyGfxState();
|
||||
PSP_BeginHostFrame();
|
||||
|
||||
// We just run the CPU until we get to vblank. This will quickly sync up pretty nicely.
|
||||
// The actual number of cycles doesn't matter so much here as we will break due to CORE_NEXTFRAME, most of the time hopefully...
|
||||
@@ -898,6 +896,8 @@ void EmuScreen::render() {
|
||||
}
|
||||
checkPowerDown();
|
||||
|
||||
PSP_EndHostFrame();
|
||||
|
||||
if (invalid_)
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user