mirror of https://github.com/nmlgc/ReC98.git
[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:
parent
624b66f3ca
commit
021280b25c
|
@ -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);
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue