static void EmuFrame() { ctx->SetRenderTarget(); if (ctx->GetDrawContext()) { ctx->GetDrawContext()->BeginFrame(); } gpu->BeginHostFrame(); coreState = CORE_RUNNING; PSP_RunLoopUntil(UINT64_MAX); gpu->EndHostFrame(); if (ctx->GetDrawContext()) { ctx->GetDrawContext()->EndFrame(); } }
void PSP_RunLoopFor(int cycles) { PSP_RunLoopUntil(CoreTiming::GetTicks() + cycles); }