Previous 199869 Revisions Next

r21008 Tuesday 12th February, 2013 at 23:18:15 UTC by Angelo Salese
Fix for Odd bit
[src/emu/video]stvvdp2.c

trunk/src/emu/video/stvvdp2.c
r21007r21008
62446244
62456245UINT8 saturn_state::get_odd_bit( void )
62466246{
6247   int cur_v;
6248   cur_v = machine().primary_screen->vpos();
6249
62506247   if(STV_VDP2_HRES & 4) //exclusive monitor mode makes this bit to be always 1
62516248      return 1;
62526249
62536250   if(STV_VDP2_LSMD == 0) // same for non-interlace mode
62546251      return 1;
62556252
6256   if(cur_v % 2)
6257      return 1;
6258
6259   return 0;
6253   return machine().primary_screen->frame_number() & 1;
62606254}
62616255
62626256void saturn_state::stv_vdp2_state_save_postload( void )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team