mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- Rearranged MIDIStreamer constructors to remove GCC warnings.
SVN r873 (trunk)
This commit is contained in:
parent
3a5afd1418
commit
b430977adf
1 changed files with 4 additions and 4 deletions
|
@ -70,11 +70,11 @@ extern UINT mididevice;
|
|||
//==========================================================================
|
||||
|
||||
MIDIStreamer::MIDIStreamer(bool opl)
|
||||
: MIDI(0),
|
||||
:
|
||||
#ifdef _WIN32
|
||||
PlayerThread(0), ExitEvent(0), BufferDoneEvent(0),
|
||||
#endif
|
||||
Division(0), InitialTempo(500000), UseOPLDevice(opl)
|
||||
MIDI(0), Division(0), InitialTempo(500000), UseOPLDevice(opl)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
BufferDoneEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
|
||||
|
@ -98,11 +98,11 @@ MIDIStreamer::MIDIStreamer(bool opl)
|
|||
//==========================================================================
|
||||
|
||||
MIDIStreamer::MIDIStreamer(const char *dumpname)
|
||||
: MIDI(0), DumpFilename(dumpname),
|
||||
:
|
||||
#ifdef _WIN32
|
||||
PlayerThread(0), ExitEvent(0), BufferDoneEvent(0),
|
||||
#endif
|
||||
Division(0), InitialTempo(500000), UseOPLDevice(true)
|
||||
MIDI(0), Division(0), InitialTempo(500000), UseOPLDevice(true), DumpFilename(dumpname)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
BufferDoneEvent = NULL;
|
||||
|
|
Loading…
Reference in a new issue