mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-08-13 17:03:47 -04:00
13 lines
262 B
C++
13 lines
262 B
C++
|
#pragma once
|
||
|
#include <set>
|
||
|
#include "playthrough.hpp"
|
||
|
#include "settings.hpp"
|
||
|
|
||
|
#define V_TO_P(addr) (addr - 0x100000)
|
||
|
#define P_TO_V(offset) (offset + 0x100000)
|
||
|
#define PATCH_CONSOLE 0
|
||
|
#define PATCH_CITRA 1
|
||
|
#define PATCH_SIZE_MAX 65535
|
||
|
|
||
|
bool WriteAllPatches();
|