mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-09 21:31:24 +00:00
platinum: Handle read 4 bytes with offset.
This commit is contained in:
parent
97339e4ce4
commit
ffc7de4715
@ -195,7 +195,7 @@ uint32_t PlatinumCtrl::read(uint32_t rgn_start, uint32_t offset, int size) {
|
|||||||
value = 0;
|
value = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (size == 4)
|
if (size == 4 && !(offset & 3))
|
||||||
return value;
|
return value;
|
||||||
else
|
else
|
||||||
return extract_with_wrap_around(value, offset, size);
|
return extract_with_wrap_around(value, offset, size);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user