bitfixer / bf-romulator

Romulator - RAM/ROM replacement and debug for 6502 CPU systems
144 stars 21 forks source link

bin/console 'c to change config' not working for custom config files #16

Open sjlevy opened 1 year ago

sjlevy commented 1 year ago

Custom configurations that use their own non-default files such as: memory_set_apple1.csv, enable_table_apple1.csv will fail to load when using the new 'c to change configuration' feature of bin/console

This is because the profile value of 'default' is hard-coded in line 39 of console.cpp: const char* profile = "default";

If possible one solution might be to integrate console into the Makefile and pass profile definition as argument on the g++ line ($(CONFIG))