mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +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
1 changed files with 9 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue