[Maintenance] Don't modify master.h to #undef grcg_off() for TH02

Because TH04 and TH05 actually do use this macro.

Part of P0089, funded by [Anonymous] and Blue Bolt.
This commit is contained in:
nmlgc 2020-04-24 20:30:24 +02:00
parent 624b66f3ca
commit 021280b25c
2 changed files with 3 additions and 3 deletions

View File

@ -2391,9 +2391,7 @@ void MASTER_RET grcg_and( int mode, int color );
void MASTER_RET grcg_or( int mode, int color ); void MASTER_RET grcg_or( int mode, int color );
void MASTER_RET grcg_off(void); void MASTER_RET grcg_off(void);
# define grcg_setmode(mode) OUTB(0x7c,mode) # define grcg_setmode(mode) OUTB(0x7c,mode)
# if GAME < 2
# define grcg_off() OUTB(0x7c,0) # define grcg_off() OUTB(0x7c,0)
# endif
/* EGC */ /* EGC */
void MASTER_RET egc_on(void); void MASTER_RET egc_on(void);

View File

@ -6,6 +6,8 @@
#include "ReC98.h" #include "ReC98.h"
#include "th01/ranks.h" #include "th01/ranks.h"
#undef grcg_off
// Formats // Formats
// ------- // -------
typedef struct { typedef struct {