Welcome!

Final Burn Neo => FBN Development => Topic started by: BisonSAS on February 21, 2007, 10:37:31 AM

Title: Fixed graphic glitches in kof99 ending text. (team Ryo,Robert,Yuri and Takuma)
Post by: BisonSAS on February 21, 2007, 10:37:31 AM
Fixed graphic glitches in kof99 ending text. (team with Ryo,Robert,Yuri and Takuma)

In src\burn\neogeo\d_neogeo.cpp
Find this:
Quote
void __fastcall kof99WriteWordBankswitch(unsigned int sekAddress, unsigned short wordValue)
{
   if (sekAddress == 0x2FFFF0) {
      static unsigned int bankoffset[64] = {
         0x100000, 0x200000, 0x300000, 0x400000,
         0x4cc000, 0x5cc000, 0x4f2000, 0x5f2000,
         0x507800, 0x607800, 0x50d000, 0x60d000,
         0x517800, 0x617800, 0x520800, 0x620800,
         0x524800, 0x624800, 0x529000, 0x629000,
         0x52e800, 0x62e800, 0x531800, 0x631800,
         0x64d000, 0x651000, 0x667000, 0x692800,
         0x688800, 0x681800, 0x699800, 0x694800,
         0x598000,   /* rest not used? */
      };

Replace this:
Quote
void __fastcall kof99WriteWordBankswitch(unsigned int sekAddress, unsigned short wordValue)
{
   if (sekAddress == 0x2FFFF0) {
      static unsigned int bankoffset[64] = {
         0x100000, 0x200000, 0x300000, 0x400000,
         0x4cc000, 0x5cc000, 0x4f2000, 0x5f2000,
         0x507800, 0x607800, 0x50d000, 0x60d000,
         0x517800, 0x617800, 0x520800, 0x620800,
         0x524800, 0x624800, 0x529000, 0x629000,
         0x52e800, 0x62e800, 0x531800, 0x631800,
         0x64d000, 0x651000, 0x667000, 0x692800,
         0x688800, 0x681800, 0x699800, 0x694800,
         0x698000,
      };

Bug:
(http://www.bisonsas.xpg.com.br/kof99-bug.png)

Fixed:
(http://www.bisonsas.xpg.com.br/kof99-fix.png)

 :cool: :biggrin: :smilie:
Title: Re: Fixed graphic glitches in kof99 ending text. (team Ryo,Robert,Yuri and Takum
Post by: Barry Harris on February 21, 2007, 12:08:25 PM
Nice catch.
Title: Re: Fixed graphic glitches in kof99 ending text. (team Ryo,Robert,Yuri and Takuma)
Post by: CaptainCPS on February 21, 2007, 01:19:01 PM
Cool, BisonSAS ThanX for sharing the fix ^^
Title: Re: Fixed graphic glitches in kof99 ending text. (team Ryo,Robert,Yuri and Takum
Post by: iq_132 on February 25, 2007, 01:54:50 PM
Never noticed this before, nice find :)