mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
DLC encryption
This commit is contained in:
parent
8ea497d59a
commit
02371b2949
@ -769,6 +769,8 @@ add_library(${CoreLibName} ${CoreLinkType}
|
||||
Core/HLE/sceUtility.h
|
||||
Core/HLE/sceVaudio.cpp
|
||||
Core/HLE/sceVaudio.h
|
||||
Core/HLE/scePspNpDrm_user.cpp
|
||||
Core/HLE/scePspNpDrm_user.h
|
||||
Core/HW/MediaEngine.cpp
|
||||
Core/HW/MediaEngine.h
|
||||
Core/HW/MemoryStick.cpp
|
||||
|
@ -54,6 +54,7 @@
|
||||
#include "sceVaudio.h"
|
||||
#include "sceUsb.h"
|
||||
#include "sceChnnlsv.h"
|
||||
#include "scePspNpDrm_user.h"
|
||||
|
||||
#define N(s) s
|
||||
|
||||
|
@ -60,6 +60,7 @@
|
||||
#include "scePsmf.h"
|
||||
#include "sceImpose.h"
|
||||
#include "sceUsb.h"
|
||||
#include "scePspNpDrm_user.h"
|
||||
|
||||
#include "../Util/PPGeDraw.h"
|
||||
|
||||
|
68
Core/HLE/scePspNpDrm_user.cpp
Normal file
68
Core/HLE/scePspNpDrm_user.cpp
Normal file
@ -0,0 +1,68 @@
|
||||
#include "scePspNpDrm_user.h"
|
||||
|
||||
#include "HLE.h"
|
||||
|
||||
int sceNpDrmSetLicenseeKey()
|
||||
{
|
||||
ERROR_LOG(HLE, "UNIMPL sceNpDrmSetLicenseeKey");
|
||||
return 0;
|
||||
}
|
||||
|
||||
int sceNpDrmClearLicenseeKey()
|
||||
{
|
||||
ERROR_LOG(HLE, "UNIMPL sceNpDrmClearLicenseeKey");
|
||||
return 0;
|
||||
}
|
||||
|
||||
int sceNpDrmRenameCheck()
|
||||
{
|
||||
ERROR_LOG(HLE, "UNIMPL sceNpDrmRenameCheck");
|
||||
return 0;
|
||||
}
|
||||
|
||||
int sceNpDrmEdataSetupKey(u32 edataFd)
|
||||
{
|
||||
ERROR_LOG(HLE, "UNIMPL sceNpDrmEdataSetupKey %x", edataFd);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int sceNpDrmEdataGetDataSize(u32 edataFd)
|
||||
{
|
||||
ERROR_LOG(HLE, "UNIMPL sceNpDrmEdataGetDataSize %x", edataFd);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int sceNpDrmOpen()
|
||||
{
|
||||
ERROR_LOG(HLE, "UNIMPL sceNpDrmOpen");
|
||||
return 0;
|
||||
}
|
||||
|
||||
int sceKernelLoadModuleNpDrm()
|
||||
{
|
||||
ERROR_LOG(HLE, "UNIMPL sceKernelLoadModuleNpDrm");
|
||||
return 0;
|
||||
}
|
||||
|
||||
int sceKernelLoadExecNpDrm()
|
||||
{
|
||||
ERROR_LOG(HLE, "UNIMPL sceKernelLoadExecNpDrm");
|
||||
return 0;
|
||||
}
|
||||
|
||||
const HLEFunction sceNpDrm[] =
|
||||
{
|
||||
{0xA1336091, 0, "sceNpDrmSetLicenseeKey"},
|
||||
{0x9B745542, 0, "sceNpDrmClearLicenseeKey"},
|
||||
{0x275987D1, 0, "sceNpDrmRenameCheck"},
|
||||
{0x08d98894, WrapI_U<sceNpDrmEdataSetupKey>, "sceNpDrmEdataSetupKey"},
|
||||
{0x219EF5CC, WrapI_U<sceNpDrmEdataGetDataSize>, "sceNpDrmEdataGetDataSize"},
|
||||
{0x2BAA4294, 0, "sceNpDrmOpen"},
|
||||
{0xC618D0B1, 0, "sceKernelLoadModuleNpDrm"},
|
||||
{0xAA5FC85B, 0, "sceKernelLoadExecNpDrm"},
|
||||
};
|
||||
|
||||
void Register_sceNpDrm()
|
||||
{
|
||||
RegisterModule("sceNpDrm", ARRAY_SIZE(sceNpDrm), sceNpDrm);
|
||||
}
|
5
Core/HLE/scePspNpDrm_user.h
Normal file
5
Core/HLE/scePspNpDrm_user.h
Normal file
@ -0,0 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
class PointerWrap;
|
||||
|
||||
void Register_sceNpDrm();
|
Loading…
Reference in New Issue
Block a user