[XAM] Simplified loader_data structure.

- Removed launch_data_present replaced with empty check

Fixed regression introduced in 269ee61845
This commit is contained in:
Gliniak
2026-06-23 20:58:28 +02:00
parent 9c8e34b29e
commit 2771366b8b
4 changed files with 3 additions and 8 deletions

View File

@@ -762,7 +762,7 @@ void EmulatorApp::EmulatorThread() {
if (xam) {
xam->LoadLoaderData();
if (xam->loader_data().launch_data_present) {
if (!xam->loader_data().host_path.empty()) {
const std::filesystem::path host_path = xam->loader_data().host_path;
app_context().CallInUIThread([this, host_path]() {
return emulator_window_->RunTitle(host_path);