summaryrefslogtreecommitdiff
path: root/lib/nes/app/ui/screen-title.cc
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-02-02 22:49:01 +0100
committerHannes Schulze <haschu0103@outlook.de>2025-02-02 22:49:01 +0100
commit0f22ed2ef160eef2da6080782943b22c9539650d (patch)
tree1b43aada2d0183273e79b4d1db7b1e60dd809855 /lib/nes/app/ui/screen-title.cc
parent4fe67b36e3bbe6ea5505ed7233c245be9374f0ce (diff)
wip: hacky file browser
Diffstat (limited to 'lib/nes/app/ui/screen-title.cc')
-rw-r--r--lib/nes/app/ui/screen-title.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/nes/app/ui/screen-title.cc b/lib/nes/app/ui/screen-title.cc
index 32a6ea6..15cd601 100644
--- a/lib/nes/app/ui/screen-title.cc
+++ b/lib/nes/app/ui/screen-title.cc
@@ -61,13 +61,13 @@ namespace nes::app
{
switch (*selection_.get_selected())
{
- case item::load_game: return action::go_to_browser;
- case item::settings: return action::go_to_settings;
- case item::help: return action::go_to_help;
+ case item::load_game: return action::go_to_browser();
+ case item::settings: return action::go_to_settings();
+ case item::help: return action::go_to_help();
}
}
}
- return action::none;
+ return action{};
}
} // namespace nes::app \ No newline at end of file