diff options
| author | Neeraj Kumar | 2010-08-14 06:06:41 +0000 | 
|---|---|---|
| committer | Neeraj Kumar | 2010-08-14 06:06:41 +0000 | 
| commit | 169d1eb0cc52438b00ad204a407b6eeb93fb8614 (patch) | |
| tree | 2aee585cc34d71dfd94a64ae14aa8584d92cb0ac /engines/testbed/midi.cpp | |
| parent | f9005dd4b3c362ec4dedeace7d288a3da16d04e6 (diff) | |
| download | scummvm-rg350-169d1eb0cc52438b00ad204a407b6eeb93fb8614.tar.gz scummvm-rg350-169d1eb0cc52438b00ad204a407b6eeb93fb8614.tar.bz2 scummvm-rg350-169d1eb0cc52438b00ad204a407b6eeb93fb8614.zip | |
TESTBED: some more refinements with handling Quit events in GUI
svn-id: r52078
Diffstat (limited to 'engines/testbed/midi.cpp')
| -rw-r--r-- | engines/testbed/midi.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/engines/testbed/midi.cpp b/engines/testbed/midi.cpp index bae78b352b..f5e92982c2 100644 --- a/engines/testbed/midi.cpp +++ b/engines/testbed/midi.cpp @@ -138,9 +138,9 @@ TestExitStatus MidiTests::playMidiMusic() {  }  MidiTestSuite::MidiTestSuite() { -	if (SearchMan.hasFile("music.mid")) { -		addTest("MidiTests", &MidiTests::playMidiMusic); -	} else { +	addTest("MidiTests", &MidiTests::playMidiMusic); +	_isMidiDataFound = true; +	if (!SearchMan.hasFile("music.mid")) {  		// add some fallback test if filesystem loading failed  		Testsuite::logPrintf("Warning! Midi: Sound data file music.mid not found\n");  		_isMidiDataFound = false; | 
