Author Topic: Slam Masters & Muscle Bomber Duo bug  (Read 14374 times)

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: Slam Masters & Muscle Bomber Duo bug
« Reply #15 on: November 15, 2006, 09:59:14 PM »
jimmy is still working on his next fba evo release, but i will see if i can put together something before he releases it.  (he has got the ID software release schedule -- When it is done, it will be done  :wink: )


Offline BisonSAS

  • Expert
  • *****
  • Posts: 210
  • Karma: +27/-0
  • [NGBRT]
    • NeoGeo BR Team
Re: Slam Masters & Muscle Bomber Duo bug
« Reply #16 on: November 18, 2006, 05:11:33 AM »
My code fix version. :cool:

In src/burn/capcom/cps_rw.cpp
Find this:
Code: [Select]
#if 0
if (Cps1Qs == 1) {
//CPS1 EEPROM write
if (ia == 0xc007) {
}
}
#endif
   
Replace this:
Code: [Select]
if (Cps1Qs == 1) {
//CPS1 EEPROM write
if (ia == 0xc007) {
EEPROMWrite(d & 0x40, d & 0x80, d & 0x01);
return;
}
}
   
   
In src/burn/capcom/cps_mem.cpp

Find this:
Code: [Select]
if (Cps1Qs == 1) {
// Map the 1st 32KB of the QSound ROM into the 68K address space
for (int i = 0x7FFF; i >= 0; i--) {
CpsEncZRom[(i << 1) + 0] = CpsEncZRom[i];
CpsEncZRom[(i << 1) + 1] = 0xFF;
}
// SekMapMemory(CpsEncZRom, 0xF00000, 0xF0FFFF, SM_ROM);
SekMapHandler(3, 0xF00000, 0xF0FFFF, SM_ROM);
SekSetReadByteHandler(3, haxx0rReadByte);

Replace this:
Code: [Select]
if (Cps1Qs == 1) {
// Map the 1st 32KB of the QSound ROM into the 68K address space
for (int i = 0x7FFF; i >= 0; i--) {
CpsEncZRom[(i << 1)] = CpsEncZRom[i];
CpsEncZRom[(i << 1) + 1] = 0xFF;
}
SekMapMemory(CpsEncZRom, 0xF00000, 0xF0FFFF, SM_ROM); // QSound ROM

In src/burn/capcom/dc_slammast.cpp
Find this:
Code: [Select]
nCpsZRomLen= 1*0x020000;
replace this:
Code: [Select]
nCpsZRomLen= 2*0x020000;




Driver include this changes in attachment.
 :cool: :smilie: :wink:

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: Slam Masters & Muscle Bomber Duo bug
« Reply #17 on: November 18, 2006, 05:10:31 PM »
Excellent. Thanks for saving me the time/work :)


Offline Death Metal

  • Member
  • ***
  • Posts: 121
  • Karma: +3/-0
  • Crimson Blade
Re: Slam Masters & Muscle Bomber Duo bug
« Reply #18 on: November 19, 2006, 12:13:37 AM »
Thank you guys so much! Finally I'll have this working again after so much time (I know I could have used another emulator, but I didn't want to "cheat" on my own release of FBA :p).

Offline Death Metal

  • Member
  • ***
  • Posts: 121
  • Karma: +3/-0
  • Crimson Blade
Re: Slam Masters & Muscle Bomber Duo bug
« Reply #19 on: November 23, 2006, 07:20:52 PM »
Oh, and by the way, YAY IT WORKED!

:p