From bcf9b4f67a32b04536aa13ce66a11017cb5a951d Mon Sep 17 00:00:00 2001 From: Ronit Dsilva <124994670+Cherrytree56567@users.noreply.github.com> Date: Sun, 24 Sep 2023 23:46:34 +1000 Subject: [PATCH] Update Memory.h --- PSEMU/Memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PSEMU/Memory.h b/PSEMU/Memory.h index 9f0ac19..d3086d3 100644 --- a/PSEMU/Memory.h +++ b/PSEMU/Memory.h @@ -20,7 +20,7 @@ class Memory { if (address < memory.size()) { return memory[address]; } else if (address >= GPU_VRAM_START && address <= GPU_VRAM_END) { - return gpu[address - GPU_VRAM_START]; + return gpu.gpuVRAM[address - GPU_VRAM_START]; } else { Logging console; console.err(54);