Pause the emulator if the guest crashes and the VS debugger isn't attached.

This commit is contained in:
Dr. Chat
2015-09-11 17:09:25 -05:00
parent 8e716a3a7e
commit cad23cea81
2 changed files with 71 additions and 0 deletions

View File

@@ -12,6 +12,7 @@
#include <string>
#include "xenia/base/exception_handler.h"
#include "xenia/debug/debugger.h"
#include "xenia/kernel/kernel_state.h"
#include "xenia/memory.h"
@@ -75,6 +76,8 @@ class Emulator {
X_STATUS LaunchStfsContainer(std::wstring path);
private:
bool ExceptionCallback(ExceptionHandler::Info* info);
X_STATUS CompleteLaunch(const std::wstring& path,
const std::string& module_path);