seperate debugger console setup
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@420
This commit is contained in:
parent
14577b3324
commit
b4dd2c93ca
3 changed files with 13 additions and 2 deletions
|
@ -946,16 +946,21 @@ static void DEBUG_ProgramStart(Program * * make) {
|
|||
|
||||
// INIT
|
||||
|
||||
void DEBUG_Init(Section* sec) {
|
||||
void DEBUG_SetupConsole(void)
|
||||
{
|
||||
#ifdef WIN32
|
||||
WIN32_Console();
|
||||
#endif
|
||||
#endif
|
||||
memset((void *)&dbg,0,sizeof(dbg));
|
||||
debugging=false;
|
||||
dbg.active_win=3;
|
||||
input_count=0;
|
||||
/* Start the Debug Gui */
|
||||
DBGUI_StartUp();
|
||||
};
|
||||
|
||||
void DEBUG_Init(Section* sec) {
|
||||
|
||||
DEBUG_DrawScreen();
|
||||
/* Add some keyhandlers */
|
||||
KEYBOARD_AddEvent(KBD_kpminus,0,DEBUG_Enable);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue