File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -406,18 +406,28 @@ ConsolePlayer::ConsolePlayer (const char * const name) :
406406
407407 if (!emulation.engine .empty ())
408408 {
409- if (emulation.engine .compare (" RESIDFP" ) == 0 )
409+ if (emulation.engine .compare (" NONE" ) == 0 )
410+ {
411+ m_driver.sid = EMU_NONE;
412+ }
413+ #ifdef HAVE_SIDPLAYFP_BUILDERS_RESIDFP_H
414+ else if (emulation.engine .compare (" RESIDFP" ) == 0 )
410415 {
411416 m_driver.sid = EMU_RESIDFP;
412417 }
418+ #endif
419+ #ifdef HAVE_SIDPLAYFP_BUILDERS_SIDLITE_H
413420 else if (emulation.engine .compare (" SIDLITE" ) == 0 )
414421 {
415422 m_driver.sid = EMU_SIDLITE;
416423 }
424+ #endif
425+ #ifdef HAVE_SIDPLAYFP_BUILDERS_RESID_H
417426 else if (emulation.engine .compare (" RESID" ) == 0 )
418427 {
419428 m_driver.sid = EMU_RESID;
420429 }
430+ #endif
421431#ifdef HAVE_SIDPLAYFP_BUILDERS_HARDSID_H
422432 else if (emulation.engine .compare (" HARDSID" ) == 0 )
423433 {
@@ -439,10 +449,6 @@ ConsolePlayer::ConsolePlayer (const char * const name) :
439449 m_driver.output = output_t ::NONE;
440450 }
441451#endif
442- else if (emulation.engine .compare (" NONE" ) == 0 )
443- {
444- m_driver.sid = EMU_NONE;
445- }
446452 }
447453 }
448454
You can’t perform that action at this time.
0 commit comments