Mercurial > repos > blastem
comparison vdp.c @ 1137:9e0f2ea4a0fc
Fix slot tracking screwup
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 01 Jan 2017 23:00:28 -0800 |
parents | 52f25c41abdd |
children | 25268334a24c |
comparison
equal
deleted
inserted
replaced
1136:52f25c41abdd | 1137:9e0f2ea4a0fc |
---|---|
1822 case 146: | 1822 case 146: |
1823 external_slot(context); | 1823 external_slot(context); |
1824 CHECK_LIMIT | 1824 CHECK_LIMIT |
1825 case 147: | 1825 case 147: |
1826 external_slot(context); | 1826 external_slot(context); |
1827 CHECK_LIMIT | 1827 if (context->flags & FLAG_DMA_RUN) { |
1828 run_dma_src(context, -1); | |
1829 } | |
1830 context->hslot = 233; | |
1831 context->cycles += slot_cycles; | |
1832 CHECK_ONLY | |
1828 //!HSYNC low | 1833 //!HSYNC low |
1829 case 233: | 1834 case 233: |
1830 external_slot(context); | 1835 external_slot(context); |
1831 CHECK_LIMIT | 1836 CHECK_LIMIT |
1832 case 234: | 1837 case 234: |