mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-23 14:41:38 -04:00
30 lines
597 B
C
30 lines
597 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 void* famicom_gba_getImage(u32 rom_id, size_t* size);
|
|
extern void famicom_gba_removeImage(void*);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|