mirror of
https://github.com/mlaux/gb6.git
synced 2026-04-24 04:17:15 +00:00
fix patches.h conflicting with system Patches.h
This commit is contained in:
@@ -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
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef _PATCHES_H
|
||||
#define _PATCHES_H
|
||||
#ifndef _ROM_PATCHES_H
|
||||
#define _ROM_PATCHES_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#include <Patches.h>
|
||||
|
||||
#include "cpu_cache.h"
|
||||
|
||||
// from Inside Macintosh: OS Utilities
|
||||
|
||||
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user