[App] Minor Fixes

Added F9
[Controller Hotkeys] Call RunTitle from the UI thread
This commit is contained in:
Adrian
2023-02-03 19:54:42 +00:00
committed by Radosław Gliński
parent 036f19c66e
commit 3d3810fa98
3 changed files with 32 additions and 45 deletions

View File

@@ -56,7 +56,7 @@ class EmulatorWindow {
std::unique_ptr<xe::threading::Thread> Gamepad_HotKeys_Listener;
int selected_title_index = -1;
int32_t selected_title_index = -1;
Emulator* emulator() const { return emulator_; }
ui::WindowedAppContext& app_context() const { return app_context_; }
@@ -210,9 +210,8 @@ class EmulatorWindow {
std::string BoolToString(bool value);
void DisplayHotKeysConfig();
xe::X_STATUS RunTitle(std::filesystem::path path);
xe::X_STATUS RunTitle(std::filesystem::path path_to_file);
void RunPreviouslyPlayedTitle();
void RunRecentlyPlayedTitle(std::filesystem::path path_to_file);
void FillRecentlyLaunchedTitlesMenu(xe::ui::MenuItem* recent_menu);
void LoadRecentlyLaunchedTitles();
void AddRecentlyLaunchedTitle(std::filesystem::path path_to_file,