From: K.Ohta Date: Mon, 19 Feb 2018 19:51:33 +0000 (+0900) Subject: [EMU] Remove FM-7 specific hack. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=17a29122cd00d9d2884e165fd229bb019b8c1ffb;p=csp-qt%2Fcommon_source_project-fm7.git [EMU] Remove FM-7 specific hack. --- diff --git a/source/src/emu.cpp b/source/src/emu.cpp index 8902d3a5b..84f268949 100644 --- a/source/src/emu.cpp +++ b/source/src/emu.cpp @@ -98,17 +98,6 @@ EMU::EMU() # if defined(_USE_QT) osd->reset_vm_node(); # endif - // Below is temporally workaround. I will fix ASAP (or give up): 20160311 K.Ohta - // Problems seem to be resolved. See fm7.cpp. 20160319 K.Ohta - // Still not resolved with FM-7/77 :-( 20160407 K.Ohta -#if defined(_FM7) || defined(_FMNEW7) || defined(_FM8) || \ - defined(_FM77_VARIANTS) - //delete vm; - //osd->vm = vm = new VM(this); -# if defined(_USE_QT) - //osd->reset_vm_node(); -# endif -#endif #ifdef USE_AUTO_KEY initialize_auto_key(); #endif @@ -269,9 +258,6 @@ void EMU::reset() sound_rate = sound_frequency_table[config.sound_frequency]; sound_samples = (int)(sound_rate * sound_latency_table[config.sound_latency] + 0.5); vm->initialize_sound(sound_rate, sound_samples); -# if defined(_USE_QT) - osd->reset_vm_node(); -# endif #ifdef USE_SOUND_VOLUME for(int i = 0; i < USE_SOUND_VOLUME; i++) { vm->set_sound_device_volume(i, config.sound_volume_l[i], config.sound_volume_r[i]);