Implement Emulator::GetFakeCat()

I still have nightmares about that cat.
This commit is contained in:
Eladash 2021-09-16 02:34:20 +03:00 committed by Megamouse
parent 73bdf7481e
commit 1f3b1e1c99
5 changed files with 24 additions and 4 deletions

View file

@ -458,7 +458,7 @@ error_code npDrmIsAvailable(vm::cptr<u8> k_licensee_addr, vm::cptr<char> drm_pat
sceNp.notice("npDrmIsAvailable(): KLicense key %s", std::bit_cast<be_t<u128>>(k_licensee));
}
if (Emu.GetCat() == "PE")
if (Emu.GetFakeCat() == "PE")
{
std::memcpy(&k_licensee, NP_PSP_KEY_2, sizeof(k_licensee));
sceNp.success("npDrmIsAvailable(): PSP remaster KLicense key applied.");