Fixes almost all the logging options which were previously broken

This commit is contained in:
Jasmine Iwanek
2022-10-27 11:20:31 -04:00
parent bff5026b8b
commit fab1632cee
63 changed files with 183 additions and 129 deletions

View File

@@ -1224,7 +1224,7 @@ fdc_read(uint16_t addr, void *priv)
{
fdc_t *fdc = (fdc_t *) priv;
uint8_t ret;
int drive;
int drive = 0;
cycles -= ISA_CYCLES(8);

View File

@@ -283,11 +283,9 @@ const int gap3_sizes[5][8][48] = { { { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } };
#ifdef ENABLE_IMG_LOG
int img_do_log = ENABLE_IMG_LOG;
static void
img_log(const char *fmt, ...)
{

View File

@@ -204,11 +204,9 @@ static const uint8_t d_len[256] = {
static td0_t *td0[FDD_NUM];
#ifdef ENABLE_TD0_LOG
int td0_do_log = ENABLE_TD0_LOG;
static void
td0_log(const char *fmt, ...)
{