mirror of
https://github.com/libretro/RACE.git
synced 2024-11-30 12:30:46 +00:00
Update libretro.cpp
This commit is contained in:
parent
4f458d5980
commit
f63c39ecbf
@ -55,7 +55,7 @@ unsigned short drawBuffer[NGPC_SIZEX*NGPC_SIZEY];
|
||||
|
||||
#else
|
||||
|
||||
unsigned short *drawBuffer;
|
||||
static unsigned short *drawBuffer;
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -413,6 +413,13 @@ bool retro_load_game_special(unsigned, const struct retro_game_info*, size_t)
|
||||
void retro_unload_game(void)
|
||||
{
|
||||
initialized = false;
|
||||
|
||||
if (screen)
|
||||
{
|
||||
if (screen->pixels)
|
||||
free(screen->pixels);
|
||||
free(screen);
|
||||
}
|
||||
}
|
||||
|
||||
void retro_cheat_reset(void)
|
||||
|
Loading…
Reference in New Issue
Block a user