Files
Xenia-Canary/src/poly/debugging_win.cc
Ben Vanik 0129a96225 Cross-platformizing MMIO stuff.
MSVC build likely needs some fixes.
2014-07-29 22:12:39 -07:00

25 lines
717 B
C++

/**
******************************************************************************
* 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 <poly/debugging.h>
namespace poly {
namespace debugging {
bool IsDebuggerAttached() {
return IsDebuggerPresent() ? true : false;
}
void Break() {
__debugbreak();
}
} // namespace debugging
} // namespace poly