mirror of
https://github.com/holub/mame
synced 2025-10-09 09:44:40 +03:00
Merge pull request #416 from felipesanches/fix_psxgpu_24bit_render
PSX GPU: Fix the 24bit rendering of video sequences on games such as GranTurismo and Digimon World 3
This commit is contained in:
commit
ecce19f99b
@ -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