Files
ac-decomp/include/famicom_emu.h
T
2024-01-29 20:31:47 -05:00

30 lines
590 B
C

#ifndef FAMICOM_EMU_H
#define FAMICOM_EMU_H
#include "types.h"
#include "game.h"
#include "Famicom/famicom.h"
#ifdef __cplusplus
extern "C" {
#endif
/* sizeof(struct game_famicom_emu_s) == 0xE0 */
typedef struct game_famicom_emu_s {
/* 0x00 */ GAME game;
} GAME_FAMICOM_EMU;
extern Famicom_MallocInfo my_malloc_func;
extern void famicom_emu_main(GAME* game);
extern void famicom_emu_init(GAME* game);
extern void famicom_emu_cleanup(GAME* game);
extern int famicom_gba_getImage(u32 rom_id, int* ptr);
extern void famicom_gba_removeImage(void* );
#ifdef __cplusplus
}
#endif
#endif