mirror of
https://github.com/JesseTG/melonds-ds.git
synced 2025-02-26 00:45:47 +00:00
Check info->path for nullptr
This commit is contained in:
parent
b52a2f2359
commit
6165b2d389
@ -87,7 +87,7 @@ PUBLIC_SYMBOL bool retro_load_game(const struct retro_game_info *info) {
|
||||
ZoneScopedN(TracyFunction);
|
||||
if (info) {
|
||||
ZoneText(info->path, strlen(info->path));
|
||||
retro::debug("retro_load_game(\"{}\", {})", info->path, info->size);
|
||||
retro::debug("retro_load_game(\"{}\", {})", info->path ? info->path : "", info->size);
|
||||
}
|
||||
else {
|
||||
retro::debug("retro_load_game(<no content>)");
|
||||
|
Loading…
x
Reference in New Issue
Block a user