mirror of
https://github.com/decaf-emu/decaf-emu.git
synced 2026-10-10 23:58:14 +00:00
19 lines
263 B
C++
19 lines
263 B
C++
#pragma once
|
|
#include "platform.h"
|
|
#include "log.h"
|
|
|
|
#ifdef PLATFORM_WINDOWS
|
|
#include <Windows.h>
|
|
#endif
|
|
|
|
inline void
|
|
debugPrint(std::string out)
|
|
{
|
|
gLog->debug(out);
|
|
|
|
#ifdef PLATFORM_WINDOWS
|
|
out.push_back('\n');
|
|
OutputDebugStringA(out.c_str());
|
|
#endif
|
|
}
|