PSX GPU: Fix the 24bit rendering of video sequences on games such as GranTurismo and Digimon World 3

This commit is contained in:
Felipe Corrêa da Silva Sanches 2015-10-22 08:38:39 -02:00
parent 9a2394c015
commit 0b8b05d572

View File

@ -724,7 +724,7 @@ UINT32 psxgpu_device::update_screen(screen_device &screen, bitmap_ind16 &bitmap,
n_line = n_lines;
while( n_line > 0 )
{
UINT16 *p_n_src = p_p_vram[ n_y + n_displaystarty ] + ((n_x + n_displaystartx) * 3);
UINT16 *p_n_src = p_p_vram[ n_y + n_displaystarty ] + 3 * n_x + n_displaystartx;
UINT16 *p_n_dest = &bitmap.pix16(n_y + n_top, n_x + n_left);
n_column = n_columns;