diff options
author | bunnei <bunneidev@gmail.com> | 2015-03-20 02:37:43 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-03-20 02:37:43 +0100 |
commit | 1981aa3d7e8c230f05999393a891c89105575b12 (patch) | |
tree | 0f2e2db10ba2b96bda11b4538aaaba7cdbd3536b /src/core/mem_map_funcs.cpp | |
parent | Merge pull request #667 from archshift/wut (diff) | |
parent | dyncom: Make Load/Store instructions support big endian (diff) | |
download | yuzu-1981aa3d7e8c230f05999393a891c89105575b12.tar yuzu-1981aa3d7e8c230f05999393a891c89105575b12.tar.gz yuzu-1981aa3d7e8c230f05999393a891c89105575b12.tar.bz2 yuzu-1981aa3d7e8c230f05999393a891c89105575b12.tar.lz yuzu-1981aa3d7e8c230f05999393a891c89105575b12.tar.xz yuzu-1981aa3d7e8c230f05999393a891c89105575b12.tar.zst yuzu-1981aa3d7e8c230f05999393a891c89105575b12.zip |
Diffstat (limited to 'src/core/mem_map_funcs.cpp')
-rw-r--r-- | src/core/mem_map_funcs.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/mem_map_funcs.cpp b/src/core/mem_map_funcs.cpp index 48f61db4e..a161a8204 100644 --- a/src/core/mem_map_funcs.cpp +++ b/src/core/mem_map_funcs.cpp @@ -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); } |