From 5e8146e7d32b0f6b8dd815e6e7018abf6f339aaa Mon Sep 17 00:00:00 2001 From: rainmakerv2 <30595646+rainmakerv3@users.noreply.github.com> Date: Sun, 5 Apr 2026 06:53:23 +0800 Subject: [PATCH] support eboot from mods folder --- src/emulator.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/emulator.cpp b/src/emulator.cpp index 34f5b4163..3815c8f3d 100644 --- a/src/emulator.cpp +++ b/src/emulator.cpp @@ -109,7 +109,8 @@ void Emulator::Run(std::filesystem::path file, std::vector args, } else { game_folder = file.parent_path(); if (const auto game_folder_name = game_folder.filename().string(); - game_folder_name.ends_with("-UPDATE") || game_folder_name.ends_with("-patch")) { + game_folder_name.ends_with("-UPDATE") || game_folder_name.ends_with("-patch") || + game_folder_name.ends_with("-mods")) { // If an executable was launched from a separate update directory, // use the base game directory as the game folder. const std::string base_name = game_folder_name.substr(0, game_folder_name.rfind('-'));