Commit Graph

125 Commits

Author SHA1 Message Date
twinaphex
f5a8a934ac Cleanups 2019-08-11 11:14:45 +02:00
twinaphex
288523765a Fix LTGM errors - 'wrong type of arguments to formatting function' 2019-07-14 13:22:59 +02:00
twinaphex
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
twinaphex
820ffb9d20 Cleanups - cut down on the rest of unnecessary filestream_exists calls
- only use filestream_exists immediately before filestream_delete or
any other genuine filestream-related operations - when just checking
if a path exists on the filesystem, just use path_is_valid - faster
2019-05-31 06:43:20 +02:00
twinaphex
320d22f5b8 CXX_BUILD buildfix 2019-05-24 03:19:14 +02:00
twinaphex
9bc0478e9d (tasks) Cleanups 2019-05-23 13:05:15 +02:00
twinaphex
020b714113 Refactor task_screenshot.c 2019-05-22 05:54:35 +02:00
Twinaphex
d0707437c9 Remove some unused variables 2019-05-18 21:26:29 +02:00
twinaphex
c66963e8cf Turn this into static function 2019-05-12 09:51:45 +02:00
twinaphex
52d1b3fd88 task_save.c - simplify dump_to_file_desperate 2019-05-12 09:36:52 +02:00
M4xw
ca80a3a4da [Libnx] Toolchain related changes
-Remove switch_pthread - It should be no longer used
-Increase SAVE_STATE_CHUNK to 4MB
-Fix overclocking on Horizon 8.0+

Note: This requires the updated Toolchain before Merge
2019-04-26 21:58:40 +02:00
Brad Parker
e0b75ec3fb fix a whole bunch of memory leaks 2019-03-01 12:05:14 -05:00
Brad Parker
4f0d61a2ac update copyright 2019-02-22 19:13:36 -05:00
twinaphex
386657a366 (menu widgets backport) Re-commit task queue changes 2019-02-08 08:00:32 +01:00
twinaphex
7022786f34 Revert parts of menu_widgets that were causing breakage, but leave
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
natinusala
c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
twinaphex
b13777e9fc Header cleanups 2019-01-20 03:16:58 +01:00
twinaphex
3ac631c7a3 (MSVC) Some more static code analysis warning fixes 2019-01-10 22:49:23 +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
twinaphex
0ba8597041 Cleanups/silence warnings 2018-10-04 16:24:10 +02:00
twinaphex
931397671f Increase size of string to silence warning 2018-09-28 21:40:17 +02:00
twinaphex
09d27fc591 Silence some warnings 2018-09-15 07:19:51 +02:00
Sven
b4081d9347 implement libretro private def to allow cores to tell RA to save states in background 2018-09-07 19:09:56 -04:00
Tatsuya79
dd9db41403
fix task_save.c 2018-09-01 01:50:30 +02:00
Tatsuya79
64459bda3a
revert #7156
revert https://github.com/libretro/RetroArch/pull/7156
2018-09-01 01:41:21 +02:00
Twinaphex
e2a650cb26 Remove unused variable 2018-08-31 19:02:47 +02:00
Sven
75abd1f36e Merge remote-tracking branch 'upstream/master' 2018-08-30 12:07:41 -04:00
Sven
b8ab6c1e74 push save state into background for cores that need the emulator to be running to correctly save states 2018-08-30 11:21:31 -04:00
Brad Parker
b0146abd11 add fullpath and use_thread parameters to take_screenshot() 2018-08-18 23:08:55 -04:00
Sven
5f35249216 Implement robust cheat searching interface with rumble features 2018-07-25 19:19:14 -04:00
twinaphex
041670fe02 Get rid of multitude of casting warnings 2018-04-13 00:47:42 +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
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
twinaphex
c4d8a8c800 Free after intfstream_close 2017-12-11 20:24:00 +01:00
twinaphex
32511090ca (task_save.c) Move to intfstream 2017-12-11 14:56:58 +01:00
twinaphex
61d3f90cae Add hint defines to libretro.h 2017-12-11 12:53:47 +01:00
twinaphex
318f17c4cb Start using VFS API constant defines 2017-12-11 12:15:00 +01:00
twinaphex
2e979ec537 Replace function signatures of file_stream file functions 2017-12-10 22:25:38 +01:00
Brad Parker
68a8198e4a convert more file IO functions to use filestream, fixes encoding issues on Windows 2017-10-29 12:08:24 -04:00
Brian Koropoff
20aa59249c task_save: fix double-free 2017-10-11 21:26:26 -07:00
twinaphex
c68db61188 Silence more Clang warnings 2017-10-11 22:49:13 +02:00
Alcaro
dc4c2cd6d9 Wipe out a buncha warnings and pointless ifdefs (some warnings will remain until #5497 is fixed) 2017-10-03 00:26:29 +02:00
twinaphex
57ded65189 (task_save.c) Use malloc 2017-09-29 22:40:31 +02:00
twinaphex
0007d66bf8 Fix memory leaks 2017-09-11 02:22:46 +02:00
twinaphex
0724cbbf2b Reduce stack usage 2017-09-10 21:58:05 +02:00
twinaphex
6df9c7ca30 Cleanup 2017-09-09 20:10:28 +02:00
Brad Parker
0a1b3fedc0 VC6 support (targets NT 3.51) 2017-09-06 23:03:02 -04:00
Tatsuya79
1df9766491 Hide load message when saving state.
fix https://github.com/libretro/RetroArch/issues/4460
2017-05-30 14:07:04 +02:00