Fix tests on Linux to behave more like Android.

This commit is contained in:
Unknown W. Brackets 2012-11-24 18:15:33 -08:00
parent 8736a567b2
commit 8432c83036
2 changed files with 5 additions and 1 deletions

View File

@ -158,6 +158,10 @@ int main(int argc, const char* argv[])
u64 nowTicks = CoreTiming::GetTicks();
u64 frameTicks = usToCycles(1000000/60);
mipsr4k.RunLoopUntil(nowTicks + frameTicks);
// If we were rendering, this might be a nice time to do something about it.
if (coreState == CORE_NEXTFRAME)
coreState = CORE_RUNNING;
}
// NOTE: we won't get here until I've gotten rid of the exit(0) in sceExitProcess or whatever it's called

2
native

@ -1 +1 @@
Subproject commit 275331061efb16786b8ba792e004275a64ced5ab
Subproject commit 62b5bc46d01fd0f79c7f54273d6a09c7ae17c17f