92 Commits

Author SHA1 Message Date
nretro
790722c920 Merge remote-tracking branch 'refs/remotes/origin/master' 2019-05-25 20:04:43 +02:00
nretro
0be93e7b89 get size of special file by calling ioctl 2019-05-25 20:02:49 +02:00
sorgelig
82312678b8 Picture and logo for menu background. 2019-05-25 22:43:05 +08:00
sorgelig
ec41bbfcb2 Extract video functions to separate file, some refactoring. 2019-05-20 20:01:04 +08:00
sorgelig
798c996c6e Update screenshot code. 2019-05-09 21:41:33 +08:00
Alan Steremberg
a3be270853 added screenshot 2019-05-08 15:57:38 -07:00
sorgelig
b5968296a9 Add cheat engine. 2019-05-08 23:03:25 +08:00
sorgelig
00a75bd80b Fix EOL in sources. 2019-03-22 20:38:14 +08:00
sorgelig
0cc54cc2ea file_io: fix: file name haven't stored in fileTYPE for files in zip. 2019-03-15 03:33:28 +08:00
sorgelig
a6ac6708ae file_io: remove obsolete functions. 2019-02-05 16:01:36 +08:00
sorgelig
dade2f6dbe OSD: Volume control option. 2019-01-26 17:10:23 +08:00
sorgelig
07f4d0c5b3 Support for * wildcard. 2019-01-25 07:12:50 +08:00
sorgelig
9edfb310b5 Fix the ZIP browsing. 2019-01-20 19:36:05 +08:00
sorgelig
325f6b6ce4 Improved handling of symbolic links. 2019-01-19 02:38:10 +08:00
D0023R
624cae7f5d Add symbolic links handling 2019-01-18 14:09:44 +01:00
sorgelig
c28920bd0e Merge pull request #45 from makigumo/master
use END key to navigate to last file in directory
2019-01-17 10:26:12 +08:00
Dan
873b4425a6 use END key to navigate to last file in directory 2019-01-17 03:06:49 +01:00
sorgelig
e1e15a68da ScanDirectory: fix initial location. 2019-01-16 14:09:13 +08:00
sorgelig
6b76a9a088 Use separate save folder for all saves. 2019-01-11 11:23:49 +08:00
sorgelig
259067b260 file_io: fix seek, fix fread/fwrite arguments. 2019-01-11 01:34:33 +08:00
sorgelig
e1186a95c4 Hide menu_20* items from list. 2019-01-11 00:28:11 +08:00
sorgelig
c2697a9473 Flush the buffer after write. 2019-01-10 23:55:30 +08:00
sorgelig
67442742c5 Fix locating the file in catalog. 2019-01-10 22:59:10 +08:00
sorgelig
9667e3996c file_io: use char* instead of string. 2019-01-10 21:54:14 +08:00
sorgelig
aa986789a8 file_io: fix and some refactoring. 2019-01-10 19:53:22 +08:00
sorgelig
ed41061adc Fix the warnings. 2019-01-10 09:52:27 +08:00
David Holm
868c60f99f file_io: Zip file support
Support for loading files stored inside a zip file.

Treats zipped files as folders and allows loading files from inside the
zip file.  Files are loaded on-demand from the archive.

Nested zip-files are currently not supported.
2019-01-09 21:00:56 +01:00
David Holm
0a0341bf81 file_io, DiskImage, sharpmz: Replace fd with FILE*
Replace file descriptor with a file stream in preparation for supporting
zipped files.

The API to miniz requires the use of file streams and since a file
descriptor can easily be extracted from a stream using `fileno` it's
much more convenient to use file streams everywhere.
2019-01-09 20:58:29 +01:00
David Holm
abf99063dc file_io: Yield while loading directories
Yield at an interval during the loading of directory entries as well as
while sorting them in order to not starve the poll functions.

The maximum time between calls to `user_io_poll` in the main loop were
measured while loading a folder containing 29026 entries:

 - Original main-loop:       591ms
 - With coroutines + yields:  29ms

The amount of time it takes to load and sort the 29026 entries:

 - Original main-loop:       591ms
 - With coroutines + yields: 686ms

By increasing the value of `YieldIterations` in `file_io.cpp` the load
time will decrease while increasing the delay between calls to
`user_io_poll`.
2019-01-04 23:37:53 +01:00
David Holm
be5b51308b file_io: Support unlimited number of directory entries
Stores directory entries in a std::vector instead of an array of
hardcoded size.  The vector will dynamically grow to the number of
available entries in a folder without having a hardcoded upper limit.
2019-01-01 18:19:17 +01:00
sorgelig
ddd5b75d2b Fix the warnings and some errors. 2018-12-29 21:15:25 +08:00
sorgelig
c63bc586f7 Automatic save file creation. 2018-11-21 07:28:07 +08:00
sorgelig
44d7476d60 Support for AScaler settings. 2018-11-08 05:11:20 +08:00
sorgelig
e7429ec866 Support for composite RBF. 2018-09-29 15:58:23 +08:00
sorgelig
abbe31a0d0 Improved file lister. 2018-09-08 19:54:07 +08:00
sorgelig
5f954ddd2b Option to reduce FileOpen messages flood. 2018-07-11 15:52:04 +08:00
sorgelig
b5441b1d12 Implement mask for OSD file extensions. Send file extension to the core. 2018-07-08 16:34:05 +08:00
sorgelig
3facbe338d Detect the path of core. 2018-05-19 02:04:49 +08:00
sorgelig
a24ad65f80 Do not hide boot.vhd in file selector. 2018-05-17 12:54:05 +08:00
sorgelig
b726499682 Add ISO extension for Minimig HDD selection. 2018-05-12 05:19:13 +08:00
sorgelig
96e3d58b31 Support for miltiple configs per RBF. 2018-04-01 06:17:08 +08:00
sorgelig
d235e806b2 Move to C++. Use C++14 as it adds binary literals -> HDL friendly. 2018-02-28 01:58:21 +08:00