comparison nuklear_ui/blastem_nuklear.c @ 2247:08a16de0e4cb

Fix settings save path of TMSS ROM setting
author Michael Pavone <pavone@retrodev.com>
date Thu, 24 Nov 2022 00:54:18 -0800
parents 0a107b2d5837
children 9e578fd493e1
comparison
equal deleted inserted replaced
2246:0e927fce8941 2247:08a16de0e4cb
2175 { 2175 {
2176 if (nk_begin(context, "Firmware", nk_rect(0, 0, render_width(), render_height()), 0)) { 2176 if (nk_begin(context, "Firmware", nk_rect(0, 0, render_width(), render_height()), 0)) {
2177 uint32_t desired_width = context->style.font->height * 10; 2177 uint32_t desired_width = context->style.font->height * 10;
2178 nk_layout_row_static(context, context->style.font->height, desired_width, 2); 2178 nk_layout_row_static(context, context->style.font->height, desired_width, 2);
2179 static const char* exts[] = {"md", "bin", "smd"}; 2179 static const char* exts[] = {"md", "bin", "smd"};
2180 settings_path(context, "TMSS ROM", "ui\0save_path\0", "tmss.md", exts, 3); 2180 settings_path(context, "TMSS ROM", "system\0tmss_path\0", "tmss.md", exts, 3);
2181 settings_path(context, "US CD BIOS", "system\0scd_bios_us\0", "cdbios.md", exts, 3); 2181 settings_path(context, "US CD BIOS", "system\0scd_bios_us\0", "cdbios.md", exts, 3);
2182 settings_path(context, "JP CD BIOS", "system\0scd_bios_jp\0", "cdbios.md", exts, 3); 2182 settings_path(context, "JP CD BIOS", "system\0scd_bios_jp\0", "cdbios.md", exts, 3);
2183 settings_path(context, "EU CD BIOS", "system\0scd_bios_eu\0", "cdbios.md", exts, 3); 2183 settings_path(context, "EU CD BIOS", "system\0scd_bios_eu\0", "cdbios.md", exts, 3);
2184 if (nk_button_label(context, "Back")) { 2184 if (nk_button_label(context, "Back")) {
2185 pop_view(); 2185 pop_view();