mirror of
https://github.com/mist-devel/mist-firmware.git
synced 2026-04-17 16:22:33 +00:00
Stupid stupid
This commit is contained in:
@@ -44,7 +44,7 @@ static char settings_setup(ini_cfg_t *ini, char global) {
|
||||
if(global) {
|
||||
ini->filename = "/MISTCFG.INI";
|
||||
} else {
|
||||
if(user_io_core_type == CORE_TYPE_8BIT &&
|
||||
if(user_io_core_type() == CORE_TYPE_8BIT &&
|
||||
!user_io_create_config_name(s, "CFG", CONFIG_ROOT)) {
|
||||
ini->filename = s;
|
||||
} else {
|
||||
|
||||
@@ -160,6 +160,7 @@ char virtual_joystick_remap(char *s, char action, int tag) {
|
||||
|
||||
joystick_mappers[i].vid = vid;
|
||||
joystick_mappers[i].pid = pid;
|
||||
joystick_mappers[i].tag = tag;
|
||||
// default assignment for directions
|
||||
joystick_mappers[i].mapping[0] = JOY_RIGHT;
|
||||
joystick_mappers[i].mapping[1] = JOY_LEFT;
|
||||
|
||||
Reference in New Issue
Block a user