Add a function to run the CPU core.
This commit is contained in:
parent
f7a39d1b12
commit
b17b23f1f2
6 changed files with 14 additions and 15 deletions
|
@ -34,7 +34,6 @@
|
|||
#include "Core/Core.h"
|
||||
#include "Core/Host.h"
|
||||
#include "Core/System.h"
|
||||
#include "Core/MIPS/MIPS.h"
|
||||
#include "GPU/GPUState.h"
|
||||
#include "GPU/GPUInterface.h"
|
||||
#include "Core/HLE/sceCtrl.h"
|
||||
|
@ -477,8 +476,7 @@ void EmuScreen::render() {
|
|||
|
||||
// Run until CORE_NEXTFRAME
|
||||
while (coreState == CORE_RUNNING) {
|
||||
u64 nowTicks = CoreTiming::GetTicks();
|
||||
mipsr4k.RunLoopUntil(nowTicks + blockTicks);
|
||||
PSP_RunLoopFor(blockTicks);
|
||||
}
|
||||
// Hopefully coreState is now CORE_NEXTFRAME
|
||||
if (coreState == CORE_NEXTFRAME) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue