This repository has been archived on 2022-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Luma3DS-3GX/source/patches.h

30 lines
730 B
C
Raw Normal View History

2015-08-05 03:57:37 +02:00
/*
* patches.h
* by Reisyukaku
2015-08-15 04:28:26 +02:00
* Copyright (c) 2015 All Rights Reserved
2015-08-05 03:57:37 +02:00
*/
2016-03-06 03:41:07 +01:00
2015-08-05 03:57:37 +02:00
#ifndef PATCHES_INC
#define PATCHES_INC
#include "types.h"
/**************************************************
* Patches
**************************************************/
2016-01-13 21:16:03 +01:00
u8 mpu[0x2C];
u8 nandRedir[0x08];
u8 sigPat1[2];
u8 sigPat2[4];
u8 FIRMblock[4];
u8 emuInstr[5];
/**************************************************
* Functions
**************************************************/
2016-02-08 03:37:03 +01:00
void getSignatures(void *pos, u32 size, u32 *off, u32 *off2);
void getReboot(void *pos, u32 size, u32 *off);
void getfOpen(void *pos, u32 size, u32 *off);
void getFIRMWrite(void *pos, u32 size, u32 *off);
2015-08-05 03:57:37 +02:00
#endif