this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fixed default config for exported stubs

nesbox b5d5c84b 6dd17049

+5 -12
+2 -8
src/studio/config.c
··· 205 205 } 206 206 #else 207 207 208 - static void readConfig(Config* config) 209 - { 210 - config->data = (StudioConfig) 211 - { 212 - .uiScale = 4, 213 - .cart = config->cart, 214 - }; 215 - } 208 + static void readConfig(Config* config) {} 216 209 217 210 #endif 218 211 ··· 229 222 config->data = (StudioConfig) 230 223 { 231 224 .cart = config->cart, 225 + .uiScale = 4, 232 226 .options = 233 227 { 234 228 #if defined(CRT_SHADER_SUPPORT)
+2 -3
src/studio/studio.c
··· 1906 1906 sfx2ram(tic->ram, sfx); 1907 1907 music2ram(tic->ram, music); 1908 1908 1909 - // restore mapping in all the modes except Run mode 1910 - if(studio->mode != TIC_RUN_MODE) 1911 - studio->tic->ram->mapping = getConfig(studio)->options.mapping; 1909 + // restore mapping 1910 + studio->tic->ram->mapping = getConfig(studio)->options.mapping; 1912 1911 1913 1912 tic_core_tick_start(tic); 1914 1913 }
+1 -1
src/system/sdl/main.c
··· 1512 1512 1513 1513 for(tic_key i = 0; i < COUNT_OF(KeyboardCodes); i++) 1514 1514 { 1515 - if(KeyboardCodes[i] == keycode) 1515 + if(i != tic_key_unknown && KeyboardCodes[i] == keycode) 1516 1516 { 1517 1517 mapping->data[s] = i; 1518 1518 break;