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

26 lines
729 B
C
Raw Normal View History

2015-08-05 03:57:37 +02:00
/*
* patches.h
* by Reisyukaku / Aurora Wright
* Copyright (c) 2016 All Rights Reserved
2015-08-05 03:57:37 +02:00
*/
2016-03-06 03:41:07 +01:00
#pragma once
2015-08-05 03:57:37 +02:00
#include "types.h"
/**************************************************
* Patches
**************************************************/
const u32 mpuPatch[3];
const u16 nandRedir[2];
const u16 sigPatch[2];
const u16 writeBlock[2];
/**************************************************
* Functions
**************************************************/
u8 *getProc9(void *pos, u32 size);
void getSigChecks(void *pos, u32 size, u32 *off, u32 *off2);
2016-03-23 15:16:40 +01:00
void *getReboot(void *pos, u32 size);
u32 getfOpen(u8 *proc9Offset, void *rebootOffset);
u16 *getFirmWrite(void *pos, u32 size);