mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-28 01:52:29 -06:00
Merge pull request #866 from lioncash/typo
hw: Fix mismatched Write call
This commit is contained in:
commit
f1ff0fbf07
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ inline void Read(T &var, const u32 addr) {
|
||||||
GPU::Read(var, addr);
|
GPU::Read(var, addr);
|
||||||
break;
|
break;
|
||||||
case VADDR_LCD:
|
case VADDR_LCD:
|
||||||
LCD::Write(var, addr);
|
LCD::Read(var, addr);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
LOG_ERROR(HW_Memory, "unknown Read%lu @ 0x%08X", sizeof(var) * 8, addr);
|
LOG_ERROR(HW_Memory, "unknown Read%lu @ 0x%08X", sizeof(var) * 8, addr);
|
||||||
|
|
Loading…
Reference in a new issue