Display a dialog if the emulator failed to launch a title specified on the command line.

This commit is contained in:
DrChat 2017-12-28 16:19:32 -06:00
parent 26f3100c23
commit c64916be94
1 changed files with 1 additions and 1 deletions

View File

@ -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;