mirror of https://github.com/mgba-emu/mgba.git
Remove accidentally left in testing code
This commit is contained in:
parent
5f6b57734d
commit
dfd360bfbb
|
@ -147,9 +147,6 @@ int32_t GBALoad32(struct ARMMemory* memory, uint32_t address) {
|
||||||
|
|
||||||
// Unaligned 32-bit loads are "rotated" so they make some semblance of sense
|
// Unaligned 32-bit loads are "rotated" so they make some semblance of sense
|
||||||
int rotate = (address & 3) << 3;
|
int rotate = (address & 3) << 3;
|
||||||
if (!rotate) {
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
return (value >> rotate) | (value << (32 - rotate));
|
return (value >> rotate) | (value << (32 - rotate));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue