Add prints to `GPGX.FrameAdvance`

This commit is contained in:
YoshiRulz 2024-10-05 20:57:28 +10:00
parent 5f23ee44b6
commit 9371fbfa62
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,8 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
if (_cds != null)
{
Console.WriteLine("======= GPGX.FrameAdvance");
Console.WriteLine($"was: |{_discIndex}|{(_prevDiskPressed ? 'P' : '.')}{(_nextDiskPressed ? 'N' : '.')}|");
var prev = controller.IsPressed("Previous Disk");
var next = controller.IsPressed("Next Disk");
var newDisk = _discIndex;
@ -53,6 +55,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
_discIndex = newDisk;
Core.gpgx_swap_disc(_discIndex == -1 ? null : GetCDDataStruct(_cds[_discIndex]));
}
Console.WriteLine($"now: |{_discIndex}|{(_prevDiskPressed ? 'P' : '.')}{(_nextDiskPressed ? 'N' : '.')}|");
}
// this shouldn't be needed, as nothing has changed