From 45f01cc67e299d8ed7b567025ce8292a9d0a9e1f Mon Sep 17 00:00:00 2001 From: OBattler Date: Wed, 3 Aug 2016 16:46:18 +0200 Subject: [PATCH] Removed excess logging related to ATAPI and CD-ROM IOCTL. --- src/cdrom-ioctl.c | 6 +++--- src/ide.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/cdrom-ioctl.c b/src/cdrom-ioctl.c index a7642f5cb..3f3d1cc21 100644 --- a/src/cdrom-ioctl.c +++ b/src/cdrom-ioctl.c @@ -120,7 +120,7 @@ static int get_track_nr(uint32_t pos) static void ioctl_playaudio(uint32_t pos, uint32_t len, int ismsf) { if (!cdrom_drive) return; - pclog("Play audio - %08X %08X %i\n", pos, len, ismsf); + // pclog("Play audio - %08X %08X %i\n", pos, len, ismsf); if (ismsf) { int m = (pos >> 16) & 0xff; @@ -131,7 +131,7 @@ static void ioctl_playaudio(uint32_t pos, uint32_t len, int ismsf) s = (len >> 8) & 0xff; f = len & 0xff; len = MSFtoLBA(m, s, f); - pclog("MSF - pos = %08X len = %08X\n", pos, len); + // pclog("MSF - pos = %08X len = %08X\n", pos, len); } else len += pos; @@ -143,7 +143,7 @@ static void ioctl_playaudio(uint32_t pos, uint32_t len, int ismsf) ioctl_cd_pos = 150; } ioctl_cd_state = CD_PLAYING; - pclog("Audio start %08X %08X %i %i %i\n", ioctl_cd_pos, ioctl_cd_end, ioctl_cd_state, cd_buflen, len); + // pclog("Audio start %08X %08X %i %i %i\n", ioctl_cd_pos, ioctl_cd_end, ioctl_cd_state, cd_buflen, len); /* CDROM_PLAY_AUDIO_MSF msf; long size; BOOL b; diff --git a/src/ide.c b/src/ide.c index fcbd9360a..6f5fa20a1 100644 --- a/src/ide.c +++ b/src/ide.c @@ -1839,7 +1839,7 @@ void callbackide(int ide_board) } else if (ide->packetstatus == ATAPI_STATUS_REQ_SENSE) /*REQUEST SENSE callback #1*/ { - pclog("REQUEST SENSE callback #1: setting status to 0x5A\n"); + // pclog("REQUEST SENSE callback #1: setting status to 0x5A\n"); ide->atastat = 0x58 | (ide->atastat & ERR_STAT); ide_irq_raise(ide); } @@ -2148,7 +2148,7 @@ static void atapicommand(int ide_board) int ret; #ifndef RPCEMU_IDE - pclog("New ATAPI command %02X %i\n",idebufferb[0],ins); + // pclog("New ATAPI command %02X %i\n",idebufferb[0],ins); #endif // readflash=1; msf=idebufferb[1]&2;