diff options
author | smf- <smf-@users.noreply.github.com> | 2018-09-24 13:52:32 +0100 |
---|---|---|
committer | smf- <smf-@users.noreply.github.com> | 2018-09-24 14:59:39 +0100 |
commit | 7a6ba5c48286ff2f2c081576031b7c60cd50861b (patch) | |
tree | 838bb645d01d4a27c89e8b7f24e3137131711c38 | |
parent | b99742eacb6fb2ea4e697ce948acb448cd4be76e (diff) |
PSX GPU: Copy the textures STP bit, which improves Silent Hill. [smf]
-rw-r--r-- | src/devices/video/psx.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/devices/video/psx.cpp b/src/devices/video/psx.cpp index 262277dcdf3..5713a5aa1f0 100644 --- a/src/devices/video/psx.cpp +++ b/src/devices/video/psx.cpp @@ -1045,7 +1045,8 @@ void psxgpu_device::decode_tpage( uint32_t tpage ) WRITE_PIXEL( \ p_n_redshade[ p_n_redlevel[ n_bgr ] | n_r.w.h ] | \ p_n_greenshade[ p_n_greenlevel[ n_bgr ] | n_g.w.h ] | \ - p_n_blueshade[ p_n_bluelevel[ n_bgr ] | n_b.w.h ] ) \ + p_n_blueshade[ p_n_bluelevel[ n_bgr ] | n_b.w.h ] | \ + ( n_bgr & 0x8000 ) ) \ } \ p_vram++; \ PIXELUPDATE \ @@ -1060,7 +1061,8 @@ void psxgpu_device::decode_tpage( uint32_t tpage ) WRITE_PIXEL( \ p_n_redtrans[ p_n_f[ p_n_redlevel[ n_bgr ] | n_r.w.h ] | p_n_redb[ *( p_vram ) ] ] | \ p_n_greentrans[ p_n_f[ p_n_greenlevel[ n_bgr ] | n_g.w.h ] | p_n_greenb[ *( p_vram ) ] ] | \ - p_n_bluetrans[ p_n_f[ p_n_bluelevel[ n_bgr ] | n_b.w.h ] | p_n_blueb[ *( p_vram ) ] ] ) \ + p_n_bluetrans[ p_n_f[ p_n_bluelevel[ n_bgr ] | n_b.w.h ] | p_n_blueb[ *( p_vram ) ] ] | \ + 0x8000 ) \ } \ else \ { \ |