From 95cffd97b577d3a6bdef906369014230a0c30e2d Mon Sep 17 00:00:00 2001 From: The Dax Date: Sun, 7 Jul 2013 19:07:43 -0400 Subject: [PATCH] Fix PSN eboot crash. Allows PSN demo eboots to run again, and HD Remaster eboots to finally boot. --- Core/FileSystems/BlockDevices.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Core/FileSystems/BlockDevices.cpp b/Core/FileSystems/BlockDevices.cpp index 6a883fb6b5..9d3370a887 100644 --- a/Core/FileSystems/BlockDevices.cpp +++ b/Core/FileSystems/BlockDevices.cpp @@ -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);