Penalize HLE division, it's just too fast :)

This commit is contained in:
David Guillen Fandos 2021-12-21 20:06:24 +01:00
parent f085883ba7
commit daac3b7d91
1 changed files with 4 additions and 0 deletions

View File

@ -1727,9 +1727,11 @@ void translate_icache_sync() {
{ \
u32 swinum = (opcode >> 16) & 0xFF; \
if (swinum == 6) { \
cycle_count += 64; /* Big under-estimation here */ \
arm_hle_div(arm); \
} \
else if (swinum == 7) { \
cycle_count += 64; /* Big under-estimation here */ \
arm_hle_div_arm(arm); \
} \
else { \
@ -2297,9 +2299,11 @@ void translate_icache_sync() {
{ \
u32 swinum = opcode & 0xFF; \
if (swinum == 6) { \
cycle_count += 64; /* Big under-estimation here */ \
arm_hle_div(thumb); \
} \
else if (swinum == 7) { \
cycle_count += 64; /* Big under-estimation here */ \
arm_hle_div_arm(thumb); \
} \
else { \