fix patches.h conflicting with system Patches.h

This commit is contained in:
Matthew Laux
2026-02-16 17:20:17 -06:00
parent 7626dd2452
commit f3e872c53b
5 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
#include <string.h>
#include "patches.h"
#include "rom_patches.h"
// Pokemon Red/Blue: fix terrible frame rate in menus
// make HandleMenuInput and WaitForTextScrollButtonPress halt instead of spin
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef _PATCHES_H
#define _PATCHES_H
#ifndef _ROM_PATCHES_H
#define _ROM_PATCHES_H
#include "types.h"
+1 -1
View File
@@ -14,7 +14,7 @@ add_application("Gray Brick"
../src/cgb.c
../src/audio.c
../src/rom.c
../src/patches.c
../src/rom_patches.c
../src/mbc.c
../compiler/compiler.c
../compiler/emitters.c
+2
View File
@@ -1,3 +1,5 @@
#include <Patches.h>
#include "cpu_cache.h"
// from Inside Macintosh: OS Utilities
+1 -1
View File
@@ -28,7 +28,7 @@
#include "mbc.h"
#include "audio.h"
#include "cgb.h"
#include "patches.h"
#include "rom_patches.h"
#include "debug.h"
#include "dialogs.h"