| Previous | 199869 Revisions | Next |
| r20398 Tuesday 22nd January, 2013 at 00:01:49 UTC by smf |
|---|
| clamp framebuffer reading to frame buffer coordinates. not sure this is accurate, but it stops it crashing when negative coordinates are used. [smf] |
| [src/emu/video] | psx.c |
| r20397 | r20398 | |
|---|---|---|
| 3663 | 3663 | for( n_pixel = 0; n_pixel < 2; n_pixel++ ) |
| 3664 | 3664 | { |
| 3665 | 3665 | data.w.l = data.w.h; |
| 3666 | data.w.h = *( p_p_vram[ n_vramy + ( m_packet.n_entry[ 1 ] >> 16 ) ] + n_vramx + ( m_packet.n_entry[ 1 ] & 0xffff ) ); | |
| 3666 | data.w.h = *( p_p_vram[ ( n_vramy + ( m_packet.n_entry[ 1 ] >> 16 ) ) & 0x3ff ] + ( ( n_vramx + ( m_packet.n_entry[ 1 ] & 0xffff ) ) & 0x3ff ) ); | |
| 3667 | 3667 | n_vramx++; |
| 3668 | 3668 | if( n_vramx >= ( m_packet.n_entry[ 2 ] & 0xffff ) ) |
| 3669 | 3669 | { |
| Previous | 199869 Revisions | Next |