From 1bb398c6c2dee0728fa110e3da00a1449ef51bb5 Mon Sep 17 00:00:00 2001 From: Immersion95 <47425204+Immersion95@users.noreply.github.com> Date: Fri, 5 Mar 2021 16:17:29 +0100 Subject: [PATCH] GameDB: Add kozarovv's KOF '94 Rebout - NTSC-J patch --- bin/GameIndex.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/bin/GameIndex.yaml b/bin/GameIndex.yaml index 87fad662a1..953eff5020 100644 --- a/bin/GameIndex.yaml +++ b/bin/GameIndex.yaml @@ -29152,6 +29152,19 @@ SLPS-25448: SLPS-25449: name: "King of Fighters '94, The - Rebout" region: "NTSC-J" + patches: + E64F90E5: + content: |- + author=kozarovv + // Fix for Depth precision. + // Game fills upper 16bits of depth with 0xFFFF. + // This results in a really high 32 bit value which is then converted to float + // because both hw and sw renderers lack double precision the lower 16 bits of the initial 32 bit value lose precision. + patch=1,EE,000ffc00,word,f88a0000 + patch=1,EE,000ffc04,word,a080000b + patch=1,EE,000ffc08,word,080836b3 + patch=1,EE,0020dac4,word,0803ff00 + patch=1,EE,0020dac8,word,4bea497d SLPS-25450: name: "Tales of Rebirth" region: "NTSC-J"