summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2018-07-20 20:09:32 -0400
committer arbee <rb6502@users.noreply.github.com>2018-07-20 20:09:32 -0400
commitb167c4d2035b4ad9961866dd97df39bfee5b7a93 (patch)
tree86b4533b03e61ad235f114e665827053d00a76b4
parenta9af14b26f733d4e0d23bff00c5b4a22ba84d5c2 (diff)
Cycle counting is hard. So is scanline counting. (nw)
-rw-r--r--src/mame/drivers/apple2.cpp2
-rw-r--r--src/mame/drivers/apple2e.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/apple2.cpp b/src/mame/drivers/apple2.cpp
index 32246e7302a..80df5c3356b 100644
--- a/src/mame/drivers/apple2.cpp
+++ b/src/mame/drivers/apple2.cpp
@@ -874,7 +874,7 @@ uint8_t napple2_state::read_floatingbus()
// calculate vertical scanning state
//
- v_line = (i / kHClocks) + 184; // which vertical scanning line
+ v_line = (i / kHClocks) + 188; // which vertical scanning line
v_state = kVLine0State + v_line; // V state bits
if ((v_line >= kVPresetLine)) // check for previous vertical state preset
{
diff --git a/src/mame/drivers/apple2e.cpp b/src/mame/drivers/apple2e.cpp
index 0e6e0b0d531..d485237893b 100644
--- a/src/mame/drivers/apple2e.cpp
+++ b/src/mame/drivers/apple2e.cpp
@@ -2576,7 +2576,7 @@ uint8_t apple2e_state::read_floatingbus()
// calculate vertical scanning state
//
- v_line = (i / kHClocks) + 184; // which vertical scanning line (MAME starts at blank, not the beginning of the scanning area)
+ v_line = (i / kHClocks) + 188; // which vertical scanning line (MAME starts at blank, not the beginning of the scanning area)
v_state = kVLine0State + v_line; // V state bits
if ((v_line >= kVPresetLine)) // check for previous vertical state preset
{