Commit Graph

10 Commits

Author SHA1 Message Date
Dale Whinham
f1eaf2f43c Update copyright notices 2023-02-02 13:32:48 +00:00
Dale Whinham
07004eac54 Update copyright notices 2022-01-06 17:35:40 +00:00
Dale Whinham
59cf085d1c Update copyright notices 2021-02-03 05:06:40 +00:00
Dale Whinham
b41fff88a7 Add getters to synths for ROM set/SoundFont index 2020-12-08 18:57:10 +00:00
Dale Whinham
96a14cc5f1 Extract TMT32ROMSet into separate header 2020-12-05 17:15:01 +00:00
Dale Whinham
4f42b42494 Cleanup includes in rommanager.h 2020-11-22 23:16:44 +00:00
Dale Whinham
6e4e0abab3 Remove unneeded FileSystem param from ROM manager 2020-11-08 18:24:32 +00:00
Dale Whinham
8ba9c8a06a General code cleanup
Rename enums, functions parameters and class member variables so that
they match the Circle coding style more closely.

Replace /* ... */ comments with // comments.

Fixup some indentation issues/trailing whitespace.

Remove undefined functions and unused #defines.
2020-10-04 23:28:40 +01:00
Dale Whinham
3ddd9ac7ca Refactor config file parser
Reduce code duplication significantly by employing macros and templates
for parsing strings into enums.

Increase efficiency by adding {BEGIN|END}_SECTION markers in config.def
so that we can avoid unnecessary calls to strcmp() with the section name.
2020-10-04 23:28:40 +01:00
Dale Whinham
97962dd09b Add ability to switch between multiple ROM sets
Introduce a ROM manager that scans a 'roms' directory on startup for all
valid ROMs that mt32emu supports.

If none are found in this directory, fall back on searching for
MT32_{CONTROL|PCM}.ROM in the root of the SD card as before.

Add a custom SysEx command that allows the user to switch ROM sets on
the fly.

Add a new config file option for setting the default ROM set.

Closes #18.
2020-10-04 23:28:40 +01:00