Previous 15994 Revisions Next

r11522 Thursday 12th May, 2011 at 17:04:27 UTC by Angelo Salese
Proper fix for 24-bit x offsets, nw
[src/mame/video]psx.c

src/mame/video/psx.c
r11521r11522
909909         n_line = n_lines;
910910         while( n_line > 0 )
911911         {
912            //UINT16 *p_n_src = p_psxgpu->p_p_vram[ n_y + p_psxgpu->n_displaystarty ] + n_x + n_displaystartx;
913            UINT16 *p_n_src = p_psxgpu->p_p_vram[ n_y + p_psxgpu->n_displaystarty ] + n_displaystartx;
912            UINT16 *p_n_src = p_psxgpu->p_p_vram[ n_y + p_psxgpu->n_displaystarty ] + ((n_x + n_displaystartx) * 3);
914913            UINT16 *p_n_dest = BITMAP_ADDR16(bitmap, n_y + n_top, n_x + n_left);
915914
916915            n_column = n_columns;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team