mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-06 04:33:49 +01:00
Fix PSN eboot crash. Allows PSN demo eboots to run again, and HD Remaster eboots to finally boot.
This commit is contained in:
1 parent
bab30279c2
commit
95cffd97b5
1 file changed
+3
-1
@@ -24,7 +24,7 @@ extern "C"
|
||||
{
|
||||
#include "zlib.h"
|
||||
#include "ext/libkirk/amctrl.h"
|
||||
|
||||
#include "ext/libkirk/kirk_engine.h"
|
||||
};
|
||||
|
||||
BlockDevice *constructBlockDevice(const char *filename) {
|
||||
@@ -222,6 +222,8 @@ NPDRMDemoBlockDevice::NPDRMDemoBlockDevice(FILE *file)
|
||||
ERROR_LOG(LOADER, "Invalid NPUMDIMG header!");
|
||||
}
|
||||
|
||||
kirk_init();
|
||||
|
||||
// getkey
|
||||
sceDrmBBMacInit(&mkey, 3);
|
||||
sceDrmBBMacUpdate(&mkey, np_header, 0xc0);
|
||||
|
||||
Reference in new issue
Block a user