diff options
author | Angelo Salese <angelosa@users.noreply.github.com> | 2011-08-09 00:50:57 +0000 |
---|---|---|
committer | Angelo Salese <angelosa@users.noreply.github.com> | 2011-08-09 00:50:57 +0000 |
commit | b6ae4cc5d0e97c9da4c2a2372b128bfeeb7fa89f (patch) | |
tree | e0aaf5c1263d7b5ee2f60aba6781d368f772dffd /src/mame/video | |
parent | 6b9234c232fb1b1002333f01c99acf8c21666dd4 (diff) |
Putted SMPC Slave CPU behind a timer, plus minor misc changes, nw
Diffstat (limited to 'src/mame/video')
-rw-r--r-- | src/mame/video/stvvdp2.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/mame/video/stvvdp2.c b/src/mame/video/stvvdp2.c index c2ad67480fe..1018db3edbc 100644 --- a/src/mame/video/stvvdp2.c +++ b/src/mame/video/stvvdp2.c @@ -5579,10 +5579,13 @@ READ32_HANDLER ( saturn_vdp2_regs_r ) if(!STV_VDP2_EXLTEN) { /* TODO: handle various h/v settings. */ - state->m_vdp2.h_count = space->machine().primary_screen->hpos() & 0x3ff; - state->m_vdp2.v_count = space->machine().primary_screen->vpos() & (STV_VDP2_LSMD == 3 ? 0x7ff : 0x3ff); - /* latch flag */ - state->m_vdp2.exltfg |= 1; + if(!space->debugger_access()) + { + state->m_vdp2.h_count = space->machine().primary_screen->hpos() & 0x3ff; + state->m_vdp2.v_count = space->machine().primary_screen->vpos() & (STV_VDP2_LSMD == 3 ? 0x7ff : 0x3ff); + /* latch flag */ + state->m_vdp2.exltfg |= 1; + } } break; @@ -5868,6 +5871,9 @@ static UINT8 get_odd_bit(running_machine &machine) if(STV_VDP2_HRES & 4) //exclusive monitor mode makes this bit to be always 1 return 1; + if(STV_VDP2_LSMD == 0) // same for non-interlace mode + return 1; + if(cur_v % 2) return 1; |