add a missing break in half word reads

Fixes illegal halfword and byte reads (Croket! 2 slowdown)
This commit is contained in:
Squall Leonhart 2021-01-27 06:45:20 +11:00 committed by Rafael Kitover
parent b0c029a389
commit b50ff8584c
1 changed files with 1 additions and 0 deletions

View File

@ -289,6 +289,7 @@ static inline uint32_t CPUReadHalfWord(uint32_t address)
// no need to swap this // no need to swap this
value = flashRead(address) * 0x0101; value = flashRead(address) * 0x0101;
} }
break;
// default // default
default: default:
unreadable: unreadable: