mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
PSX GPU: Fix the 24bit rendering of video sequences on games such as GranTurismo and Digimon World 3
This commit is contained in:
parent
9a2394c015
commit
0b8b05d572
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user