diff options
author | Lioncash <mathew1800@gmail.com> | 2015-03-11 21:10:14 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-03-17 20:13:32 +0100 |
commit | 9fdb311d6e2d636c4599ddc3d4cb9adad6cec540 (patch) | |
tree | 358501f8f2e31c7c27ee17c62996ef01e21354c7 /src/core/mem_map_funcs.cpp | |
parent | dyncom: Implement SETEND (diff) | |
download | yuzu-9fdb311d6e2d636c4599ddc3d4cb9adad6cec540.tar yuzu-9fdb311d6e2d636c4599ddc3d4cb9adad6cec540.tar.gz yuzu-9fdb311d6e2d636c4599ddc3d4cb9adad6cec540.tar.bz2 yuzu-9fdb311d6e2d636c4599ddc3d4cb9adad6cec540.tar.lz yuzu-9fdb311d6e2d636c4599ddc3d4cb9adad6cec540.tar.xz yuzu-9fdb311d6e2d636c4599ddc3d4cb9adad6cec540.tar.zst yuzu-9fdb311d6e2d636c4599ddc3d4cb9adad6cec540.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); } |