summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Ted Green <tedgreen99@users.noreply.github.com>2020-07-21 13:09:02 -0600
committer Ted Green <tedgreen99@users.noreply.github.com>2020-07-21 13:09:02 -0600
commite32a6208ae28c441bcc03308cd4b5da18cd9b699 (patch)
tree8e4ade57e0d6be1b462ed77771d2796c06a25d71
parent696a4cf6731c5c0a29b1dcd51ece8a14d939a15c (diff)
Fix some vegas games not bootingvoodoo_directx11
-rw-r--r--src/devices/video/voodoo_gpu_ps.hlsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/video/voodoo_gpu_ps.hlsl b/src/devices/video/voodoo_gpu_ps.hlsl
index 46541d9017f..ae237218e36 100644
--- a/src/devices/video/voodoo_gpu_ps.hlsl
+++ b/src/devices/video/voodoo_gpu_ps.hlsl
@@ -468,7 +468,7 @@ float4 ColorCombine(float4 c_other, float4 c_local, Combine_Struct ctrl, float m
dst *= blendFactor;
// truncate TODO: check this
- dst = floor(dst * 255.0f) / 255.0f;
+ dst = floor(dst * 512.0f) / 512.0f;
switch (ctrl.c_add_aclocal) {
case 0: