mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
Cycle counting is hard. So is scanline counting. (nw)
This commit is contained in:
parent
a9af14b26f
commit
b167c4d203
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user