summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2020-10-03 20:15:06 -0400
committer arbee <rb6502@users.noreply.github.com>2020-10-03 20:15:06 -0400
commitf53eb6022eac11db43c36462e3dc84714800cde9 (patch)
tree3c69b7db92aacfd3ab50b059f6164a0d7e21bfab /src/mame
parent9f5a9d11d46055ce7145a50129ee2c0cb713c2d1 (diff)
apple2: correct value for floating bus offset, fixes a bunch of Deater rastersplit demos [R. Belmont]
Diffstat (limited to 'src/mame')
-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 60ca2c2ae10..f1c83a68b9a 100644
--- a/src/mame/drivers/apple2.cpp
+++ b/src/mame/drivers/apple2.cpp
@@ -871,7 +871,7 @@ uint8_t apple2_state::read_floatingbus()
// calculate vertical scanning state
//
- v_line = (i / kHClocks) + 188; // which vertical scanning line
+ v_line = (i / kHClocks) + 192; // 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 f45c32033a2..189288e01f4 100644
--- a/src/mame/drivers/apple2e.cpp
+++ b/src/mame/drivers/apple2e.cpp
@@ -2964,7 +2964,7 @@ uint8_t apple2e_state::read_floatingbus()
// calculate vertical scanning state
//
- v_line = (i / kHClocks) + 188; // which vertical scanning line (MAME starts at blank, not the beginning of the scanning area)
+ v_line = (i / kHClocks) + 192; // 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
{