Add header guards
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
#ifndef _MMC3_H
|
||||||
|
#define _MMC3_H
|
||||||
|
|
||||||
extern uint8 MMC3_cmd;
|
extern uint8 MMC3_cmd;
|
||||||
extern uint8 mmc3opts;
|
extern uint8 mmc3opts;
|
||||||
extern uint8 A000B;
|
extern uint8 A000B;
|
||||||
@@ -24,3 +27,5 @@ DECLFW(MMC3_CMDWrite);
|
|||||||
DECLFW(MMC3_IRQWrite);
|
DECLFW(MMC3_IRQWrite);
|
||||||
|
|
||||||
void GenMMC3_Init(CartInfo *info, int prg, int chr, int wram, int battery);
|
void GenMMC3_Init(CartInfo *info, int prg, int chr, int wram, int battery);
|
||||||
|
|
||||||
|
#endif /* _MMC3_H */
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
#ifndef _SHARE_H
|
||||||
|
#define _SHARE_H
|
||||||
|
|
||||||
#include "../fceu-types.h"
|
#include "../fceu-types.h"
|
||||||
#include "../input.h"
|
#include "../input.h"
|
||||||
#include "../fceu.h"
|
#include "../fceu.h"
|
||||||
@@ -9,3 +12,5 @@
|
|||||||
void FCEUMOV_AddJoy(uint8 *js);
|
void FCEUMOV_AddJoy(uint8 *js);
|
||||||
void FCEU_DrawCursor(uint8 *buf, int xc, int yc);
|
void FCEU_DrawCursor(uint8 *buf, int xc, int yc);
|
||||||
void FCEU_DrawGunSight(uint8 *buf, int xc, int yc);
|
void FCEU_DrawGunSight(uint8 *buf, int xc, int yc);
|
||||||
|
|
||||||
|
#endif /* _SHARE_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user