Diff for /np2/sound/soundrom.c between versions 1.7 and 1.9

version 1.7, 2003/12/12 01:04:41 version 1.9, 2005/02/07 14:46:12
Line 10 Line 10
   
 static const char file_sound[] = "sound";  static const char file_sound[] = "sound";
 static const char file_extrom[] = ".rom";  static const char file_extrom[] = ".rom";
 static const BYTE defsoundrom[9] = {  static const UINT8 defsoundrom[9] = {
                                                         0x01,0x00,0x00,0x00,0xd2,0x00,0x08,0x00,0xcb};                                                          0x01,0x00,0x00,0x00,0xd2,0x00,0x08,0x00,0xcb};
   
   
Line 38  static BOOL loadsoundrom(UINT address, c Line 38  static BOOL loadsoundrom(UINT address, c
         }          }
         file_cpyname(soundrom.name, romname, sizeof(soundrom.name));          file_cpyname(soundrom.name, romname, sizeof(soundrom.name));
         soundrom.address = address;          soundrom.address = address;
           if (address == 0xd0000) {
                   CPU_RAM_D000 &= ~(0x0f << 0);
           }
           else if (address == 0xd4000) {
                   CPU_RAM_D000 &= ~(0x0f << 4);
           }
         return(SUCCESS);          return(SUCCESS);
   
 lsr_err:  lsr_err:

Removed from v.1.7  
changed lines
  Added in v.1.9


RetroPC.NET-CVS <cvs@retropc.net>