Commit Graph

284 Commits

Author SHA1 Message Date
twinaphex be81edad84 Create path_get 2016-09-29 08:23:41 +02:00
twinaphex 5bce79369a Get rid of global->sram.use, turn it into static boolean
variable inside rarch_ctl
2016-09-28 07:17:34 +02:00
twinaphex a1488ae34f Move subsystem path to paths.c 2016-09-25 15:49:09 +02:00
twinaphex 8e6d9a6978 move default_shader_preste code to paths.c 2016-09-25 04:55:16 +02:00
twinaphex 5f5ac1557e Turn command_event_save_current_config into static function 2016-09-24 17:19:38 +02:00
twinaphex 9637e4ee29 Attempt to fix issue #3605 2016-09-24 17:17:43 +02:00
twinaphex 3aea25479c Cleanups 2016-09-24 16:54:01 +02:00
Twinaphex 22bd770571 Cleanup unused variable 2016-09-24 16:51:45 +02:00
twinaphex a27bc0da4f Create static function command_event_save_config 2016-09-24 16:49:42 +02:00
twinaphex a090deb8c1 Cleanups 2016-09-23 03:50:10 +02:00
twinaphex 6222badb51 Remove header includes 2016-09-23 03:21:33 +02:00
twinaphex 02dc90d7bd Move code from runloop.c to dirs.c 2016-09-23 03:19:33 +02:00
twinaphex 2277428f52 Move more global->savefiles usage to task_save.c 2016-09-19 04:09:27 +02:00
twinaphex f91a8eacdb Move event_load_files to task_save.c 2016-09-19 04:05:44 +02:00
twinaphex 082476f7b2 Move code to paths.c 2016-09-19 03:03:31 +02:00
Gregor Richards d53373a5cb Netplay savestate loading frontend changes
Support for the frontend to inform Netplay when a savestate has been
loaded, so Netplay can in turn inform the peer.
2016-09-17 11:24:23 -04:00
twinaphex 075599e818 Start using path_ functions for accessing and modifying global->path.config 2016-09-17 13:14:14 +02:00
twinaphex b89def5d8f Rename config_get/config_set functions 2016-09-17 12:51:44 +02:00
twinaphex 1dd28bdf9f Move retroarch_set_pathnames/retroarch_fill_pathnames 2016-09-17 12:25:26 +02:00
twinaphex fb8237f1bb Cleanup command_event_save_current_config 2016-09-17 00:28:47 +02:00
Gregor Richards 27188e102d Support for savestate loading over netplay
Assuming the core supports saving/loading states, and (crucially)
assuming the states are portable across the architectures on both sides
of the connection, Netplay now supports the transmission of savestates.
Right now the frontend doesn't actually send any such requests, as it's
not clear exactly where the code for that should be.

This works in either direction, although I'll admit I have no idea what
happens if they both load at the same time.
2016-09-15 23:06:32 -04:00
twinaphex f648ea8602 Cleanups 2016-09-15 16:07:20 +02:00
twinaphex 233925bea6 Rename widgets/menu_popup to widgets/menu_dialog 2016-09-15 15:57:25 +02:00
radius 8fddf7f1ff prevent settings from propagating to main config when creating new overrides 2016-09-13 00:37:23 -05:00
twinaphex 51823f7169 Cleanups 2016-09-12 18:16:42 +02:00
twinaphex 056cc8ece8 Move menu_popu.c to menu/widgets 2016-09-11 21:03:31 +02:00
twinaphex 29c05599a3 Cleanup enum 2016-09-11 17:37:05 +02:00
twinaphex 583795ee36 Silence warning for targets that don't have HAVE_NETPLAY (GX/Wii) 2016-09-11 16:47:51 +02:00
Alcaro 439590d3ca More noise here... 2016-09-11 16:38:36 +02:00
twinaphex b93ef046a7 Header include cleanups 2016-09-11 16:31:23 +02:00
twinaphex 74c186c184 Cleanups 2016-09-08 08:08:50 +02:00
twinaphex 5aaebcfa62 Header include cleanups 2016-09-08 06:07:43 +02:00
twinaphex c3ba0ba4e9 Revert "Refactor core_system_info_* functions"
This reverts commit f637805c9e.
2016-09-06 08:38:26 +02:00
twinaphex f637805c9e Refactor core_system_info_* functions 2016-09-06 07:08:38 +02:00
twinaphex 82d82110ae Merge system.h with core.h 2016-09-06 06:11:54 +02:00
twinaphex 8467404fd6 Inline CMD_EVENT_LOAD_CORE_DEINIT 2016-09-06 05:05:50 +02:00
twinaphex a09601cbfa Change ifndef HAVE_DYNAMIC to ifdef HAVE_DYNAMIC 2016-09-06 04:55:24 +02:00
Brad Parker abd5d81b70 fix core unload when closing content 2016-09-05 12:46:28 -04:00
Brad Parker ef29bc96b0 do not return to game after canceling quit confirm if user toggled the menu manually 2016-09-05 11:35:27 -04:00
twinaphex 4bc837fe77 Fix confirm on exit codepath so that 'Quit RetroArch' works
again when selecting it
2016-09-05 08:21:51 +02:00
Brad Parker 276542ea98 more menu popup refactor, add back working confirm_on_exit 2016-09-05 01:04:15 -04:00
Brad Parker 27925da4ae revert confirm_on_exit option for now 2016-09-04 15:31:50 -04:00
twinaphex 6e89e8f209 Style nit 2016-09-03 23:31:26 +02:00
Twinaphex f5a4b402d7 (OSX) Fix some crashes that could occur 2016-09-03 23:27:53 +02:00
Brad Parker ee7545857c add config option to enable quit confirmation 2016-09-01 21:47:25 -04:00
twinaphex 4f577f1932 Get rid of some header includes 2016-09-01 05:36:52 +02:00
radius 725e41b20b (ovr) add osd messages 2016-08-26 09:54:15 -05:00
radius 671aa0f59c (ovr) add game overrides too 2016-08-26 09:43:29 -05:00
radius 45ca269573 (ovr) define paths for override files 2016-08-26 00:45:01 -05:00
radius c6c054bad1 (ovr) start implementing diff function 2016-08-25 01:34:51 -05:00
radius 1fbeebf8a9 (ovr) add menu items 2016-08-25 00:54:39 -05:00
twinaphex 7c19b2fac5 More translatable strings 2016-08-22 13:41:11 +02:00
twinaphex a43dab71ba More translated strings 2016-08-22 02:38:19 +02:00
twinaphex 60158f5247 Make it possible to compile again with ./configure --disable-rgui 2016-08-01 18:29:26 +02:00
Twinaphex a739b7e60c Merge pull request #3289 from fr500/master
Per-core & Per-game shader presets #2
2016-07-31 01:42:34 +02:00
twinaphex 8b706ad805 Start creating new history files for music/video/image 2016-07-30 22:47:43 +02:00
radius 785d5519a6 only load shaders compatible with the current backend 2016-07-30 15:28:47 -05:00
radius 0026a91d62 clear the runloop variable 2016-07-30 14:37:07 -05:00
radius d58c802e3b restore the original shader on close 2016-07-30 14:36:01 -05:00
radius fccb4387d2 implement shader overriding 2016-07-30 13:55:50 -05:00
twinaphex 58c425ef19 Revert "Refactor settings"
This reverts commit afcc9657d2.
2016-07-25 12:30:41 +02:00
twinaphex afcc9657d2 Refactor settings 2016-07-25 11:59:38 +02:00
twinaphex 2be127c04a Start wrapping settings->path.libretro 2016-07-24 11:12:26 +02:00
twinaphex 3fd8d0e1d2 Start using config_get_active_path 2016-07-23 14:22:04 +02:00
twinaphex 0506684e9f Cleanup 2016-07-23 11:22:13 +02:00
twinaphex 7ef4f5a717 Cleanup 2016-07-23 08:53:19 +02:00
twinaphex 282dbf0b38 (PS3) Should get playlist entries working again - now we need to
propagate the core path to the playlist correctly
2016-07-23 07:47:05 +02:00
twinaphex aae99faf12 (Non-HAVE_DYNAMIC) should correctly call retro_unload_game and
core_deinit now when we select 'Close Content'
2016-07-23 07:13:21 +02:00
twinaphex 3669d44de9 Create core_uninit_symbols function 2016-07-23 07:06:32 +02:00
Sebastien Ronsse f65eaf1de9 command: Remove core deinitialization on close for non-dynamic targets 2016-07-21 20:16:14 +10:00
twinaphex 0eb467e04d Dehardcode more strings, can get rid of some TODOS/FIXMEs 2016-07-01 07:28:46 +02:00
twinaphex dcbd68b11b Create FILE_PATH_AUTO_EXTENSION 2016-07-01 07:07:18 +02:00
Twinaphex 1e9300be68 Prevent crash inside command_event_save_auto_state 2016-07-01 07:03:44 +02:00
twinaphex dc4275b673 Should autosave state now at exit 2016-07-01 06:55:44 +02:00
Sebastien Ronsse 087e26bd2d command: Load dummy core on close only if core has not been initialized yet 2016-06-29 17:24:55 +10:00
twinaphex 099be6ed2d Use noext versions of fill_path* functions 2016-06-28 13:13:36 +02:00
twinaphex 7a745c3f70 Use string_is_empty 2016-06-28 11:02:51 +02:00
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