Some more const stuff. Silences a few warnings and removes a few casts. Update description of dss.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2886
This commit is contained in:
parent
df0f8ee9d6
commit
a5ac3216ba
26 changed files with 312 additions and 288 deletions
|
@ -64,11 +64,12 @@ public:
|
|||
next=handler_list;
|
||||
handler_list=this;
|
||||
};
|
||||
virtual bool Open(const char * conf) { return true; };
|
||||
virtual bool Open(const char * /*conf*/) { return true; };
|
||||
virtual void Close(void) {};
|
||||
virtual void PlayMsg(Bit8u * msg) {};
|
||||
virtual void PlaySysex(Bit8u * sysex,Bitu len) {};
|
||||
virtual char * GetName(void) { return "none"; };
|
||||
virtual void PlayMsg(Bit8u * /*msg*/) {};
|
||||
virtual void PlaySysex(Bit8u * /*sysex*/,Bitu /*len*/) {};
|
||||
virtual const char * GetName(void) { return "none"; };
|
||||
virtual ~MidiHandler() { };
|
||||
MidiHandler * next;
|
||||
};
|
||||
|
||||
|
@ -199,7 +200,7 @@ getdefault:
|
|||
|
||||
|
||||
static MIDI* test;
|
||||
void MIDI_Destroy(Section* sec){
|
||||
void MIDI_Destroy(Section* /*sec*/){
|
||||
delete test;
|
||||
}
|
||||
void MIDI_Init(Section * sec) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue