Commit Graph

108 Commits

Author SHA1 Message Date
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
sorgelig
5531e750b8 file_io: fix FileLoad(). 2019-12-23 02:05:54 +08:00
Alan Steremberg
d981092caa Add support for /arcade folder, and MRA xml decoding
* round trip xml launch

* roms load

* removed debug

* added binary data and changed rom format

* changed hex format

* fixed bug

* added structure and start/length

* removed base64 support

* removed base64 support

* fixed parsing bugs

* fixed hex parse bug

* fixed parser

* fixing paths

* fixed rbf parser

* fixed initialization bug

* fixed extension removal for when there are multiple extension options

* fixed core path and cleaned up filelength

* added md5 checks to arcade roms

* fixed rbf search

* added error support

* Simplify error checking code

* fixed arcade error message pop up

* fixed bug in part zip initialization

* removed dtdt

* don't load second rom0 if first works

* fixed directory problem

* added more comments

* added / to zip path

* fixed / bug, truncate mame zip error message

* fixed scrolling RBF

* fixed scrolling name and error message

* added code to remove _date in scrolling text

* remove redundant /
2019-12-12 00:33:27 +08:00
Jamie Dickson
5373f3d978 add smart usb and cifs searches to game folder paths 2019-12-06 15:01:49 +08:00
sorgelig
77c177bb97 scheduler option. 2019-11-26 12:41:14 +08:00
sorgelig
6997be60c3 file_io: fix FileLoad(0,0). 2019-11-20 20:37:19 +08:00
sorgelig
0b31ad20a7 file_io: add initialization for fileTYPE and more support for zip. 2019-11-20 13:40:01 +08:00
Newsdee
bbbc20f7eb Save input map files to /config/inputs/
* Save input map files to /config/inputs/
(old folder is still compatible, will revert if file not found)

* Reverted label to "undefine"
2019-11-07 22:53:16 +08:00
Jamie Dickson
45b35c2cff Allow use of "games" folder for core rom folders. 2019-10-21 03:12:47 +08:00
sorgelig
08c53f0b68 file_io: some cleanup. 2019-09-29 06:07:04 +08:00
Rikard Bengtsson
63642a7624 Pressing [UP] when on first menu item puts you at the last.
Pressing [DOWN] when on the last menu item puts you on the first.
2019-09-28 23:24:56 +02:00