We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3505339 commit 0400d20Copy full SHA for 0400d20
flash.lua
@@ -38,7 +38,7 @@ PIOCart.PAL.FlashMemory = {
38
function PIOCart.PAL.FlashMemory.twcTimerCB()
39
local current_cycles = PCSX.getCPUCycles()
40
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')
+ --print('10ms timer expired, missed by ' .. string.format("%x",(current_cycles - PIOCart.PAL.FlashMemory.m_twcEndCycle) / (PCSX.CONSTS.CPU.CLOCKSPEED / 1000)) .. 'ms')
42
PIOCart.PAL.FlashMemory.m_pageWriteEnabled = false
43
PIOCart.PAL.FlashMemory.m_targetWritePage = -1
44
PCSX.nextTick(
0 commit comments