added logging.h
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@986
This commit is contained in:
parent
5bc559f1c4
commit
a336b5d7cc
4 changed files with 80 additions and 18 deletions
|
@ -63,25 +63,12 @@ class Config;
|
|||
extern Config * control;
|
||||
extern Bitu errorlevel;
|
||||
|
||||
|
||||
#ifndef __LOGGING_H_
|
||||
#include "logging.h"
|
||||
#endif // the logging system.
|
||||
|
||||
#define LOG_MSG S_Warn
|
||||
|
||||
enum LOG_TYPES {
|
||||
LOG_ALL,
|
||||
LOG_VGA, LOG_VGAGFX,LOG_VGAMISC,LOG_INT10,
|
||||
LOG_SB,LOG_DMA,
|
||||
LOG_FPU,LOG_CPU,
|
||||
LOG_FCB,LOG_FILES,LOG_IOCTL,LOG_EXEC,LOG_DOSMISC,
|
||||
LOG_PIT,LOG_KEYBOARD,LOG_PIC,
|
||||
LOG_MOUSE,LOG_BIOS,LOG_GUI,LOG_MISC,
|
||||
LOG_MAX,LOG_ERROR=0x80
|
||||
};
|
||||
|
||||
#if C_DEBUG
|
||||
extern void DEBUG_ShowMsg(Bit32u msgmask, char * msg,...);
|
||||
#define LOG DEBUG_ShowMsg
|
||||
#else
|
||||
#define LOG
|
||||
#endif /* C_DEBUG */
|
||||
|
||||
#endif /* __DOSBOX_H */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue