move nes into the sources/NES directory
This commit is contained in:
30
src/debug.h
Normal file
30
src/debug.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/*----------------------------------------------------------------------------
|
||||
* debug.h:
|
||||
* Debug Function
|
||||
*----------------------------------------------------------------------------
|
||||
* nes: Nintendo Entertainment System Emulator.
|
||||
*
|
||||
* Created by Jean-Baptiste Nadal on 12/02/08.
|
||||
* Copyright 2008. All rights reserved.
|
||||
*----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ifndef __DEBUG_H
|
||||
#define __DEBUG_H
|
||||
|
||||
extern void DebugPrint (const char *format,...);
|
||||
|
||||
#ifdef DEBUG
|
||||
# define DEBUG_REGS(a) printRegs(a)
|
||||
# define DEBUG0(a) do { DebugPrint a; }while(0)
|
||||
# define DEBUG1(a)
|
||||
# define DEBUG2(a)
|
||||
#else
|
||||
# define DEBUG_REGS
|
||||
# define DEBUG0(a)
|
||||
# define DEBUG1(a)
|
||||
# define DEBUG2(a)
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user