mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-09 18:45:40 +00:00
Turned on logging with debugging in windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1453 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
9b801927fa
commit
5ede71fb84
@ -34,6 +34,14 @@
|
|||||||
#define CHECK_HEAP_INTEGRITY() {if (!_CrtCheckMemory()) PanicAlert("memory corruption detected. see log.");}
|
#define CHECK_HEAP_INTEGRITY() {if (!_CrtCheckMemory()) PanicAlert("memory corruption detected. see log.");}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
/* Turn on logging with debugging, _DEBUG and DEBUGFAST are still added through
|
||||||
|
preprocessor definitions only */
|
||||||
|
#if defined(_DEBUG) || defined(DEBUGFAST)
|
||||||
|
#define LOGGING
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../../../PluginSpecs/CommonTypes.h"
|
#include "../../../PluginSpecs/CommonTypes.h"
|
||||||
#define HAVE_WIIUSE 1
|
#define HAVE_WIIUSE 1
|
||||||
#define HAVE_WX 1
|
#define HAVE_WX 1
|
||||||
@ -240,7 +248,7 @@ void RegisterPanicAlertHandler(PanicAlertHandler handler);
|
|||||||
|
|
||||||
void Host_UpdateLogDisplay();
|
void Host_UpdateLogDisplay();
|
||||||
|
|
||||||
// Logging macros
|
// Logging macros. LOGGING is turned on from earlier in this file
|
||||||
#ifdef LOGGING
|
#ifdef LOGGING
|
||||||
|
|
||||||
#define LOG(t, ...) __Log(LogTypes::t, __VA_ARGS__);
|
#define LOG(t, ...) __Log(LogTypes::t, __VA_ARGS__);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user