trunk/src/emu/video/stvvdp2.c
| r21297 | r21298 | |
| 4472 | 4472 | /* Magical Drop III 0x200 -> color calculation window */ |
| 4473 | 4473 | /* Ide Yousuke Meijin No Shin Jissen Mahjong 0x0303 */ |
| 4474 | 4474 | /* Decathlete 0x088 */ |
| 4475 | | if(STV_VDP2_WCTLD & 0x2000) |
| 4476 | | popmessage("Special window enabled %04x, contact MAMEdev",STV_VDP2_WCTLD); |
| 4475 | /* Sexy Parodius 0x2300 */ |
| 4476 | // if(STV_VDP2_WCTLD & 0x2000) |
| 4477 | // popmessage("Special window enabled %04x, contact MAMEdev",STV_VDP2_WCTLD); |
| 4477 | 4478 | |
| 4478 | 4479 | /* Shining Force III, After Burner 2 (doesn't make a proper use tho?) */ |
| 4479 | 4480 | /* Layer Section */ |
trunk/src/emu/video/stvvdp1.c
| r21297 | r21298 | |
| 182 | 182 | |
| 183 | 183 | void saturn_state::stv_clear_framebuffer( int which_framebuffer ) |
| 184 | 184 | { |
| 185 | int start_x, end_x, start_y, end_y; |
| 186 | |
| 187 | /* |
| 188 | TODO: needs to check in Hi-Res mode |
| 189 | */ |
| 190 | start_x = STV_VDP1_EWLR_X1 * 8; |
| 191 | start_y = STV_VDP1_EWLR_Y1; |
| 192 | end_x = STV_VDP1_EWRR_X3 * 8; |
| 193 | end_y = STV_VDP1_EWRR_Y3+1; |
| 194 | // popmessage("%d %d %d %d",STV_VDP1_EWLR_X1,STV_VDP1_EWLR_Y1,STV_VDP1_EWRR_X3,STV_VDP1_EWRR_Y3); |
| 195 | |
| 196 | for(int y=start_y;y<end_y;y++) |
| 197 | for(int x=start_x;x<end_x;x++) |
| 198 | m_vdp1.framebuffer[ which_framebuffer ][(x+y*512)] = m_vdp1.ewdr; |
| 199 | |
| 185 | 200 | if ( VDP1_LOG ) logerror( "Clearing %d framebuffer\n", m_vdp1.framebuffer_current_draw ); |
| 186 | | memset( m_vdp1.framebuffer[ which_framebuffer ], m_vdp1.ewdr, 1024 * 256 * sizeof(UINT16) * 2 ); |
| 201 | // memset( m_vdp1.framebuffer[ which_framebuffer ], m_vdp1.ewdr, 1024 * 256 * sizeof(UINT16) * 2 ); |
| 187 | 202 | } |
| 188 | 203 | |
| 189 | 204 | |