diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-05-12 23:17:04 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-05-15 05:04:38 +0200 |
commit | a251721bf3a053ea012ac0b891826f3246273c82 (patch) | |
tree | 225da92c7fbef78f2cb64b104615b05957704ac9 /src/core/mem_map_funcs.cpp | |
parent | Merge pull request #769 from lioncash/cond (diff) | |
download | yuzu-a251721bf3a053ea012ac0b891826f3246273c82.tar yuzu-a251721bf3a053ea012ac0b891826f3246273c82.tar.gz yuzu-a251721bf3a053ea012ac0b891826f3246273c82.tar.bz2 yuzu-a251721bf3a053ea012ac0b891826f3246273c82.tar.lz yuzu-a251721bf3a053ea012ac0b891826f3246273c82.tar.xz yuzu-a251721bf3a053ea012ac0b891826f3246273c82.tar.zst yuzu-a251721bf3a053ea012ac0b891826f3246273c82.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/mem_map_funcs.cpp | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/core/mem_map_funcs.cpp b/src/core/mem_map_funcs.cpp index a8e0fed07..f2da60cc6 100644 --- a/src/core/mem_map_funcs.cpp +++ b/src/core/mem_map_funcs.cpp @@ -225,27 +225,19 @@ u8 Read8(const VAddr addr) { u16 Read16(const VAddr addr) { u16_le data = 0; Read<u16_le>(data, addr); - return (u16)data; + return data; } u32 Read32(const VAddr addr) { u32_le data = 0; Read<u32_le>(data, addr); - return (u32)data; + return 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); -} - -u32 Read16_ZX(const VAddr addr) { - return (u32)Read16(addr); + return data; } void Write8(const VAddr addr, const u8 data) { |