mirror of
https://github.com/libretro/gambatte-libretro.git
synced 2024-11-23 07:49:48 +00:00
return false if info is NULL inside retro_load_game
This commit is contained in:
parent
d9d1d79b63
commit
2106af8e25
@ -540,6 +540,9 @@ static unsigned pow2ceil(unsigned n) {
|
||||
|
||||
bool retro_load_game(const struct retro_game_info *info)
|
||||
{
|
||||
if (!info)
|
||||
return false;
|
||||
|
||||
bool can_dupe = false;
|
||||
environ_cb(RETRO_ENVIRONMENT_GET_CAN_DUPE, &can_dupe);
|
||||
if (!can_dupe)
|
||||
|
Loading…
Reference in New Issue
Block a user