NESEmulator/NES Emulator/log.h

14 lines
192 B
C
Raw Permalink Normal View History

2021-10-22 15:49:20 +00:00
#ifndef _LOG_H_
#define _LOG_H_
struct Bus;
void logBusState(struct Bus* bus);
#ifndef NDEBUG
#define LOG_BUS(b) logBusState(b)
#else
#define LOG_BUS(b)
#endif // NDEBUG
#endif // _LOG_H_