Mercurial > repos > blastem
diff genesis.c @ 1285:76e47254596b
Remove hacky post-DMA delay add proper pre-DMA delay based on logic analyzer capture. 512 color screen is a bit messed up but mostly works. Needs investigation
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 18 Mar 2017 17:09:14 -0700 |
parents | 1e7977460d18 |
children | ca0383656a82 |
line wrap: on
line diff
--- a/genesis.c Fri Mar 17 08:05:55 2017 -0700 +++ b/genesis.c Sat Mar 18 17:09:14 2017 -0700 @@ -296,12 +296,6 @@ sync_components(context, 0); gen->bus_busy = 0; } - if (!(v_context->flags & FLAG_DMA_RUN)) { - //two more slots of delay are needed to kill sufficient sprite capacity in Overdrive - //TODO: Measure exact value with logic analyzer - vdp_run_context(v_context, v_context->cycles + 1); - vdp_run_context(v_context, v_context->cycles + 1); - } } if (blocked < 0) {