mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-29 06:54:22 +01:00
Small features fixed
This commit is contained in:
parent
c2787689a4
commit
11077b96b8
@ -1,5 +1,8 @@
|
||||
version 2:
|
||||
* Only save prefs on exit
|
||||
* Pause sound in the menu
|
||||
* Handle very long filenames better (thanks Corey89 for pointing this out)
|
||||
* Corrected file sorting
|
||||
* Better Makefile
|
||||
* More keycodes added (C=)
|
||||
|
||||
|
@ -164,7 +164,7 @@ static const char **get_file_list(const char *base_dir)
|
||||
}
|
||||
}
|
||||
closedir(d);
|
||||
qsort(file_list, cur, sizeof(const char *), cmpstringp);
|
||||
qsort(&file_list[1], cur-1, sizeof(const char *), cmpstringp);
|
||||
|
||||
return file_list;
|
||||
}
|
||||
@ -437,6 +437,7 @@ void C64::VBlank(bool draw_frame)
|
||||
|
||||
Prefs *np = Frodo::reload_prefs();
|
||||
|
||||
TheSID->PauseSound();
|
||||
submenus[0] = np->JoystickSwap == true ? 1 : 0;
|
||||
opt = menu_select(real_screen, &this->main_menu, submenus);
|
||||
|
||||
@ -464,6 +465,7 @@ void C64::VBlank(bool draw_frame)
|
||||
break;
|
||||
case 9: /* Quit */
|
||||
quit_thyself = true;
|
||||
ThePrefs.Save(PREFS_PATH);
|
||||
break;
|
||||
case -1:
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user