mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-25 20:16:54 +01:00
Check for NULL and handle that
This commit is contained in:
parent
afef092a1f
commit
e8fa4f96e0
@ -948,6 +948,8 @@ const char *menu_select_file_start(const char *dir_path, const char **d64_name)
|
|||||||
|
|
||||||
const char *menu_select_file(const char *dir_path)
|
const char *menu_select_file(const char *dir_path)
|
||||||
{
|
{
|
||||||
|
if (dir_path == NULL)
|
||||||
|
dir_path = "";
|
||||||
return menu_select_file_internal(dir_path,
|
return menu_select_file_internal(dir_path,
|
||||||
32, 32, FULL_DISPLAY_X, FULL_DISPLAY_Y - 32);
|
32, 32, FULL_DISPLAY_X, FULL_DISPLAY_Y - 32);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user