This commit is contained in:
twinaphex 2021-06-06 01:57:41 +02:00
parent 84bb7c4e9d
commit 8331b3c425
2 changed files with 3 additions and 5 deletions

View File

@ -28,8 +28,7 @@
void *FCEU_gmalloc(uint32 size)
{
void *ret;
ret = malloc(size);
void *ret = malloc(size);
if (!ret)
{
FCEU_PrintError("Error allocating memory! Doing a hard exit.");
@ -41,8 +40,7 @@ void *FCEU_gmalloc(uint32 size)
void *FCEU_malloc(uint32 size)
{
void *ret;
ret = (void*)malloc(size);
void *ret = (void*)malloc(size);
if (!ret)
{

View File

@ -6,7 +6,7 @@ void FCEUPPU_Reset(void);
void FCEUPPU_Power(void);
int FCEUPPU_Loop(int skip);
void FCEUPPU_LineUpdate();
void FCEUPPU_LineUpdate(void);
void FCEUPPU_SetVideoSystem(int w);
extern void (*GameHBIRQHook)(void), (*GameHBIRQHook2)(void);