Skip to content

Commit 0400d20

Browse files
committed
Fix commented debug print for future me
1 parent 3505339 commit 0400d20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flash.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PIOCart.PAL.FlashMemory = {
3838
function PIOCart.PAL.FlashMemory.twcTimerCB()
3939
local current_cycles = PCSX.getCPUCycles()
4040
if(current_cycles >= PIOCart.PAL.FlashMemory.m_twcEndCycle) then
41-
--print('10ms timer expired, missed by ' .. (current_cycles - m_endTimer) / (PCSX.CONSTS.CPU.ClockSpeed / 1000) .. 'ms')
41+
--print('10ms timer expired, missed by ' .. string.format("%x",(current_cycles - PIOCart.PAL.FlashMemory.m_twcEndCycle) / (PCSX.CONSTS.CPU.CLOCKSPEED / 1000)) .. 'ms')
4242
PIOCart.PAL.FlashMemory.m_pageWriteEnabled = false
4343
PIOCart.PAL.FlashMemory.m_targetWritePage = -1
4444
PCSX.nextTick(

0 commit comments

Comments
 (0)