Removed excess logging related to ATAPI and CD-ROM IOCTL.

This commit is contained in:
OBattler
2016-08-03 16:46:18 +02:00
parent 9b30305bd1
commit 45f01cc67e
2 changed files with 5 additions and 5 deletions

View File

@@ -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;

View File

@@ -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;