[Emulator] Removed legacy title re-launching code

This commit is contained in:
NicknineTheEagle
2024-06-16 10:16:10 +03:00
committed by Radosław Gliński
parent ec267c348a
commit c004d669c2
3 changed files with 1 additions and 24 deletions

View File

@@ -905,20 +905,6 @@ bool Emulator::RestoreFromFile(const std::filesystem::path& path) {
return true;
}
bool Emulator::TitleRequested() {
auto xam = kernel_state()->GetKernelModule<kernel::xam::XamModule>("xam.xex");
return xam->loader_data().launch_data_present;
}
void Emulator::LaunchNextTitle() {
auto xam = kernel_state()->GetKernelModule<kernel::xam::XamModule>("xam.xex");
auto next_title = xam->loader_data().launch_path;
// Swap disk doesn't require reloading
// This function should be purged?
CompleteLaunch("", next_title);
}
const std::filesystem::path Emulator::GetNewDiscPath(
std::string window_message) {
std::filesystem::path path = "";