mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Kernel: Disallow partitions 8/10 to match tests.
I think these might be accessible only in kernel mode.
This commit is contained in:
1 parent
251cc73afd
commit
d665b2b6ca
1 file changed
+5
-1
@@ -515,9 +515,13 @@ BlockAllocator *BlockAllocatorFromID(int id) {
|
||||
|
||||
case 2:
|
||||
case 6:
|
||||
return &userMemory;
|
||||
|
||||
case 8:
|
||||
case 10:
|
||||
return &userMemory;
|
||||
if (hleIsKernelMode())
|
||||
return &userMemory;
|
||||
return nullptr;
|
||||
|
||||
case 5:
|
||||
return &volatileMemory;
|
||||
|
||||
Reference in new issue
Block a user