Larswad / uno2iec

A commodore (CBM) 1541 emulator on the Arduino Uno, using any desktop PC (or raspberry PI with raspbian) as a media host.
http://larswad.github.io/uno2iec/
134 stars 36 forks source link

Fixes Listing Theme / Adds Commodore C16 #15

Closed taleteller closed 7 years ago

taleteller commented 7 years ago

Using the master checkout I noticed the host app to crash instantly when ever selecting an option from the "Directory Theme Listing" menu. Digging down the issue I noticed the keys between the ui QAction text and emulatorPalettes[] (respective machineThemes[]) did not match due to the quick key & symbols.

Therefore I corrected the keys in the code and added valid fallback values to getMachineAndPaletteTheme for ensuring the application not to crash on unknown settings.

This request also contains a small commit for adding the lesser known commodore C16. Its similar to the Plus/4 but 16k, no rom software and different overscan color.

Larswad commented 7 years ago

Theme fix from taleteller.

Larswad commented 7 years ago

Thank you for this addition, nice!