mirror of
https://github.com/FunKey-Project/gpsp_libretro.git
synced 2025-12-13 02:38:51 +01:00
Cleanups
This commit is contained in:
parent
dd86f4df9a
commit
5e55f00fd1
2
cpu.h
2
cpu.h
@ -64,7 +64,7 @@ typedef enum
|
|||||||
IRQ_DMA2 = 0x0400,
|
IRQ_DMA2 = 0x0400,
|
||||||
IRQ_DMA3 = 0x0800,
|
IRQ_DMA3 = 0x0800,
|
||||||
IRQ_KEYPAD = 0x1000,
|
IRQ_KEYPAD = 0x1000,
|
||||||
IRQ_GAMEPAK = 0x2000,
|
IRQ_GAMEPAK = 0x2000
|
||||||
} irq_type;
|
} irq_type;
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
|
|||||||
4
input.h
4
input.h
@ -56,8 +56,8 @@ static const map btn_map[] = {
|
|||||||
{ RETRO_DEVICE_ID_JOYPAD_A, BUTTON_A }
|
{ RETRO_DEVICE_ID_JOYPAD_A, BUTTON_A }
|
||||||
};
|
};
|
||||||
|
|
||||||
void init_input();
|
void init_input(void);
|
||||||
u32 update_input();
|
u32 update_input(void);
|
||||||
void input_write_savestate(void);
|
void input_write_savestate(void);
|
||||||
void input_read_savestate(void);
|
void input_read_savestate(void);
|
||||||
|
|
||||||
|
|||||||
4
main.h
4
main.h
@ -84,13 +84,9 @@ void main_read_savestate(void);
|
|||||||
|
|
||||||
|
|
||||||
#ifdef PSP_BUILD
|
#ifdef PSP_BUILD
|
||||||
|
|
||||||
u32 file_length(char *filename, s32 dummy);
|
u32 file_length(char *filename, s32 dummy);
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
u32 file_length(const char *dummy, FILE *fp);
|
u32 file_length(const char *dummy, FILE *fp);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern u32 real_frame_count;
|
extern u32 real_frame_count;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user