Commit Graph

133 Commits

Author SHA1 Message Date
zakk4223
5f2ccf6ab7 Menu: Restore bumper prev/next letter file navigation (#1037) 2025-09-14 18:12:39 +08:00
misteraddons
089757e33c OSD: Lookahead 0-3 positions when scrolling (#1009)
* Lookahead 3 positions when scrolling

* Add lookahead position adjustment

0 = disabled
1 = 1 position ahead
2 = 2 positions ahead (default)
3 = 3 positions ahead

* Implement lookahead config variable (0-3 positions)
2025-07-30 12:41:08 +08:00
zakk4223
448f1f629d Bumper l/r or -/+ -> prev/next letter in file picker (#1007) 2025-07-23 14:33:30 +08:00
Martin Donlon
1074cdcfdd Add support for save states in arcade cores (#981)
Initialize the save state system after processing the MRA if the ss_base address is set.
Use the savestates/Arcade directory for arcade savestates
2025-04-16 13:51:16 +08:00
dana
10176338cc change zip sorting again (#943)
* file_io: sort zips with directories again

* menu: strip now-redundant .zip extension, make <ZIP> suffix match <DIR>
2024-12-23 15:57:13 +08:00
TpaBkaY
a2941ae27e Better ZIP sorting, add <zip> suffix (#900) 2024-05-17 14:27:26 +08:00
Sorgelig
77b41d0c6a MGL/MRA: add same_dir attribute for setname. 2024-03-26 01:11:12 +08:00
Rikard Bengtsson
e9340593f4 N64 improvements, save files (#859)
N64 improvements. Split N64 save files into eep, sra, fla, mpk and tpk files.
Add "wide" tag detection to database, auto-switches to widescreen if found.
Prioritize N64-database_user.txt, so that people can override games already in the regular database file.
Honor order that rpak, cpak and tpak are written in database, for p1 controller.
2023-12-05 20:55:12 +08:00
Sorgelig
bf2eb381ba file_io: fix for single-file zip. 2023-10-27 05:13:26 +08:00
Sorgelig
44139157a2 file_io: fix listing inside zip. 2023-10-26 02:32:13 +08:00
Wilfried JEANNIARD
a296dd235d Look in /media/network too
* Network: add /media/network for NAS usage

* fix search order in comments
2023-08-11 23:20:29 +08:00
Sorgelig
caac5f52b2 Use names.txt for MGL and MRA as well. 2022-11-29 22:06:55 +08:00
Sorgelig
4eddbd22c6 file_io: some formatting. 2022-11-26 20:57:38 +08:00
Aitor Gómez
5728bdda78 PCXT: Fix overlap in OSD menu between ROMs (Fx) and images (Sx) saved in config (#694)
* PCXT: Fix overlap in OSD menu between ROMs (Fx) and images (Sx) saved in config

* PCXT: Menu is not hidden when an image is selected
2022-09-16 01:03:09 +08:00
Martin Donlon
ad695d0848 Video mode switching optimizations.
Reduce cost of setting video mode information when using
vsync_adjust=1/2 or vscale_mode=4/5 from 90ms to 5ms (worst case, most
instances are less than 1ms).

Split video initialization into video_init and video_set_mode.
video_init is called once, video_set_mode is called whenever the mode
changes.

Split hdmi_config into hdmi_config_init and hdmi_config_set_mode. Same
as video_, hdmi_config_init does the bulk of the initialization,
hdmi_config_set_mode is just for parameters that can change based on the
mode.

Load video filter data in loadScalerCfg and persist it.

Calculate a digest for scaler data and use that to determine whether new
data needs to be sent.

Only send gamma information if the filename has changed.

Offload fb module parameter writing to a separate thread via the new
offload system.

Reduce the amount of work being done in set_vrr_mode when vrr is
disabled.
2022-07-18 16:30:00 -07:00
Sorgelig
ed1ec99688 Initial support for MiSTer Game Launcher (mgl) file. 2022-02-24 21:24:04 +08:00
Sorgelig
10e216a21e Some cleanup. 2022-02-19 00:57:24 +08:00
Sorgelig
ba3d2fe80a OSD: filters/gamma/mask quick switch by +/- 2022-02-10 18:50:42 +08:00
Sorgelig
5f951d42c5 PSX: don't cut name by dot in saves. 2022-02-09 19:02:53 +08:00
Zakk
4f47ef340a Zip file cache
Clean up cfile ptr after close
2021-12-27 17:28:12 -05:00
Zakk
4c22a26e63 Add support for zip files with no directory entries
Fix nested paths in zip files
2021-12-25 23:42:59 -05:00
Martin Donlon
c7217c7080 Handle dos-style line endings in FileReadLIne (#496) 2021-12-22 15:35:41 +08:00
Sorgelig
4cee9159d0 Support for loadable Shadow Masks. 2021-11-26 21:23:21 +08:00
Martin Donlon
aa3ef264ac Add /dev/MiSTer_cmd screenshot support (#472)
Sending "screenshot" to the MiSTer_cmd device will trigger a screenshot.
An exact png filename can be specified if desired.
2021-10-07 13:11:01 +08:00
Zembarian
32d379b272 Change sorting comparison to generate expected results (#466)
Currently when you have two entries where one has a longer name ("foobar" and "foobar 2") it does the comparison up to the shorter of the lengths, and then if they match to that length, it does a date comparison instead. This exhibits behaviour different to what one would expect from most implementations.

This change puts the length comparison before the date comparison to make it more like the user would expect.

i.e "foobar" should always be above "foobar 2", and not move depending on the date code.
2021-09-20 18:45:05 +08:00
sorgelig
4af0d0264c Update sd_* API for flexibility and performance. 2021-06-04 20:43:20 +08:00
sorgelig
9cd404ea65 Common shared memory module. Using O_CLOEXEC for opened files. 2021-04-16 23:12:46 +08:00
sorgelig
c0fbf68fef savestates: fixes and support for save of all 4 slots. 2021-04-03 02:27:40 +08:00
zakk4223
61bae31483 Miniz update (#316)
* Update to latest miniz (2.1.0). Use single file combined release as per miniz documentation

* revert back to using inflateReset instead of inflateInit (doesn't work otherwise)

Co-authored-by: Zakk <zakk@rsdio.com>
2020-12-31 06:28:01 +08:00
sorgelig
595d1806e6 pcecd, megacd: prevent to browse CD inside ZIP. 2020-11-12 15:56:41 +08:00
sorgelig
072385888a file_io: browser: ignore case when locating in catalog if case sensitive name not found. 2020-10-02 03:08:55 +08:00
sorgelig
fa7fe5391a ao486: rework IDE, support for CD-ROM. 2020-09-17 23:48:26 +08:00
sorgelig
c7b4fa79cf ao486: some fixes in shared folder. 2020-07-20 00:53:18 +08:00
sorgelig
29e9150ca7 file_io: normalize the rule of root path across different functions. 2020-07-03 05:50:40 +08:00
OskarSigvardsson
2b2c668d4f Use proper filter instead of prefix to filter file lists
Added a new argument to ScanDirectory, a "filter" parameter. If it exists, it
will filter items regardless of where in the filename the filter appears (not
just in the beginning, as with the prefix). So if you type "ADV" as the filter,
both "Advance Wars" as well as "Ace Combat Advance" will pass through
2020-07-02 23:41:38 +08:00
sorgelig
e1f2c7879e minimig: fix zip handling in shared folder. 2020-07-02 03:05:22 +08:00
sorgelig
4b6a27750e file_io: fixes and tweaks. 2020-06-29 08:15:38 +08:00
sorgelig
9c96ed8205 OSD: fill th header while waiting for USB. 2020-06-20 18:56:28 +08:00
sorgelig
a5ff9a953b Check core's home dir on every access for plug and play functionality. 2020-05-15 05:30:17 +08:00
sorgelig
e118e4f3cb display 2 lines for long files. 2020-05-11 15:40:18 +08:00
sorgelig
555c818501 file_io: don't include zips if SCANO_DIR isn't set. 2020-05-03 06:23:44 +08:00
sorgelig
caee23302d pcecd: fix for PREGAP and WAV tracks. 2020-04-26 04:44:49 +08:00
sorgelig
4e96473a1a Initial support for Atari ST. 2020-04-17 23:44:05 +08:00
sorgelig
d27f4fcc82 common large load buffer. 2020-04-11 19:47:33 +08:00
sorgelig
ab0eb9273a file_io: use less stack in ScanDirectory. 2020-04-02 19:56:10 +08:00
sorgelig
9cb97a1644 Better performance for seek inside the zip. 2020-04-01 22:01:13 +08:00
sorgelig
cceef25c24 file_io: display extension if wildcard is used. 2020-03-31 05:24:04 +08:00
sorgelig
f9b5b9bbc3 Support up to 3 alternative INI files (Back+DPAD in OSD). Some refactoring in cfg/ini parsing. 2020-03-17 00:20:09 +08:00
sorgelig
4cc307dbec fix display name. 2020-03-16 11:59:57 +08:00
sorgelig
b25b97a540 Support RBF display names from names.txt 2020-03-10 09:19:23 +08:00