SPU: Make spu_thread::offset private

This commit is contained in:
Eladash authored and Ivan committed 2020-07-19 17:58:49 +03:00
1 parent 6cc0fe4221
commit c37bc3c55c
14 files changed
+151 -132

No files matched your search

+1 -1
View File
@@ -1417,7 +1417,7 @@ bool handle_access_violation(u32 addr, bool is_writing, x64_context* context) no
{
const auto& spu = static_cast<spu_thread&>(*cpu);
const u64 type = spu.offset < RAW_SPU_BASE_ADDR ?
const u64 type = spu.get_type() == spu_type::threaded ?
SYS_MEMORY_PAGE_FAULT_TYPE_SPU_THREAD :
SYS_MEMORY_PAGE_FAULT_TYPE_RAW_SPU;