Review's changes, more fixes and better structure

This commit is contained in:
Bashar Astifan 2023-05-02 00:09:22 +04:00
parent 05776ee6af
commit 9b0577351f
26 changed files with 309 additions and 252 deletions

View file

@ -188,16 +188,7 @@ UI::EventReturn CwCheatScreen::OnEditCheatFile(UI::EventParams &params) {
MIPSComp::jit->ClearCache();
}
if (engine_) {
#if PPSSPP_PLATFORM(UWP)
#if !defined(__LIBRETRO__)
// UWP storage manager will attempt to launch the file
File::OpenFileInEditor(engine_->CheatFilename());
#else
System_LaunchUrl(LaunchUrlType::BROWSER_URL, engine_->CheatFilename().c_str());
#endif
#else
File::OpenFileInEditor(engine_->CheatFilename());
#endif
}
return UI::EVENT_DONE;
}