mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-26 04:32:35 +01:00
cellGame: unknown category temporary fix (hack) (#1909)
All the games I've been trying to load from outside RPCS3's bin directory are returning me empty directories ``` {PPU[0x3] Thread (main_thread) [0x011223d8]} class fmt::exception thrown: cellGameBootCheck(): Unknown CATEGORY: ``` This is a hack for when the category is empty or unknown. We assume it's a disk game and proceed with the emulation.
This commit is contained in:
parent
ce56351554
commit
ca835ba68a
@ -207,7 +207,11 @@ ppu_error_code cellGameBootCheck(vm::ptr<u32> type, vm::ptr<u32> attributes, vm:
|
||||
}
|
||||
else
|
||||
{
|
||||
throw fmt::exception("cellGameBootCheck(): Unknown CATEGORY: %s", category);
|
||||
// Hack: When there is no (or unknown) CATEGORY returned, instead of throwing an exception
|
||||
// we assume it's a disk game.
|
||||
*type = CELL_GAME_GAMETYPE_DISC;
|
||||
*attributes = 0;
|
||||
cellGame.error("cellGameBootCheck(): Unknown CATEGORY: %s", category);
|
||||
}
|
||||
|
||||
return CELL_GAME_RET_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user