Display a dialog if the emulator failed to launch a title specified on the command line.
This commit is contained in:
parent
26f3100c23
commit
c64916be94
|
@ -210,7 +210,7 @@ int xenia_main(const std::vector<std::wstring>& args) {
|
|||
std::wstring abs_path = xe::to_absolute_path(path);
|
||||
result = emulator->LaunchPath(abs_path);
|
||||
if (XFAILED(result)) {
|
||||
XELOGE("Failed to launch target: %.8X", result);
|
||||
xe::FatalError("Failed to launch target: %.8X", result);
|
||||
emulator.reset();
|
||||
emulator_window.reset();
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue