[Emulator] Improvements to EmulatorWindow::RunTitle

- Use reference instead of copy for provided path
 - Extended error logging for special cases
This commit is contained in:
Gliniak
2024-09-19 22:08:42 +02:00
parent 5abf67f540
commit 2709a5d3e8
2 changed files with 20 additions and 8 deletions

View File

@@ -82,7 +82,7 @@ class EmulatorWindow {
void OnEmulatorInitialized();
xe::X_STATUS RunTitle(std::filesystem::path path_to_file);
xe::X_STATUS RunTitle(const std::filesystem::path& path_to_file);
void UpdateTitle();
void SetFullscreen(bool fullscreen);
void ToggleFullscreen();