Core: Process stepping on other platforms.

This includes Android.
This commit is contained in:
Unknown W. Brackets committed 2018-06-06 17:31:56 -07:00
1 parent c15ade3b1b
commit 2e2d8f2989
4 files changed
+29 -19

No files matched your search

+1 -8
View File
@@ -1193,14 +1193,7 @@ void EmuScreen::render() {
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...
int blockTicks = usToCycles(1000000 / 10);
// Run until CORE_NEXTFRAME
while (coreState == CORE_RUNNING) {
PSP_RunLoopFor(blockTicks);
}
PSP_RunLoopWhileState();
// Hopefully coreState is now CORE_NEXTFRAME
if (coreState == CORE_NEXTFRAME) {