From e32a6208ae28c441bcc03308cd4b5da18cd9b699 Mon Sep 17 00:00:00 2001 From: Ted Green Date: Tue, 21 Jul 2020 13:09:02 -0600 Subject: [PATCH] Fix some vegas games not booting --- src/devices/video/voodoo_gpu_ps.hlsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: