Commit Graph

24 Commits

Author SHA1 Message Date
twinaphex f51dfa1de9 Cleanups 2016-06-30 06:11:55 +02:00
twinaphex f5bfbdeebe Rewrite strcpy usage 2016-06-27 08:09:34 +02:00
twinaphex 3cd76a6849 Cleanup 2016-06-27 07:02:22 +02:00
twinaphex a6bfc6240f C89_BUILD fixes 2016-06-23 07:40:51 +02:00
twinaphex 9d6086813b Use RARCH_LOG 2016-06-23 07:23:17 +02:00
Arzed Five 1f028395d2 Merge remote-tracking branch 'upstream/master' 2016-06-22 22:40:17 +01:00
twinaphex 2ebd6e6f49 Header cleanups 2016-06-20 06:34:30 +02:00
Alcaro 6949cfde68 C++ use means we use the C++ linker. Fixes #3129 2016-06-19 21:41:00 +02:00
Arzed Five 0d3a866356 Corrected a mistake, added some more error checking. 2016-06-11 17:21:09 +01: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 4d529ffbc0 Merge remote-tracking branch 'upstream/master' 2016-06-08 17:07:18 +01:00
Arzed Five c47b58228f Make this compile 2016-06-08 17:07:04 +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 f4c3a41f84 (Win32) Implement application process events 2016-06-07 17:28:51 +02:00
twinaphex 51c875fdee Cleanup 2016-06-05 03:04:09 +02:00
radius 28aafddd91 copy the old save state before making a new savestate 2016-06-04 12:38:55 -05:00
twinaphex ffdad57318 Fix double frees and resource leaks 2016-06-01 02:40:58 +02:00
twinaphex 42971febba Fix resource leaks (pointed out by Coverity) 2016-05-24 22:01:43 +02:00
twinaphex 9b421948e4 Create tasks/task_save_state.c 2016-05-17 15:21:09 +02:00