From f8d1f070f50db0580e104c090db98ec42a0b6718 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Tue, 17 Nov 2020 14:50:00 +0300 Subject: [PATCH] sys_memory: HORRIBLE HACK for sys_memory_get_page_attributes --- rpcs3/Emu/Cell/lv2/sys_memory.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/lv2/sys_memory.cpp b/rpcs3/Emu/Cell/lv2/sys_memory.cpp index 1f4fdec185..c72b2928e9 100644 --- a/rpcs3/Emu/Cell/lv2/sys_memory.cpp +++ b/rpcs3/Emu/Cell/lv2/sys_memory.cpp @@ -4,6 +4,7 @@ #include "Emu/Memory/vm_locking.h" #include "Emu/CPU/CPUThread.h" #include "Emu/Cell/ErrorCodes.h" +#include "Emu/Cell/SPUThread.h" #include "Emu/IdManager.h" #include "util/vm.hpp" @@ -176,7 +177,7 @@ error_code sys_memory_get_page_attribute(cpu_thread& cpu, u32 addr, vm::ptr= SPU_FAKE_BASE_ADDR) { return CELL_EINVAL; }