173 Commits

Author SHA1 Message Date
twinaphex
f117d763d6 Create path_stat and use it 2019-05-22 02:21:30 +02:00
twinaphex
bc2bdd5734 config_file_read not needed anymore 2019-04-30 13:37:10 +02:00
Ghabry
5faf6a124d UWP VFS: Calculate buffer offset correctly when read fails due to EOF 2019-04-28 12:15:46 +02:00
Ghabry
c209b0b3d9 UWP: Improve IO performance by manually buffering short reads.
Reduce copies by binding by reference in the lambdas
2019-04-27 23:47:52 +02:00
Ghabry
4390317992 Revert "(UWP/WinRT)"
This reverts commit b43b3e2bb0554ca92db204855692d9a74332cfda.
2019-04-27 15:01:01 +02:00
twinaphex
b43b3e2bb0 (UWP/WinRT)
- Disable VFS for now - seems to be very problematic right now
- Move uwp_is_path_accessible_using_standard_io to file_path.c
since it seems to have no VFS dependencies, and rename it to
is_path_accessible_using_standard_io so it could possibly be later
used for other platforms as well that also have sandboxed filesystems
2019-04-27 09:20:19 +02:00
twinaphex
69168ec6bc Core info list iteration was calling path_stat two times on the same
paths - unnecessary file I/O is an issue with UWP/WinRT so let's cut
this down to only one path_stat. config_file_read function created -
acts the same as config_file_new except it doesn't check if the path
provided is actually a directory, which in turn would lead to another path_stat call
2019-04-22 01:13:19 +02:00
twinaphex
5cce51ed8d Move runtime_file to RetroArch 2019-03-01 01:22:35 +01:00
jdgleaver
38c54eaebe Add persistent content runtime logging 2019-02-27 16:20:59 +00:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
orbea
e062b98088 Remove trailing blank lines.
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
Twinaphex
b5d8b8b3bc
Merge pull request #8020 from krzys-h/vfs-v3
VFS v3 (improved)
2019-01-17 03:14:35 +01:00
Brad Parker
16fffd67ea Normalize archive progress calculation 2019-01-16 17:22:46 -05:00
krzys-h
e6fc4220fa Revert "Revert "VFS v3: stat, mkdir, directory listings""
This reverts commit a549e28f0101cf42b6ee6ef4834ddcf983f0b448.
2019-01-16 21:01:29 +01:00
Twinaphex
a549e28f01
Revert "VFS v3: stat, mkdir, directory listings" 2019-01-16 03:53:34 +01:00
Twinaphex
d4b33ac1ad
Merge pull request #7995 from krzys-h/vfs-v3
VFS v3: stat, mkdir, directory listings
2019-01-16 02:38:54 +01:00
krzys-h
cc7541338c Fix parent of root directory turning into ./ on Windows (#7803) 2019-01-14 20:48:55 +01:00
krzys-h
109de0bebb VFS v3: stat, mkdir, directory listings 2019-01-13 00:33:24 +01:00
twinaphex
9b801aee17 Buildfixes 2019-01-08 20:43:03 +01:00
Twinaphex
40997473ed
Merge branch 'master' into orbis2 2019-01-08 20:18:08 +01:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
orbea
849259d8f6 libretro-common: Sort config file conditionally.
This allows optionally sorting configure files and is needed to fix the
order of inputs in the autoconfig profiles which should not be sorted
alphabetically.

Fixes https://github.com/libretro/RetroArch/issues/7873
2019-01-03 15:28:32 -08:00
psxdev
d52de24e79 [ORBIS] Add support to config save for orbis 2019-01-03 21:23:44 +01:00
krzys-h
b201d669b5 First iteration of UWP support
Enough to kind of run

Working drivers: xinput, d3d11
Still missing: input driver with keyboard support, audio driver
2018-12-28 22:09:22 +01:00
twinaphex
49a3514147 Revert "Revert "bugfix cheat saving""
This reverts commit 98625796106ea6453102b67ac4108b856ed3b9a3.
2018-10-11 03:27:06 +02:00
twinaphex
c443d6b475 Revert "Revert this - was getting crashes in both OSX and MSVC 2003"
This reverts commit 7d0dba30071a6768448494435ce67400c509b7e5.
2018-10-11 03:26:58 +02:00
twinaphex
7d0dba3007 Revert this - was getting crashes in both OSX and MSVC 2003
in config_file.c inside config_get_entry
2018-10-10 23:34:16 +02:00
twinaphex
9862579610 Revert "bugfix cheat saving"
This reverts commit 4c3b06d64039c8cedd0a671d335783dc0a6fc288.
2018-10-10 23:27:19 +02:00
Sven
4c3b06d640 bugfix cheat saving 2018-10-10 11:10:49 -04:00
Sven
f53e1ca4b1 fix new rumble types ; increase max displayed cheats to 6000 2018-10-10 09:15:46 -04:00
Brad Parker
a1b831abdb allow 7z archives to have multiple files extracted at once 2018-08-06 20:44:59 -04:00
Sven
5f35249216 Implement robust cheat searching interface with rumble features 2018-07-25 19:19:14 -04:00
twinaphex
5ba2a621c0 Silence warnings 2018-07-14 00:45:16 +02:00
twinaphex
23b0444afe Update libretro-common 2018-05-28 17:30:56 +02:00
twinaphex
768ebbfdb5 Merge commit 'ce9ce1d35387ef8144e53bf071396fa075bfb6c5' as 'libretro-common' 2018-05-12 17:56:34 +02:00
twinaphex
0548349991 Remove libretro-common 2018-05-12 17:56:14 +02:00
twinaphex
74d4bc80d9 (libretro-common) Updates 2018-04-19 09:43:21 +02:00
twinaphex
be7eb4de1c Update libretro-common 2018-04-16 08:57:17 +02:00
twinaphex
1751f4a0af Make it possible to read bigger files by replacing ssize_t with int64_t
and size_t with uint64_t
2018-04-13 00:18:11 +02:00
twinaphex
89e912087b Put RARCH_INTERNAL ifdef around this 2018-03-28 16:41:37 +02:00
Brad Parker
aaf35f53f8 fill_pathname_parent_dir_name: return failure if path has no slash 2018-02-08 23:19:12 -05:00
twinaphex
f9a412dc11 Create fill_pathname_join_concat_noext and use it 2018-01-31 22:43:55 +01:00
Brad Parker
722137296d add fill_pathname_parent_dir_name function 2018-01-28 15:55:27 -05:00
Rob Loach
26b9cb3c78
libretro-common: Clean up dependencies of file_path
This moves a few functions that were defined in file_path_special to libretro-common to clean up the dependency tree.
2018-01-13 00:27:49 -05:00
radius
3b334b60d6 add display name and config name to autoconf 2018-01-11 17:06:14 -05:00
twinaphex
f2ddc8eff0 Revert "Simplify config_file_write"
This reverts commit a4500eeafc0b19dd9fe665059f2143d29fa01868.
2018-01-01 07:45:56 +01:00
twinaphex
a4500eeafc Simplify config_file_write 2017-12-20 17:07:31 +01:00
twinaphex
c7c4b723d6 Move path_file_exists to filestream and do away with filestream
dependencies in file/file_path
2017-12-14 20:05:46 +01:00
Brad Parker
8c0adf3594 move path_file_rename and path_file_remove into VFS 2017-12-14 13:32:26 -05:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00