forked from ShuriZma/suyu
1
0
Fork 0

hw: Fix mismatched Write call

This commit is contained in:
Lioncash 2015-06-16 15:49:22 -04:00
parent b1cb0a3f2c
commit bbe4430922
1 changed files with 1 additions and 1 deletions

View File

@ -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);