Kernel: Disallow partitions 8/10 to match tests.

I think these might be accessible only in kernel mode.
This commit is contained in:
Unknown W. Brackets committed 2022-09-20 10:46:43 -07:00
1 parent 251cc73afd
commit d665b2b6ca
1 file changed
+5 -1
+5 -1
View File
@@ -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;