Author Topic: Fixed graphic glitches in kof99 ending text. (team Ryo,Robert,Yuri and Takuma)  (Read 5206 times)

Offline BisonSAS

  • Expert
  • *****
  • Posts: 210
  • Karma: +27/-0
  • [NGBRT]
    • NeoGeo BR Team
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:


Fixed:


 :cool: :biggrin: :smilie:

Offline Barry Harris

  • dontbeabarry
  • *
  • Posts: 1785
  • Karma: +0/-65535
  • I'm Barry Harris and I like to f*** people over
Nice catch.
Account of Barry Harris; the traitor.
Send me an e-mail at barry@fbalpha.com letting me know how big of a piece of sh** I am.

Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Cool, BisonSAS ThanX for sharing the fix ^^

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Never noticed this before, nice find :)