Skip to content

Commit

Permalink
Fix commented debug print for future me
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbaumann committed Nov 22, 2024
1 parent 3505339 commit 0400d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flash.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PIOCart.PAL.FlashMemory = {
function PIOCart.PAL.FlashMemory.twcTimerCB()
local current_cycles = PCSX.getCPUCycles()
if(current_cycles >= PIOCart.PAL.FlashMemory.m_twcEndCycle) then
--print('10ms timer expired, missed by ' .. (current_cycles - m_endTimer) / (PCSX.CONSTS.CPU.ClockSpeed / 1000) .. 'ms')
--print('10ms timer expired, missed by ' .. string.format("%x",(current_cycles - PIOCart.PAL.FlashMemory.m_twcEndCycle) / (PCSX.CONSTS.CPU.CLOCKSPEED / 1000)) .. 'ms')
PIOCart.PAL.FlashMemory.m_pageWriteEnabled = false
PIOCart.PAL.FlashMemory.m_targetWritePage = -1
PCSX.nextTick(
Expand Down

0 comments on commit 0400d20

Please sign in to comment.