• R/O
  • HTTP
  • SSH
  • HTTPS

common_source_project-fm7: Commit

Common Source Code Project for Qt (a.k.a for FM-7).


Commit MetaInfo

Revision17a29122cd00d9d2884e165fd229bb019b8c1ffb (tree)
Zeit2018-02-20 04:51:33
AutorK.Ohta <whatisthis.sowhat@gmai...>
CommiterK.Ohta

Log Message

[EMU] Remove FM-7 specific hack.

Ändern Zusammenfassung

Diff

--- a/source/src/emu.cpp
+++ b/source/src/emu.cpp
@@ -98,17 +98,6 @@ EMU::EMU()
9898 # if defined(_USE_QT)
9999 osd->reset_vm_node();
100100 # endif
101- // Below is temporally workaround. I will fix ASAP (or give up): 20160311 K.Ohta
102- // Problems seem to be resolved. See fm7.cpp. 20160319 K.Ohta
103- // Still not resolved with FM-7/77 :-( 20160407 K.Ohta
104-#if defined(_FM7) || defined(_FMNEW7) || defined(_FM8) || \
105- defined(_FM77_VARIANTS)
106- //delete vm;
107- //osd->vm = vm = new VM(this);
108-# if defined(_USE_QT)
109- //osd->reset_vm_node();
110-# endif
111-#endif
112101 #ifdef USE_AUTO_KEY
113102 initialize_auto_key();
114103 #endif
@@ -269,9 +258,6 @@ void EMU::reset()
269258 sound_rate = sound_frequency_table[config.sound_frequency];
270259 sound_samples = (int)(sound_rate * sound_latency_table[config.sound_latency] + 0.5);
271260 vm->initialize_sound(sound_rate, sound_samples);
272-# if defined(_USE_QT)
273- osd->reset_vm_node();
274-# endif
275261 #ifdef USE_SOUND_VOLUME
276262 for(int i = 0; i < USE_SOUND_VOLUME; i++) {
277263 vm->set_sound_device_volume(i, config.sound_volume_l[i], config.sound_volume_r[i]);
Show on old repository browser