Mercurial > repos > blastem
changeset 1316:3185438e0134
Fix copy pasta error in handling of Z80 VDP port reads. HV counter reads are not illegal writes =P. Fixes immediate exit in Overdrive II, though other problems remain
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 15 Apr 2017 21:45:19 -0700 |
parents | 810ae0287d66 |
children | 32e95d6733a6 |
files | genesis.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/genesis.c Wed Apr 05 09:48:49 2017 -0700 +++ b/genesis.c Sat Apr 15 21:45:19 2017 -0700 @@ -453,7 +453,7 @@ } else if (vdp_port < 8) { ret = vdp_control_port_read(gen->vdp); } else { - fatal_error("Illegal write to HV Counter port %X\n", vdp_port); + ret = vdp_hv_counter_read(gen->vdp); } } else { //TODO: Figure out the correct value today