Minor GPU interface cleanup

This commit is contained in:
Henrik Rydgard committed 2016-01-06 23:49:02 +01:00
1 parent 2b5d38d2d0
commit e11d0a7e1c
11 files changed
+41 -45

No files matched your search

+3 -3
View File
@@ -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;