1
0
mirror of https://github.com/citra-emu/citra.git synced 2024-12-20 22:20:09 +00:00

Merge pull request from MerryMage/ticks_executed

dynarmic: Add ticks based on ticks executed, not ticks requested
This commit is contained in:
Yuri Kunde Schlesner 2016-11-26 13:51:11 -08:00 committed by GitHub
commit b230913c2b

View File

@ -131,9 +131,9 @@ MICROPROFILE_DEFINE(ARM_Jit, "ARM JIT", "ARM JIT", MP_RGB(255, 64, 64));
void ARM_Dynarmic::ExecuteInstructions(int num_instructions) {
MICROPROFILE_SCOPE(ARM_Jit);
jit->Run(static_cast<unsigned>(num_instructions));
unsigned ticks_executed = jit->Run(static_cast<unsigned>(num_instructions));
AddTicks(num_instructions);
AddTicks(ticks_executed);
}
void ARM_Dynarmic::SaveContext(Core::ThreadContext& ctx) {