forked from ShuriZma/suyu
1
0
Fork 0

CPU/Dynarmic: Fixed a warning when incrementing the number of ticks in ExecuteInstructions.

This commit is contained in:
Subv 2017-08-19 11:33:01 -05:00
parent 9d0841b48b
commit d237a89048
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ MICROPROFILE_DEFINE(ARM_Jit, "ARM JIT", "ARM JIT", MP_RGB(255, 64, 64));
void ARM_Dynarmic::ExecuteInstructions(int num_instructions) { void ARM_Dynarmic::ExecuteInstructions(int num_instructions) {
MICROPROFILE_SCOPE(ARM_Jit); MICROPROFILE_SCOPE(ARM_Jit);
unsigned ticks_executed = jit->Run(static_cast<unsigned>(num_instructions)); std::size_t ticks_executed = jit->Run(static_cast<unsigned>(num_instructions));
AddTicks(ticks_executed); AddTicks(ticks_executed);
} }