mirror of https://github.com/bsnes-emu/bsnes.git
14 lines
222 B
C++
14 lines
222 B
C++
|
#pragma once
|
||
|
|
||
|
namespace Emulator {
|
||
|
|
||
|
#if defined(DEBUGGER)
|
||
|
#define debug(id, ...) if(debugger.id) debugger.id(__VA_ARGS__)
|
||
|
#define privileged public
|
||
|
#else
|
||
|
#define debug(id, ...)
|
||
|
#define privileged private
|
||
|
#endif
|
||
|
|
||
|
}
|