Add SVC generic patches

First patch allows same process on svcControlCodeMemory
This commit is contained in:
Kostas Missos
2019-02-12 00:36:24 +02:00
parent 4ae42c3a9d
commit 5cd596e53c
3 changed files with 8 additions and 2 deletions

View File

@@ -44,8 +44,10 @@ typedef struct _kernel_patch_t
enum
{
// Generic instruction patches
SVC_VERIFY_DS = 0x10, // 0x0-0xF are RESERVED.
// Always applied.
SVC_GENERIC = 0,
// Generic instruction patches.
SVC_VERIFY_DS = 0x10,
DEBUG_MODE_EN,
ATM_GEN_PATCH,
// >4 bytes patches. Value is a pointer of a u32 array.