mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-23 06:34:18 -04:00
Match & link m_font, minor Famicom work
This commit is contained in:
@@ -8,13 +8,18 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define FAMICOM_INTERNAL_ROM_NUM 19
|
||||
|
||||
#define NESTAG_CMD_SIZE 3
|
||||
#define NESTAG_SIZE (NESTAG_CMD_SIZE + 1)
|
||||
|
||||
#define NESTAG_END "END"
|
||||
#define NESTAG_VEQ "VEQ"
|
||||
#define NESTAG_VNE "VNE"
|
||||
#define NESTAG_GID "GID"
|
||||
#define NESTAG_GNM "GNM"
|
||||
#define NESTAG_CPN "CPN"
|
||||
#define NESTAG_OFS "OFS"
|
||||
#define NESTAG_OFS "OFS" /* Offset into the shared highscore data to read/write at */
|
||||
#define NESTAG_HSC "HSC"
|
||||
#define NESTAG_GNO "GNO"
|
||||
#define NESTAG_BBR "BBR"
|
||||
@@ -100,6 +105,8 @@ typedef struct famicom_common_s {
|
||||
extern void* my_malloc_current;
|
||||
extern u8 save_game_image;
|
||||
|
||||
extern FamicomCommon famicomCommon;
|
||||
|
||||
typedef u8 (*FAMICOM_GETSAVECHAN_PROC)(int* player_no, int* slot_card_result);
|
||||
extern void famicom_setCallback_getSaveChan(FAMICOM_GETSAVECHAN_PROC getSaveChan_proc);
|
||||
extern int famicom_mount_archive();
|
||||
@@ -109,6 +116,8 @@ extern int famicom_1frame();
|
||||
extern int famicom_init(int, void*, u8);
|
||||
extern int famicom_cleanup();
|
||||
|
||||
extern void nesinfo_tags_set(int rom_no);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -27,7 +27,8 @@ typedef struct ks_nes_common_work_obj_s {
|
||||
} ksNesCommonWorkObj;
|
||||
|
||||
typedef struct ks_nes_state_obj_s {
|
||||
u8 _temp[0x1A78];
|
||||
/* 0x0000 */ u8 wram[2048];
|
||||
/* 0x0800 */ u8 _temp[0x1A78 - 0x800];
|
||||
} ksNesStateObj;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -11,6 +11,7 @@ extern "C" {
|
||||
|
||||
void * memcpy(void * dst, const void * src, size_t n);
|
||||
void * memset(void * dst, int val, size_t n);
|
||||
int memcmp(const void* src1, const void* src2, size_t n);
|
||||
void __fill_mem(void * dst, int val, unsigned long n);
|
||||
|
||||
#pragma section code_type
|
||||
|
||||
Reference in New Issue
Block a user