Remove HAS_OPL3 feature switch, as all Foenix computer have one. Adjust delay for opl3_test.

This commit is contained in:
Vincent Barrilliot 2023-11-12 00:01:10 +01:00
parent 9875caf9da
commit 348dd44c59
3 changed files with 8 additions and 18 deletions

File diff suppressed because one or more lines are too long

View file

@ -941,9 +941,7 @@ const t_cli_test_feature cli_test_features[] = {
{"MIDIRX", "MIDIRX: perform a receive test on the MIDI ports", midi_rx_test},
{"MIDITX", "MIDITX: send a note to a MIDI keyboard", midi_tx_test},
#endif
#if HAS_OPL3
{"OPL3", "OPL3 <delay>: test the OPL3 sound chip, with some optional delay between bytes", opl3_test},
#endif
#if HAS_OPN
{"OPN", "OPN [EXT|INT]: test the OPN sound chip", opn_test},
#endif

View file

@ -24,17 +24,15 @@
#define HAS_OPN 1
#define HAS_OPM 1
#define HAS_SNES_GAMEPAD 1
#define HAS_OPL3 1
#elif MODEL == MODEL_FOENIX_A2560U || MODEL == MODEL_FOENIX_A2560U_PLUS
#define HAS_OPL3 1
#elif MODEL == MODEL_FOENIX_C256U_PLUS || MODEL == MODEL_FOENIX_C256U
#define HAS_OPL3 1
#elif MODEL == MODEL_FOENIX_C256U_FMX
#define HAS_SUPERIO 1
#define HAS_PARALLEL_PORT 1
#define HAS_MIDI_PORTS 1
#define HAS_EXTERNAL_SIDS 1
#define HAS_OPL3 1
#endif
@ -68,10 +66,6 @@
#define HAS_OPM 0
#endif
#ifndef HAS_OPL3 // YMF262 OPL3 soundchip presence: all Foenix computer have it... we could remove that switch altogether.
#define HAS_OPL3 1
#endif
#ifndef HAS_SNES_GAMEPAD // Super Nintendo gamepad connectors (even if through adapter)
#define HAS_SNES_GAMEPAD 0
#endif