Commit Graph

336 Commits

Author SHA1 Message Date
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
twinaphex
a687c47f7e Move command_event_cmd_exec to tasks/task_content.c 2016-05-16 14:58:08 +02:00
twinaphex
6ef0b86e30 Reimplement content loading - task_content_load 2016-05-16 12:51:55 +02:00
twinaphex
43b88cfba9 CMD_EVENT_LOAD_CONTENT_PERSIST - cleanup 2016-05-16 12:23:19 +02:00
twinaphex
449c7483cd Rename content_playlist_ to playlist_ 2016-05-16 09:07:44 +02:00
twinaphex
df3b090d7a Revert "Create runloop_get_system_info/runloop_free_system_info/runloop_init_system_info"
This reverts commit 35bf38e05c.
2016-05-12 09:37:21 +02:00
twinaphex
35bf38e05c Create runloop_get_system_info/runloop_free_system_info/runloop_init_system_info 2016-05-12 09:25:52 +02:00
twinaphex
c1bfe795f8 Create runloop_prepare_dummy 2016-05-12 09:04:31 +02:00
twinaphex
90d7722125 Remove CMD_EVENT_QUIT_RETROARCH 2016-05-11 20:56:02 +02:00
twinaphex
cf3f8d587c Cleanup 2016-05-11 20:53:28 +02:00
twinaphex
322d11e387 Avoid some warnings when compiling with --disable-netplay 2016-05-11 19:37:56 +02:00
twinaphex
7ebfe1b66d Create retroarch_set_pathnames 2016-05-11 04:32:29 +02:00
twinaphex
030513bcee Create retroarch_fill_pathnames 2016-05-11 04:29:01 +02:00
twinaphex
95a6428915 RARCH_CTL_FORCE_QUIT is the same as RARCH_CTL_QUIT 2016-05-11 04:24:27 +02:00
twinaphex
b9df6f52f5 Kill off a bunch of RARCH_CTL_LOAD_CONTENT enums 2016-05-11 04:22:22 +02:00
twinaphex
b79b2dca13 Create performance_counters 2016-05-10 08:53:14 +02:00
twinaphex
3dc55d4e72 command.c - cleanups 2016-05-09 21:36:17 +02:00
twinaphex
b3422b33fd Add parameter to command_new 2016-05-09 21:25:37 +02:00
twinaphex
f15f28ce02 Refactor some command code 2016-05-09 21:23:53 +02:00
twinaphex
2691ab0c7d Rename command_event enums 2016-05-09 20:51:53 +02:00
twinaphex
c6e65e1669 Rename functions 2016-05-09 20:41:59 +02:00
twinaphex
523ebed112 Combine command_event.c and command.c 2016-05-09 20:30:47 +02:00
twinaphex
3c74031c2f Rename rarch_cmd to command 2016-05-09 20:10:08 +02:00
twinaphex
80a453bad1 De-ioctlify command.c 2016-05-08 00:25:04 +02:00
twinaphex
70d3bce2bf (command.c) Nit 2016-05-02 19:36:02 +02:00
twinaphex
b25b2a0e6c Some code de-duplication 2016-05-02 18:54:55 +02:00
twinaphex
2d348f68f9 Cleanup 2016-05-02 01:33:47 +02:00
twinaphex
f4762f6f33 (netplay.c) Use socket_bind 2016-05-01 22:59:35 +02:00
twinaphex
004d9a613c Create socket_bind 2016-05-01 22:57:44 +02:00
twinaphex
78bb85e2f3 Reuse socket_init for net_http code 2016-05-01 22:45:32 +02:00
twinaphex
8b9456f419 Add socket_type to socket_init 2016-05-01 22:25:23 +02:00
twinaphex
a7b856b65f (libretro-common) Create net_socket 2016-05-01 21:18:45 +02:00
twinaphex
81e13aa2c1 (command.c) Cut down on some functions 2016-03-04 17:35:44 +01:00
Hans-Kristian Arntzen
adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00
twinaphex
fcac9a8401 Cleanups 2016-02-13 07:20:55 +01:00
twinaphex
954c5a86f6 Add rarch_cmd_ctl 2016-02-13 07:19:21 +01:00
twinaphex
6cb55231d9 use more string_is_equal 2016-01-20 05:21:52 +01:00
twinaphex
7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex
2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
twinaphex
9471020bf7 Reduce some more msg char variables 2015-12-06 15:55:05 +01:00
twinaphex
7d6b7b7729 Some cleanups 2015-12-06 13:17:04 +01:00
twinaphex
074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex
d65a445acd Fix concurrency issue with global->verbose 2015-11-22 20:50:39 +01:00
twinaphex
02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex
631da50dfa More static code analysis nits 2015-09-28 18:22:27 +02:00
twinaphex
432aac58a3 Get rid of more fcntl header includes 2015-09-18 04:03:11 +02:00
twinaphex
69ce3776b4 (command.c) Cleanups 2015-07-02 21:35:57 +02:00
twinaphex
934bf2cda1 (command.c) Translatable strings 2015-07-02 00:29:02 +02:00
twinaphex
affd3683de Remove instances of 'RetroArch' name with 'program' 2015-06-30 15:26:14 +02:00
twinaphex
9a2ca8cc9c (command.c) Refactor 2015-06-14 17:19:32 +02:00
twinaphex
29c82f9360 (General) Cleanups pt. 2 2015-06-12 17:04:25 +02:00
twinaphex
4dfaddd16f (command.c) Add MENU_LEFT and MENU_RIGHT 2015-04-10 08:09:59 +02:00
Radius
2f2a86e97f add osk enable hotkey 2015-03-25 22:24:12 -05:00
twinaphex
4c9ac9d6e4 Use video_driver_set_shader 2015-03-22 22:17:52 +01:00
twinaphex
e6f0d366cb Go through global_get_ptr 2015-03-21 04:43:18 +01:00
twinaphex
d2c97de070 Move net_compat/net_http to libretro-common 2015-03-20 17:56:00 +01:00
twinaphex
3670ef2ac5 Go through driver_get_ptr to grab pointer to driver struct 2015-03-18 19:40:00 +01:00
twinaphex
00239a30d6 Create wrapper functions for passing a message to the runloop's
message queue
2015-03-15 02:47:23 +01:00
twinaphex
795ef467ac Move msg_queue and nbio/http to runloop struct 2015-03-07 13:01:41 +01:00
mwtremblay
5e7295d87f Fix for issue #1365 2015-01-28 20:29:07 -05:00
Higor Eurípedes
41a48b8ac8 Rename netplay_compat.* to net_compat.* 2015-01-27 20:16:08 -03:00
twinaphex
f6d0a80b3d (Netplay) Create wrapper function for select() 2015-01-23 11:44:13 +01:00
twinaphex
cec500ece5 Create socket_close in netplay_compat.c 2015-01-23 11:36:45 +01:00
twinaphex
57933ec70e Get rid of CONST_CAST/NONCONST_CAST - just do this by default 2015-01-23 11:30:13 +01:00
twinaphex
4cb34282c5 Move socket_nonblock to netplay_compat.c 2015-01-23 11:11:22 +01:00
twinaphex
4cdbe6f0c6 Usse wrapper functions freeaddrinfo/getaddrinfo in command.c 2015-01-23 08:46:31 +01:00
twinaphex
46402deb04 Use PATH_MAX_LENGTH instead of PATH_MAX.
Refactor OSX settings menu code somewhat
2015-01-17 05:47:52 +01:00
twinaphex
453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex
9daecea53e Create network_init and network_deinit functions 2014-12-21 03:29:52 +01:00
twinaphex
d025637eca Remove driver.h include in command.c 2014-10-22 07:09:31 +02:00
twinaphex
9a9fa6532a Move file_path.c to libretro SDK 2014-10-22 00:23:06 +02:00
a-shark
4439644e69 Add support for more Network Commands. 2014-10-07 23:04:46 -05:00
AndresSM
7249ebc00c fix disk_next, add option for disk_prev 2014-10-07 20:19:12 -05:00
Lioncash
a300ce5b2e command: Fix possible null dereference in rarch_cmd_free
Free called on null pointers is OK, but if it's ever null and it hits this conditional, it will be a null pointer dereference.
2014-09-12 08:07:41 -04:00
twinaphex
46b6b112b8 Cleanups - C-style comments, 80-char limit 2014-09-03 06:14:13 +02:00
twinaphex
e84e255013 Cleanups, 80-char limit 2014-09-02 05:10:54 +02:00
twinaphex
823be1ce41 Get rid of more driver_funcs macros 2014-08-15 20:51:59 +02:00
twinaphex
ed25984a3c command.c - declare variables at top 2014-08-03 01:38:49 +02:00
twinaphex
64fe591b64 Expand ifdefs for HAVE_NETWORK_CMD 2014-08-02 04:24:05 +02:00
twinaphex
25e0ead417 Build fix - make RetroArch work without HAVE_NETPLAY defined 2014-08-02 04:21:07 +02:00
twinaphex
6f32841647 Rename g_extern.verbose to g_extern.verbosity to avoid
collisions on OSX
2014-07-18 00:39:31 +02:00
Themaister
08cfb27f35 Fix some C++ issues. 2014-06-17 17:10:24 +02:00
Themaister
c7eee695ce Remove references to XML shaders. 2014-05-25 23:40:14 +02:00
Themaister
addba80c3b Rewrite DSP plugin interface. 2014-05-20 12:28:33 +02:00
Themaister
3a1c3f608a Fix some GCC 4.9 warnings. 2014-05-02 18:23:07 +02:00
Themaister
bad7f9af82 Check command interface in rarch_input_poll. 2014-03-17 11:34:25 +01:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
ToadKing
4118fd4670 fix variable shadowing in command.c 2013-11-03 22:10:31 -05:00
Themaister
7aa8b40759 Fixup C89 for loops. 2013-10-22 21:37:56 +02:00
Themaister
f88ea04c28 Remove fixed shader index in set_shader. 2013-04-07 13:00:21 +02:00
Themaister
292bc36b43 Basic mouse grabbing for X11. 2013-03-29 18:55:54 +01:00
Themaister
c100b1371c Update command interface.
Use ';' to split args instead of ':' to avoid breaking
Windows path handling.
2013-03-17 11:11:14 +01:00
Themaister
551a464978 Rework index parameter to set_shader(). 2013-01-08 04:08:15 +01:00
twinaphex
b56b645366 Rename RARCH_SHADER_BSNES to RARCH_SHADER_GLSL 2013-01-07 17:03:10 +01:00
twinaphex
3a5d056b95 Expand functionality of set_shader callback function 2013-01-07 16:46:26 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
Themaister
3e2863af4a Add VOLUME_UP, VOLUME_DOWN to command interface. 2012-11-03 20:12:57 +01:00
Themaister
85a89dc43e Fix build with --disable-netplay. 2012-10-22 20:48:51 +02:00
Themaister
b8abf34785 Purge some now useless code.
Removes manual input rate adjustments.
Don't allow DSP plugs to resample as it would complicate things alot
with dynamic rate control.
Also purges optional ssnes_* symbols for external plugs.
2012-10-13 20:22:45 +02:00
Themaister
35c3a4a252 Fix build on #ifndef _WIN32. 2012-09-23 11:06:26 +02:00
Themaister
f8a57ef690 Fix crash in Windows when UDP CMD was disabled. 2012-09-23 10:53:19 +02:00
Themaister
c55f71c49d Shaders can be swapped out in command interface. 2012-09-21 21:56:54 +02:00
Themaister
e3a2bf1463 Fix build if --disable-netplay is used. 2012-08-08 07:40:00 +02:00
Themaister
c76a4b4092 Nonblock console reads appear to work on Win32. 2012-08-07 22:36:44 +02:00
Themaister
01f9ad8d8d Build in STDIN_CMD on Win32. 2012-08-07 21:31:43 +02:00
Themaister
6f8f063b90 Simplify win32 read_stdin(). Still untested. 2012-08-05 13:01:33 +02:00
Themaister
f3d9eed89f Add preliminary stdin reading for Win32 (untested). 2012-07-28 10:57:14 +02:00
Themaister
38f7673fac Add command functionality to stdin. 2012-07-25 04:50:46 +02:00