527 Commits

Author SHA1 Message Date
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
cf996f724e Rename HAVE_NETWORK_GAMEPAD to HAVE_NETWORKGAMEPAD - and
don't bake it in for the C89 build
2016-06-07 15:23:07 +02:00
twinaphex
b45824a7a8 Reorder files in Makefile.common 2016-06-07 06:14:28 +02:00
twinaphex
7ea0a19a4f Prevent crash 2016-06-05 19:29:55 +02:00
twinaphex
693ce8f6e5 (task_content.c) Fix explicit null dereferenced 2016-06-05 19:03:23 +02:00
twinaphex
620f541ca1 detect_ps1_game_sub - fix 'resource leak' 2016-06-05 18:32:26 +02:00
twinaphex
51c875fdee Cleanup 2016-06-05 03:04:09 +02:00
Twinaphex
86b35c8ff2 Merge pull request #3069 from fr500/undo
Undo savestate/loadstate
2016-06-05 01:19:35 +02:00
radius
28aafddd91 copy the old save state before making a new savestate 2016-06-04 12:38:55 -05:00
aliaspider
e23b39d2b5 (task_database_cue) ps1 scanning: the boot entry isn't always the first
one in SYSTEM.CNF
2016-06-03 20:09:23 +01:00
twinaphex
d6d757e240 Cleanups 2016-06-03 19:06:24 +02:00
twinaphex
7d30885ab9 Cleanup 2016-06-03 19:02:19 +02:00
twinaphex
8595e4cf75 task_push_content_load_default - cleanups 2016-06-03 18:59:57 +02:00
twinaphex
f675c5fdc7 task_push_content_load_default - simplify code a bit 2016-06-03 18:45:09 +02:00
twinaphex
6628da2646 Create CONTENT_MODE_LOAD_CONTENT_WITH_NEW_CORE_FROM_COMPANION_UI 2016-06-03 18:43:05 +02:00
aliaspider
748a913a6d (task_database_cue) more ps1 scanning fixes. 2016-06-03 11:36:48 +01:00
aliaspider
87788f0ffb (task_database_cue) ps1 scanning fix. 2016-06-03 10:46:55 +01:00
twinaphex
34ad3bd103 Cleanups 2016-06-03 05:24:21 +02:00
twinaphex
d9ba04e470 Fix CXX_BUILD 2016-06-03 02:43:30 +02:00
mudlord
4c53bdf4f9 add drag and drop 2016-06-03 09:14:53 +10:00
twinaphex
29ca5b8c34 Fix some unchecked return value issues 2016-06-02 22:49:26 +02:00
twinaphex
65d5ebc2bb Fix some dereference after null check warnings 2016-06-02 20:40:51 +02:00
twinaphex
1f3790fafa Fix statement is unreachable warning 2016-06-01 05:59:17 +02:00
twinaphex
36106dd90a C89_BUILD fix 2016-06-01 05:58:22 +02:00
twinaphex
da6ac4aae7 Fix explicit NULL dereferenced warnings 2016-06-01 04:05:14 +02:00
twinaphex
9bb8c41ff6 Fix uninitialized scalar variables warnings 2016-06-01 03:23:38 +02:00
twinaphex
ffdad57318 Fix double frees and resource leaks 2016-06-01 02:40:58 +02:00
twinaphex
5b52098c54 Reimplement verbosity 2016-05-31 04:42:04 +02:00
Diablodiab
d7bfe70ca1 Check if content has been passed to core even if the core does not need content.
Only start without content if no content has been passed.

This fixes a problem with cores that are both able to start with or without
content, eg. ScummVM.
2016-05-30 00:19:05 +02:00
twinaphex
e222df4eb6 Fix LOAD_CONTENT_WITH_NEW_CORE_FROM_MENU 2016-05-29 05:36:41 +02:00
twinaphex
78b208c441 Get rid of settings variable 2016-05-29 00:19:04 +02:00
twinaphex
eafb235e66 Cleanups 2016-05-29 00:03:15 +02:00
twinaphex
bf6fa07b25 Cleanups 2016-05-28 23:56:07 +02:00
twinaphex
2859f6f18d Cleanup 2016-05-28 23:53:13 +02:00
twinaphex
efaf6e10ee Cleanups 2016-05-28 23:48:32 +02:00
twinaphex
fdb218f64e We don't have to call task_load_core for ffmpeg/imageviewer paths 2016-05-28 23:40:58 +02:00
twinaphex
e0885a71e3 Remove core_path lines from ffmpeg/imageviewer paths 2016-05-28 23:39:04 +02:00
twinaphex
383a5968cc Create task_push_quick_menu 2016-05-28 23:34:21 +02:00
twinaphex
f8ed8ebde4 Create task_load_core 2016-05-28 23:20:43 +02:00
twinaphex
1b0c224c02 Create task_load_content 2016-05-28 23:16:57 +02:00
twinaphex
2b5aae8a21 Add this too 2016-05-27 21:41:14 +02:00
twinaphex
828b9c6c46 task_content.c - can now reach this code 2016-05-27 21:25:42 +02:00