aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 2884850..67f278d 100644
--- a/main.c
+++ b/main.c
@@ -393,7 +393,7 @@ void handle_emu_action(emu_action action)
sram_write();
in_menu = true;
#if defined(MMENU)
- if (mmenu && content && content->path) {
+ if (mmenu && content && strlen(content->path)) {
ShowMenu_t ShowMenu = (ShowMenu_t)dlsym(mmenu, "ShowMenu");
SDL_Surface *screen = SDL_GetVideoSurface();
MenuReturnStatus status = ShowMenu(content->path, state_allowed() ? save_template_path : NULL, screen, kMenuEventKeyDown);