mirror of
https://github.com/libretro/libretro-fceumm.git
synced 2025-04-01 10:41:50 +00:00
Cleanups
This commit is contained in:
parent
84bb7c4e9d
commit
8331b3c425
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user