mirror of
https://github.com/emu-russia/pureikyubu.git
synced 2025-04-02 10:42:15 -04:00
47 lines
669 B
C
47 lines
669 B
C
// Dolwin debugger interface
|
|
|
|
#pragma once
|
|
|
|
// Debug messages output channel
|
|
enum class DbgChannel
|
|
{
|
|
Void = 0,
|
|
|
|
Norm,
|
|
Info,
|
|
Error,
|
|
Header,
|
|
|
|
CP,
|
|
PE,
|
|
VI,
|
|
GP,
|
|
PI,
|
|
CPU,
|
|
MI,
|
|
DSP,
|
|
DI,
|
|
AR,
|
|
AI,
|
|
AIS,
|
|
SI,
|
|
EXI,
|
|
MC,
|
|
DVD,
|
|
AX,
|
|
|
|
Loader,
|
|
HLE,
|
|
};
|
|
|
|
// '\n' is supported (no auto-linefeed)
|
|
|
|
// always breaks emulation
|
|
extern void (*DBHalt)(const char *text, ...);
|
|
|
|
// do debugger output
|
|
extern void (*DBReport)(const char* text, ...);
|
|
extern void (*DBReport2)(DbgChannel chan, const char *text, ...);
|
|
|
|
void DBOpen(); // open debugger window in its own thread
|
|
void DBClose(); // close debugger completely
|