added support for debugger under non-windows systems!
no colors yet/ and afterwards your term is messed up :) Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@485
This commit is contained in:
parent
9a3ccda025
commit
ca4c7db065
4 changed files with 15 additions and 2 deletions
|
@ -34,7 +34,7 @@
|
|||
#include "mixer.h"
|
||||
#include "debug_inc.h"
|
||||
#include "timer.h"
|
||||
#include "..\shell\shell_inc.h"
|
||||
#include "../shell/shell_inc.h"
|
||||
|
||||
#ifdef WIN32
|
||||
void WIN32_Console();
|
||||
|
@ -1048,6 +1048,9 @@ void DEBUG_SetupConsole(void)
|
|||
{
|
||||
#ifdef WIN32
|
||||
WIN32_Console();
|
||||
#else
|
||||
printf("\e[8;50;80t"); //resize terminal
|
||||
fflush(NULL);
|
||||
#endif
|
||||
memset((void *)&dbg,0,sizeof(dbg));
|
||||
debugging=false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue