Previous 15994 Revisions Next

r15864 Sunday 12th August, 2012 at 15:06:48 UTC by Firewave
fixed bogus if-condition in src/mess/machine/cpc_rom.h reported by cppcheck (no whatsnew)
[src/mess/machine]cpc_rom.h

src/mess/machine/cpc_rom.h
r15863r15864
6969   // optional information overrides
7070   virtual machine_config_constructor device_mconfig_additions() const;
7171
72   UINT8* base(UINT8 slot) { if(slot >=1 || slot <= 6) return m_rom[slot]->base(); else return NULL; }
72   UINT8* base(UINT8 slot) { if(slot >=1 && slot <= 6) return m_rom[slot]->base(); else return NULL; }
7373
7474protected:
7575   // device-level overrides

Previous 15994 Revisions Next


© 1998-2018 The MESS Team