Commit Graph

157 Commits

Author SHA1 Message Date
Alcaro
5b388d8c92 Fix some Coverity errors 2016-06-27 21:16:49 +02:00
Hans-Kristian Arntzen
c80127d29d Vulkan: Hook up async compute test more properly.
Supports multiple queues and queues from different families.
2016-06-27 20:54:53 +02:00
twinaphex
728249fa61 Add more strings 2016-06-27 08:19:39 +02:00
twinaphex
946de514dc Don't use strcpy 2016-06-27 08:07:19 +02:00
twinaphex
07ce0eabd9 Cleanup 2016-06-27 07:57:14 +02:00
twinaphex
a6bfc6240f C89_BUILD fixes 2016-06-23 07:40:51 +02:00
Arzed Five
1f028395d2 Merge remote-tracking branch 'upstream/master' 2016-06-22 22:40:17 +01:00
twinaphex
f9d9070de8 command.c - cleanups 2016-06-20 22:04:59 +02:00
Alcaro
77d0745f38 Kill some warnings 2016-06-19 22:43:52 +02:00
Twinaphex
a52e55e909 Revert "Fix overlap of source and destination buffers in snprintf call" 2016-06-18 23:14:22 +02:00
Nikola Kocić
ebfb7652b0 Fix overlap of source and destination buffers in snprintf call 2016-06-18 22:53:49 +02:00
Alcaro
a2947da8ec Fix command_read_ram if core doesn't use the mem map envs. 2016-06-17 18:50:59 +02:00
Arzed Five
8e20b9e938 Both Undo options now write distinct messages in the OSD when buffers
are empty, when undoing fails and when undoing is successful.

Aside from some TODO/FIXME areas added by this fork, the features in the
fork are now complete.
2016-06-10 20:12:43 +01:00
Arzed Five
83a1d9ac1f Clean up some stuff, add comments, reduce the places where
content_reset_backup_buffers is called, try to make the undo messages
nicer.

* I'm trying to write to differentiate read/write errors from empty
buffer errors. I changed command.c and task_save_state.c so the
content_undo funcs are the ones writting the success messages.

I was told to use runloop_msg_queue_push() to write to the OSD, but that
doesn't seem to be working.
2016-06-09 16:14:40 +01:00
radius
4ad2eba602 cleanups 2016-06-08 23:02:19 -05:00
Arzed Five
9944ec98fd Both undo options print messages now. Undo Load State can now also be
undone ad infinitum. Doing it in succession swaps the current state for
the backed up state.
2016-06-09 00:38:27 +01:00
Arzed Five
8c5238c349 Undo Load State and Undo Save State both seem to be working. 2016-06-08 23:03:49 +01:00
Arzed Five
051cc3fe4d Undo Save State currently seems to be working almost as intended
(missing OSD messages). Undo Load State isn't working yet.
2016-06-08 20:27:54 +01:00
Arzed Five
70b1f385e8 Change task_save_state so we save a single state and a single savestate
file in memory, allowing to undo a loadstate/savestate once.
2016-06-07 18:33:01 +01:00
twinaphex
52b7a95a2b C89_BUILD fixes 2016-06-07 00:03:07 +02:00
twinaphex
8bef9743aa Avoid 'function not used' warnings 2016-06-06 23:42:12 +02:00
twinaphex
b110b08b25 command.c - Prevent explicit NULL dereferenced 2016-06-05 19:08:19 +02:00
twinaphex
85802e6d5a Prevent defined but not used warnings 2016-06-05 05:25:44 +02:00
Twinaphex
b59f7c0276 Merge pull request #3068 from libretro/command-ram
Add support for reading/writing core RAM over the command interface
2016-06-05 03:05:52 +02:00
radius
f80ecf7739 fix a few message issues with undo operations 2016-06-04 19:27:17 -05:00
radius
20540a8f42 add menu entry for undo save state 2016-06-04 14:34:06 -05:00
radius
93acf0caa9 check if saving undo data was successful 2016-06-04 12:42:45 -05:00
radius
28aafddd91 copy the old save state before making a new savestate 2016-06-04 12:38:55 -05:00
radius
aa81de0ca0 fix nit 2016-06-04 12:07:11 -05:00
Alcaro
e3f594564a Fix segfault if no game is loaded. 2016-06-04 18:26:11 +02:00
Alcaro
6484fb0c75 This fits better as an argument. 2016-06-04 17:51:27 +02:00
Alcaro
1a64520a23 Fix some silly copypasta. 2016-06-04 17:46:11 +02:00
Alcaro
d845093c7b Add support for reading and writing core RAM over the command interfaces. 2016-06-04 17:41:14 +02:00
radius
04fc5d042f fix osd message 2016-06-02 23:35:57 -05:00
radius
a86cf6b99d initial implementation of undo save state 2016-06-02 23:33:52 -05:00
twinaphex
da7f6a2a3b Prevent more warnings 2016-06-01 05:18:59 +02:00
twinaphex
7d26034ebe Rename rarch_task_* to task_* 2016-05-27 18:14:47 +02:00
twinaphex
150d05c160 Not sure why it tried to call input_overlay_free twice in a row 2016-05-27 04:09:46 +02:00
twinaphex
03ded43280 Prevent explicit null dereferenced warnings 2016-05-26 18:09:46 +02:00
twinaphex
cd176d0737 Remove input_overlay_init 2016-05-25 00:57:58 +02:00
twinaphex
25eaab0a2b Start passing input_overlay_t * state around to other functions 2016-05-24 23:15:19 +02:00
twinaphex
fd7e2cd394 input_overlay_new - Call input_overlay_free from outside 2016-05-24 15:25:46 +02:00
radius
6b0c978acb cut down some code duplication 2016-05-20 17:54:29 -05:00
radius
dbb8cf7e32 AUTOSAVE should happen before loading the dummy core, not after 2016-05-20 17:36:55 -05:00
radius
a49ef997de fix override unloading on close content 2016-05-20 02:21:15 -05:00
twinaphex
aabb1e409c Move netplay code to network/netplay dir 2016-05-19 11:46:54 +02:00
twinaphex
2559139154 Cleanup tasks_save_ram.c 2016-05-17 15:32:50 +02:00
twinaphex
146d2c8a1d Rename screenshot.c to tasks/task_screenshot 2016-05-17 14:31:33 +02:00
twinaphex
fcf2decb2e Remove persist argument 2016-05-17 09:07:41 +02:00
twinaphex
e10270d459 Delete runloop_prepare_dummy 2016-05-16 17:19:16 +02:00