mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2025-02-11 12:05:58 +00:00
Better error handling
This commit is contained in:
parent
49980314f8
commit
76b13e1ccf
@ -3142,10 +3142,10 @@ static uint16_t input_buf[MAX_PLAYERS] = {0};
|
||||
|
||||
bool retro_load_game(const struct retro_game_info *info)
|
||||
{
|
||||
char tocbasepath[4096];
|
||||
bool ret = false;
|
||||
|
||||
char tocbasepath[4096];
|
||||
if (failed_init)
|
||||
if (!info || failed_init)
|
||||
return false;
|
||||
|
||||
struct retro_input_descriptor desc[] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user