Commit Graph

118 Commits

Author SHA1 Message Date
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
sorgelig
691093ebf3 Create config path if doesn't exist. 2020-03-10 06:01:48 +08:00
zakk4223
caca70296a Add support for booting mra files via bootcore ini setting. Includes lastcore/lastexactcore functionality
Co-authored-by: Zakk <zakk@rsdio.com>
2020-03-08 23:54:14 +08:00
sorgelig
1ba97325e4 input: fix default config restore, option for paddle/spinner button allocation from core. 2020-03-08 23:52:42 +08:00
sorgelig
7fcc325d8c Long press of USER button in Menu core launches the joystick button definition. Short press of USER button skips the button in definition. 2020-03-07 05:35:19 +08:00
sorgelig
79889c92eb Give USB and CIFS location priority for games folder over root. 2020-02-29 01:09:35 +08:00
sorgelig
9a5e615331 Fix positioning in file browser. 2020-02-17 03:52:23 +08:00
sorgelig
6e27efef8d C64: rework T64 support to use memory file. 2020-01-20 23:46:21 +08:00
sorgelig
35f81c3826 Cleanup. 2020-01-20 14:04:36 +08:00
nanner55
8f4828c1cc Add T64 to D64 conversion support to C64.
* Added C64 T64 disk mount support.

* Fixed minor C64 T64 support bugs and minor code cleanup.

* Fixed DIR advance logic.
Changed various init values.

* Added workaround for FileOpen* functions auto-prepend breaking absolute
paths.
Changed T64 tmp path to be absolute.
2020-01-20 12:31:39 +08:00
sorgelig
ee9270de8c some cleanup. 2020-01-08 21:41:09 +08:00
zakk4223
a71c49be97 MRA: lookup rom parts by CRC first if "crc" attribute exists
MRA: supported ordered list "zip" attribute, (use '|' as delimiter)
2020-01-08 15:16:47 +08:00
sorgelig
1cb1e5b899 Support for savestate. 2020-01-01 10:39:52 +08:00
sorgelig
8a8645c530 recents: store altname. 2019-12-29 08:12:29 +08:00
nanner55
3438ffd7ca Add Recent Files menu option.
key (backtick/grave) or select button.
2019-12-29 02:53:31 +08:00
sorgelig
0566ac6a46 arcade: use USB/CIFS/Games location for mame if found. 2019-12-28 09:00:35 +08:00