mirror of
https://github.com/libretro/beetle-pce-fast-libretro.git
synced 2024-11-23 16:00:08 +00:00
(Mednafen PSX) Comment out some logs
This commit is contained in:
parent
db4ba38be1
commit
ebbf2bf603
@ -175,10 +175,17 @@ static INLINE bool ChCan(void)
|
||||
return(GPU->DMACanWrite());
|
||||
else
|
||||
return(true); // GPU
|
||||
/*
|
||||
case 3: return(true); // CDC
|
||||
case 4: return(true); // SPU
|
||||
case 5: return(true); // ??
|
||||
case 6: return(true); // OT
|
||||
*/
|
||||
case 3:
|
||||
case 4:
|
||||
case 5:
|
||||
case 6:
|
||||
return true;
|
||||
}
|
||||
abort();
|
||||
}
|
||||
@ -303,8 +310,10 @@ static INLINE void RunChannelT(pscpu_timestamp_t timestamp, int32 clocks)
|
||||
DMACH[ch].WordCounter = header >> 24;
|
||||
DMACH[ch].NextAddr = header & 0xFFFFFF;
|
||||
|
||||
/*
|
||||
if(DMACH[ch].WordCounter > 0x10)
|
||||
printf("What the lala? 0x%02x @ 0x%08x\n", DMACH[ch].WordCounter, DMACH[ch].CurAddr - 4);
|
||||
*/
|
||||
|
||||
if(DMACH[ch].WordCounter)
|
||||
DMACH[ch].ClockCounter -= 15;
|
||||
|
@ -318,7 +318,7 @@ INLINE void FrontIO::DoDSRIRQ(void)
|
||||
{
|
||||
if(Control & 0x1000)
|
||||
{
|
||||
PSX_FIODBGINFO("[DSR] IRQ");
|
||||
//PSX_FIODBGINFO("[DSR] IRQ");
|
||||
istatus = true;
|
||||
IRQ_Assert(IRQ_SIO, true);
|
||||
}
|
||||
@ -329,7 +329,7 @@ void FrontIO::Write(pscpu_timestamp_t timestamp, uint32 A, uint32 V)
|
||||
{
|
||||
assert(!(A & 0x1));
|
||||
|
||||
PSX_FIODBGINFO("[FIO] Write: %08x %08x", A, V);
|
||||
//PSX_FIODBGINFO("[FIO] Write: %08x %08x", A, V);
|
||||
|
||||
Update(timestamp);
|
||||
|
||||
@ -346,8 +346,10 @@ void FrontIO::Write(pscpu_timestamp_t timestamp, uint32 A, uint32 V)
|
||||
break;
|
||||
|
||||
case 0xa:
|
||||
#if 0
|
||||
if(ClockDivider > 0 && ((V & 0x2000) != (Control & 0x2000)) && ((Control & 0x2) == (V & 0x2)) )
|
||||
fprintf(stderr, "FIO device selection changed during comm %04x->%04x", Control, V);
|
||||
#endif
|
||||
|
||||
//printf("Control: %d, %04x\n", timestamp, V);
|
||||
Control = V & 0x3F2F;
|
||||
@ -472,8 +474,10 @@ uint32 FrontIO::Read(pscpu_timestamp_t timestamp, uint32 A)
|
||||
break;
|
||||
}
|
||||
|
||||
#if 0
|
||||
if((A & 0xF) != 0x4)
|
||||
PSX_FIODBGINFO("[FIO] Read: %08x %08x", A, ret);
|
||||
#endif
|
||||
|
||||
return(ret);
|
||||
}
|
||||
@ -523,7 +527,7 @@ pscpu_timestamp_t FrontIO::Update(pscpu_timestamp_t timestamp)
|
||||
if(!TransmitBitCounter)
|
||||
{
|
||||
need_start_stop_check = true;
|
||||
PSX_FIODBGINFO("[FIO] Data transmitted: %08x", TransmitBuffer);
|
||||
//PSX_FIODBGINFO("[FIO] Data transmitted: %08x", TransmitBuffer);
|
||||
TransmitInProgress = false;
|
||||
|
||||
if(Control & 0x400)
|
||||
@ -547,7 +551,7 @@ pscpu_timestamp_t FrontIO::Update(pscpu_timestamp_t timestamp)
|
||||
if(!ReceiveBitCounter)
|
||||
{
|
||||
need_start_stop_check = true;
|
||||
PSX_FIODBGINFO("[FIO] Data received: %08x", ReceiveBuffer);
|
||||
//PSX_FIODBGINFO("[FIO] Data received: %08x", ReceiveBuffer);
|
||||
|
||||
ReceiveInProgress = false;
|
||||
ReceiveBufferAvail = true;
|
||||
|
@ -187,7 +187,7 @@ static void ClockTimer(int i, uint32 clocks)
|
||||
|
||||
if((before < target && Timers[i].Counter >= target) || zero_tm || Timers[i].Counter > 0xFFFF)
|
||||
{
|
||||
#if 1
|
||||
#if 0
|
||||
if(Timers[i].Mode & 0x10)
|
||||
{
|
||||
if((Timers[i].Counter - target) > 3)
|
||||
@ -400,7 +400,7 @@ uint16 TIMER_Read(const pscpu_timestamp_t timestamp, uint32 A)
|
||||
|
||||
if(which >= 3)
|
||||
{
|
||||
PSX_WARNING("[TIMER] Open Bus Read: 0x%08x", A);
|
||||
//PSX_WARNING("[TIMER] Open Bus Read: 0x%08x", A);
|
||||
|
||||
return(ret >> ((A & 3) * 8));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user