Fixed Kill Emulator button not working on Linux when an RDP crash happens while using the Flatpak install of RetroArch (fixes #11)

This commit is contained in:
Matt Pharoah
2021-02-02 17:20:11 -05:00
parent 56be17683a
commit 625b180b7c

View File

@@ -458,7 +458,7 @@ AsyncProcess RetroArch::launchRom(
args.reserve( 7 );
#ifndef _WIN32
if( settings.usingFlatpak ) {
args.insert( args.end(), { "run"s, "org.libretro.RetroArch"s });
args.insert( args.end(), { "run"s, "-p"s, "org.libretro.RetroArch"s });
}
#endif
args.insert( args.end(), { "-L"s, corePath.string(), "--config"s, (BaseDir::data() / "retroarch.cfg").string(), romPath.string() } );