From bbe44309221df5b0d3047840fa9c9f67ea4eff90 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 16 Jun 2015 15:49:22 -0400 Subject: hw: Fix mismatched Write call --- src/core/hw/hw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3