Making shutdown clean.

This commit is contained in:
Ben Vanik
2015-07-25 12:56:37 -07:00
parent 89adaf8e85
commit abf50b477e
4 changed files with 12 additions and 12 deletions

View File

@@ -83,6 +83,8 @@ int xenia_main(std::vector<std::wstring>& args) {
result = emulator->LaunchPath(abs_path);
if (XFAILED(result)) {
XELOGE("Failed to launch target: %.8X", result);
emulator.reset();
emulator_window.reset();
return 1;
}