summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-06-16 23:04:34 +0200
committerLioncash <mathew1800@gmail.com>2015-06-16 23:04:34 +0200
commitf1ff0fbf075c1ecec600a8cdf44299a0c36929d3 (patch)
tree4ca47df2b85c42b73ec8f9ca893380a8e73b28db
parentAppVeyor: update WinSCP download link (with direct download link) (diff)
parenthw: Fix mismatched Write call (diff)
downloadyuzu-f1ff0fbf075c1ecec600a8cdf44299a0c36929d3.tar
yuzu-f1ff0fbf075c1ecec600a8cdf44299a0c36929d3.tar.gz
yuzu-f1ff0fbf075c1ecec600a8cdf44299a0c36929d3.tar.bz2
yuzu-f1ff0fbf075c1ecec600a8cdf44299a0c36929d3.tar.lz
yuzu-f1ff0fbf075c1ecec600a8cdf44299a0c36929d3.tar.xz
yuzu-f1ff0fbf075c1ecec600a8cdf44299a0c36929d3.tar.zst
yuzu-f1ff0fbf075c1ecec600a8cdf44299a0c36929d3.zip
-rw-r--r--src/core/hw/hw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hw/hw.cpp b/src/core/hw/hw.cpp
index f4906cc7e..c7006a498 100644
--- a/src/core/hw/hw.cpp
+++ b/src/core/hw/hw.cpp
@@ -18,7 +18,7 @@ inline void Read(T &var, const u32 addr) {
GPU::Read(var, addr);
break;
case VADDR_LCD:
- LCD::Write(var, addr);
+ LCD::Read(var, addr);
break;
default:
LOG_ERROR(HW_Memory, "unknown Read%lu @ 0x%08X", sizeof(var) * 8, addr);