- remove some debug option in parse_raw_bytes

This commit is contained in:
Bryce Denney 2001-06-21 19:31:19 +00:00
parent ad3f4aaa8d
commit 0742e55fb1

View File

@ -1,6 +1,6 @@
/*
* gui/control.cc
* $Id: control.cc,v 1.27 2001-06-21 19:27:05 bdenney Exp $
* $Id: control.cc,v 1.28 2001-06-21 19:31:19 bdenney Exp $
*
* This is code for a text-mode control panel. Note that this file
* does NOT include bochs.h. Instead, it does all of its contact with
@ -796,7 +796,7 @@ bx_param_enum_c::text_ask (FILE *fpin, FILE *fpout)
int parse_raw_bytes (char *dest, char *src, int destsize, char separator)
{
printf ("parsing src='%s'\n", src);
//printf ("parsing src='%s'\n", src);
int i;
unsigned int n;
for (i=0; i<destsize; i++)
@ -807,7 +807,7 @@ int parse_raw_bytes (char *dest, char *src, int destsize, char separator)
if (*src == 0) break;
// try to read a byte of hex
if (sscanf (src, "%02x", &n) == 1) {
printf ("found a byte %02x\n", n);
//printf ("found a byte %02x\n", n);
dest[i] = n;
src+=2;
} else {