From 2c08ea11b118c172f6086e43af5bebdc6fc733e6 Mon Sep 17 00:00:00 2001 From: stephena Date: Thu, 28 Feb 2013 14:39:00 +0000 Subject: [PATCH] Fixed typo in TIA class. Good catch, Thomas. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2640 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- src/emucore/TIA.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emucore/TIA.cxx b/src/emucore/TIA.cxx index 696aeaf6f..b743efa04 100644 --- a/src/emucore/TIA.cxx +++ b/src/emucore/TIA.cxx @@ -2078,7 +2078,7 @@ bool TIA::poke(uInt16 addr, uInt8 value) // active graphics latch? if(hpos + HBLANK < 17 * 4) { - Int16 cycle_fix = 17 - ((hpos + VBLANK + 7) / 4); + Int16 cycle_fix = 17 - ((hpos + HBLANK + 7) / 4); if(myHMP0mmr) myPOSP0 = (myPOSP0 + cycle_fix) % 160; if(myHMP1mmr) myPOSP1 = (myPOSP1 + cycle_fix) % 160; if(myHMM0mmr) myPOSM0 = (myPOSM0 + cycle_fix) % 160;