Code cleanup: moving poly/ into xenia/base/
This commit is contained in:
22
src/xenia/base/debugging_win.cc
Normal file
22
src/xenia/base/debugging_win.cc
Normal file
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* Xenia : Xbox 360 Emulator Research Project *
|
||||
******************************************************************************
|
||||
* Copyright 2014 Ben Vanik. All rights reserved. *
|
||||
* Released under the BSD license - see LICENSE in the root for more details. *
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#include "xenia/base/debugging.h"
|
||||
|
||||
#include <Windows.h>
|
||||
|
||||
namespace xe {
|
||||
namespace debugging {
|
||||
|
||||
bool IsDebuggerAttached() { return IsDebuggerPresent() ? true : false; }
|
||||
|
||||
void Break() { __debugbreak(); }
|
||||
|
||||
} // namespace debugging
|
||||
} // namespace xe
|
||||
Reference in New Issue
Block a user