Commit Graph

93 Commits

Author SHA1 Message Date
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
twinaphex
126a5bf121 Use string_is_equal_fast/string_is_not_equal_fast 2017-05-16 04:00:37 +02:00
twinaphex
80d9d1f143 Rewrite task_queue 2017-05-14 20:43:48 +02:00
twinaphex
b22d7902f1 Turn macro back into function 2017-05-13 19:37:16 +02:00
radius
4af9a92f76 fix 3829 2017-05-09 22:10:46 -05:00
twinaphex
924296c680 task_save.c - remove runloop.h header include 2017-05-07 17:53:53 +02:00
twinaphex
4d20460e6b Cleanup task_save.c 2017-05-07 17:52:48 +02:00
twinaphex
750d404e23 Rewrite autosave_init 2017-05-07 17:45:53 +02:00
twinaphex
05e4ec733e Move uint variables 2017-04-28 21:03:04 +02:00
twinaphex
7bbd20b31d Move int settings 2017-04-28 19:12:48 +02:00
twinaphex
ed53be7c81 Move all bool settings 2017-04-28 14:11:34 +02:00
Twinaphex
b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
radius
e980577531 fix #4663 2017-02-18 20:10:37 -05:00
twinaphex
7a5ed7cc65 Add filestream_flush and use filestream interface for tasks/task_save.c 2017-02-17 03:03:18 +01:00
twinaphex
50a7e634c9 Get rid of this log message 2017-01-24 15:15:41 +01:00
twinaphex
4aac4aa2e6 Revert "Use task_set_title"
This reverts commit c867784898.
2017-01-23 14:15:26 +01:00
twinaphex
c867784898 Use task_set_title 2017-01-23 13:19:35 +01:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
Brad Parker
41f40acfc4 guard task struct read/writes across threads with a mutex, fixes several data races found by ThreadSanitizer and helgrind 2016-12-29 00:54:12 -05:00
twinaphex
67f1cca625 Don't try to use settings_t pointer from task callback functions 2016-12-29 06:09:58 +01:00
twinaphex
31aa1d6d19 Fix saved state message 2016-12-28 00:44:29 +01:00
twinaphex
6708da5ec1 task->progress is where the data race issues come from - commenting
out for now
2016-12-28 00:20:34 +01:00
twinaphex
91f3a4bf11 Remove this - not threadsafe 2016-12-27 23:21:00 +01:00
twinaphex
3ec564f97c Revert "(task_save.c) Cleanups"
This reverts commit d6aae88737.
2016-12-27 20:11:22 +01:00
twinaphex
c6269e3ade (task_save.c) Further cleanups 2016-12-27 15:16:42 +01:00
twinaphex
2a5e74ecb0 Cleanup autosave_free/autosave_deinit 2016-12-27 15:14:27 +01:00
twinaphex
a42d5c9ec8 Cleanup autosave_unlock 2016-12-27 03:15:58 +01:00
twinaphex
b0ebd33094 (task_save.c) Cleanups 2016-12-27 02:14:35 +01:00
twinaphex
d6aae88737 (task_save.c) Cleanups 2016-12-26 18:25:42 +01:00
twinaphex
77e5cdbfde Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
This reverts commit ad7386913c.
2016-12-22 23:36:11 +01:00
twinaphex
ad7386913c Rename runloop_msg_queue_push to video_driver_msg_queue_push
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
twinaphex
86a222e0e6 Create just one screenshot function 2016-12-06 06:52:57 +01:00
Brad Parker
94915815ae use task message system 2016-12-06 00:24:45 -05:00