mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 19:15:46 +00:00
dyncom: Make Load/Store instructions support big endian
This commit is contained in:
parent
f280806214
commit
9fdb311d6e
7 changed files with 204 additions and 81 deletions
|
@ -245,6 +245,12 @@ u32 Read32(const VAddr addr) {
|
|||
return (u32)data;
|
||||
}
|
||||
|
||||
u64 Read64(const VAddr addr) {
|
||||
u64_le data = 0;
|
||||
Read<u64_le>(data, addr);
|
||||
return (u64)data;
|
||||
}
|
||||
|
||||
u32 Read8_ZX(const VAddr addr) {
|
||||
return (u32)Read8(addr);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue