Commit Graph

1533 Commits

Author SHA1 Message Date
twinaphex
e58eee37bc Cleanups 2017-06-28 05:44:59 +02:00
twinaphex
b11620e1eb Add retro_timers.h/retro_math.h 2017-06-28 04:41:38 +02:00
Charlton Head
4ae7718f1c add ; when !HAVE_MENU 2017-06-20 20:53:46 -05:00
twinaphex
6af5bd01bf Merge retro_stat and file_path 2017-06-16 15:00:11 +02:00
twinaphex
060753258a Combine input_driver.c and input_keyboard.c 2017-06-11 17:51:12 +02:00
twinaphex
c14c4cd394 Use BIT64_SET 2017-06-11 16:45:55 +02:00
twinaphex
d482739dfd Fix binding 2017-06-10 23:26:52 +02:00
hizzlekizzle
0319041ffb change --help text for --log-file option
--log-file seems to be one of the few CLI switches that doesn't accept both space and =. Instead, it will fail to launch if you use the '=', which is the suggested syntax in the --help text.
2017-06-10 15:39:59 -05:00
radius
f2a8b11ef7 prevent these tasks to run more than once on shutdown 2017-05-31 00:34:01 -05:00
twinaphex
bc7427732c Buildfix 2017-05-30 16:57:29 +02:00
twinaphex
3d4d9b09cf Comment this out 2017-05-30 01:47:49 +02:00
twinaphex
449483206f Revert "New attempt to fix memory leaks of struct retro_system_info"
This reverts commit a1d3dd69dd.
2017-05-30 01:44:49 +02:00
twinaphex
a1d3dd69dd New attempt to fix memory leaks of struct retro_system_info
char variables
2017-05-29 22:24:10 +02:00
twinaphex
1cdd0e47cb Backport polling updates - mouse smoothness was broken in cores 2017-05-29 20:30:01 +02:00
twinaphex
b4e16c243c Style nits 2017-05-29 14:58:30 +02:00
twinaphex
2fa401ef26 Remove #if 0 2017-05-29 14:54:25 +02:00
twinaphex
5521d58994 Only use runloop_get_system_info function outside retroarch.c 2017-05-29 05:38:33 +02:00
twinaphex
30047af7a3 Get rid of these strdup leaks 2017-05-29 04:39:12 +02:00
twinaphex
a58cbf6e42 Call libretro_free_system_info from RARCH_CTL_PREINIT 2017-05-29 03:26:05 +02:00
twinaphex
3fbed8df27 (Menu) Menu driver no longer uses a duplicate system info
struct
2017-05-28 17:21:57 +02:00
twinaphex
c74104f8c9 Get rid of RARCH_MENU_CTL_SYSTEM_INFO_* 2017-05-28 16:25:46 +02:00
twinaphex
dbbcba41a5 Clean this mess up 2017-05-28 15:03:03 +02:00
twinaphex
11576f1d99 Cleanup 2017-05-27 03:43:53 +02:00
Jean-André Santoni
329447f51c Fix warning 2017-05-25 15:40:29 +02:00
twinaphex
4f678dfdfc Cleanups 2017-05-25 15:04:55 +02:00
twinaphex
80b5bcd16c Cut down on some code duplication 2017-05-24 02:02:01 +02:00
twinaphex
a8b91ee910 Respect C89 rules 2017-05-21 23:55:53 +02:00
twinaphex
08521a02ba Move input code to runloop_check_state 2017-05-21 23:53:39 +02:00
twinaphex
954b95cc81 Cleanups 2017-05-21 22:43:40 +02:00
twinaphex
d7de9facc3 Simplify input_keys_pressed 2017-05-21 22:31:15 +02:00
twinaphex
77d83b4782 Cleanups 2017-05-21 21:55:20 +02:00
twinaphex
8bf552dacd Move this code to retroarch.c 2017-05-21 21:42:13 +02:00
twinaphex
f8f25602e8 Get rid of old_input variable 2017-05-21 21:24:01 +02:00
twinaphex
a35e452ec3 Use trigger_input only for menu 2017-05-21 21:19:07 +02:00
twinaphex
68ecade37d Revert "Call button combo toggle for quick menu toggle from runloop_check_state"
This reverts commit 4d4b00f877.
2017-05-21 20:57:36 +02:00
twinaphex
4d4b00f877 Call button combo toggle for quick menu toggle from runloop_check_state 2017-05-21 20:53:33 +02:00
twinaphex
184b519f84 Cleanups 2017-05-21 20:43:55 +02:00
twinaphex
136a435c43 Fix keys while in binding mode 2017-05-21 20:42:46 +02:00
twinaphex
c64c072b43 runloop_cmd_triggered no longer needed 2017-05-21 16:36:27 +02:00
twinaphex
cae04ff5f2 Cleanups 2017-05-21 16:36:08 +02:00
twinaphex
1d6b24b545 Optimize pause checks 2017-05-21 16:31:14 +02:00
twinaphex
aeddb18e31 Rewrite netplay checks 2017-05-21 14:18:10 +02:00
twinaphex
759b963c2f Rewrite menu toggle check 2017-05-21 13:54:17 +02:00
twinaphex
d08b785f9d Rewrite quit key handling 2017-05-21 13:50:59 +02:00
twinaphex
24c7bcb196 Rewrite more code 2017-05-21 13:39:29 +02:00
twinaphex
1e02bd3455 Rewrite fast forward code 2017-05-21 13:32:36 +02:00
twinaphex
d1b50acfee Rewrite check shader next/prev 2017-05-21 13:26:25 +02:00
twinaphex
45477658e1 Rewrite cheats 2017-05-21 13:17:48 +02:00
twinaphex
f85ab1f535 Cleanups 2017-05-21 13:06:48 +02:00
twinaphex
66b1ad99d4 Rewrite RARCH_PAUSE_TOGGLE 2017-05-21 12:59:36 +02:00
twinaphex
f847548178 Cleanup 2017-05-21 12:57:28 +02:00
twinaphex
d61e5504a7 Get rid of static functions 2017-05-21 12:09:24 +02:00
twinaphex
a19128422d Cleanup 2017-05-21 12:06:08 +02:00
twinaphex
cd4c17624a Create check_reset 2017-05-21 12:00:03 +02:00
twinaphex
004a299b74 Create check_savestates 2017-05-21 11:52:36 +02:00
twinaphex
be2fb7b10d Refactor savestate slot increase/decrease 2017-05-21 11:46:26 +02:00
twinaphex
999f7971ed Move macros 2017-05-21 11:36:47 +02:00
twinaphex
3ad2d593fb Cleanups 2017-05-21 10:37:39 +02:00
twinaphex
a0924a414f Get rid of some unnecessary function callback wrapper functions 2017-05-21 09:30:32 +02:00
twinaphex
e02cfe8cb0 Call core_poll at top of runloop_iterate only once 2017-05-20 22:55:34 +02:00
twinaphex
188d213c8d Cleanups 2017-05-20 19:24:21 +02:00
twinaphex
5f75ce3f12 Cleanups 2017-05-20 14:17:14 +02:00
twinaphex
c1190551b2 Get rid of RUNLOOP_STATE_NONE 2017-05-20 14:14:27 +02:00
twinaphex
40a287a7c1 Turn function into static function 2017-05-20 11:34:51 +02:00
twinaphex
30d032ba5a Prevent some calls to menu_driver_is_alive() 2017-05-19 16:29:11 +02:00
twinaphex
21a58f13ec Revert this - seems to have come at a performance cost 2017-05-19 16:26:00 +02:00
twinaphex
59fb7700b8 Combine menu_driver.c and menu_display.c 2017-05-19 15:25:14 +02:00
twinaphex
65b740a5ff Use some local variables 2017-05-17 08:51:49 +02:00
twinaphex
54c526f1e2 Cache menu_driver_is_alive function call 2017-05-17 08:47:23 +02:00
twinaphex
204f0183e1 Header cleanups 2017-05-17 05:06:52 +02:00
twinaphex
126a5bf121 Use string_is_equal_fast/string_is_not_equal_fast 2017-05-16 04:00:37 +02:00
twinaphex
67610b8263 Update task_audio_mixer.c 2017-05-15 11:07:12 +02:00
twinaphex
bf3188eac4 Combine runloop_ctl and rarch_ctl 2017-05-15 05:06:23 +02:00
twinaphex
06f3feec61 Cleanups 2017-05-15 04:39:09 +02:00
twinaphex
160c8167d6 Cleanups 2017-05-15 04:36:48 +02:00
twinaphex
e2c7671e9f Create rarch_menu_running/rarch_menu_running_finished 2017-05-15 04:31:40 +02:00
twinaphex
c898ef1d6d Attempt to copy over audio mixer data 2017-05-15 01:28:46 +02:00
twinaphex
b4e3a22fe6 Update 2017-05-14 23:59:06 +02:00
twinaphex
949a5c76fe Cleanup 2017-05-14 23:58:48 +02:00
twinaphex
ec96fe89e9 Add callback function 2017-05-14 23:30:45 +02:00
twinaphex
3afd2497d2 Add test 2017-05-14 23:27:03 +02:00
twinaphex
a7d09733a6 Get rid of rarch_ctl/runloop_ctl calls from menu_display.c 2017-05-13 20:00:51 +02:00
twinaphex
45a648b042 Cleanups 2017-05-13 18:51:16 +02:00
twinaphex
d87e1c57d6 Cleanups 2017-05-13 18:20:14 +02:00
twinaphex
e7061a8d2a Cleanups 2017-05-12 03:45:49 +02:00
twinaphex
fa4a8b8bbd Cleanups 2017-05-12 03:39:37 +02:00
twinaphex
2ce9d71553 Start cutting down on runloop_ctl actions 2017-05-11 09:20:35 +02:00
twinaphex
42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
twinaphex
0eec872442 Kill some rarch_ctl actions 2017-05-08 03:59:02 +02:00
twinaphex
9605c01c49 Rename command_event_quit to retroarch_main_quit 2017-05-08 03:54:51 +02:00
twinaphex
e6ab06a701 Move path variables 2017-04-29 00:39:29 +02:00
twinaphex
5c024f1cd8 Fix memory leak 2017-04-28 21:47:26 +02:00
twinaphex
05e4ec733e Move uint variables 2017-04-28 21:03:04 +02:00
twinaphex
7bbd20b31d Move int settings 2017-04-28 19:12:48 +02:00
twinaphex
ed53be7c81 Move all bool settings 2017-04-28 14:11:34 +02:00
twinaphex
0e1406f3f1 Go through configuration_ wrapper functions 2017-04-27 23:34:47 +02:00
twinaphex
3ec5816259 Rewrite RUNLOOP_CTL_SYSTEM_INFO_GET 2017-04-23 16:41:26 +02:00
twinaphex
6ebd4e139e Rewrite more string_is_equal call invocations as memcmp 2017-04-22 08:51:16 +02:00
Zoran Vuckovic
129151d5fc add wasapi audio driver 2017-04-11 00:24:37 +02:00
twinaphex
8c89ec158c Update copyrights 2017-03-22 03:09:18 +01:00
twinaphex
58c08c0c02 Cleanups 2017-02-27 09:33:20 +01:00
Twinaphex
b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex
19bf048b68 Add log message 2017-02-26 06:44:35 +01:00
twinaphex
e2b3c72b9d Add ifdef around this 2017-01-29 05:06:14 +01:00
Twinaphex
2596de53ec Merge pull request #4523 from fr500/master
add support for no content cores
2017-01-29 04:51:50 +01:00
radius
ca926f0a50 fix saving for contentless cores 2017-01-28 22:48:51 -05:00
Alcaro
1ad8a72635 Make sure this shows up in --verbose logs 2017-01-28 18:03:02 +01:00
twinaphex
018cb7ebe6 Add another parameter to content_get_status 2017-01-25 15:51:57 +01:00
twinaphex
361bd471de Create content_get_status 2017-01-25 15:44:21 +01:00
Alcaro
6ff36461b4 Fix #4493 in a less incompatible way 2017-01-25 00:34:58 +01:00
twinaphex
0d5b3b9273 Create menu_driver_is_alive 2017-01-23 00:37:52 +01:00
twinaphex
05d455a8ce Cleanups 2017-01-17 20:07:41 +01:00
twinaphex
aa59b33931 Use input_config_set_device 2017-01-17 19:59:33 +01:00
twinaphex
c3f16de4d4 Use HAVE_COMMAND ifdef here 2017-01-17 15:37:40 +01:00
twinaphex
cb64f28950 Create drivers_init 2017-01-16 22:04:57 +01:00
twinaphex
77e5cdbfde Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
This reverts commit ad7386913c.
2016-12-22 23:36:11 +01:00
twinaphex
ad7386913c Rename runloop_msg_queue_push to video_driver_msg_queue_push
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
Twinaphex
76c4a4f7a0 Merge pull request #4279 from sethk/macos_cleanup
macOS cleanup
2016-12-19 23:15:10 +01:00
Gregor Richards
f7f6590156 Goodbye delay_frames! stateless_mode is the new delay_frames=0 2016-12-18 19:28:43 -05:00
Gregor Richards
9b2270f5d4 Say goodbye to spectator mode (for now) 2016-12-18 19:28:42 -05:00
Seth Kingsley
b690fb2abc Use native getopt_long() on macOS 2016-12-17 16:56:40 -08:00
twinaphex
96ffd8e025 Revert "Remove HAVE_COMPRESSION ifdefs in file_path.c"
This reverts commit 4103b70833.
2016-12-17 12:55:38 +01:00
twinaphex
4103b70833 Remove HAVE_COMPRESSION ifdefs in file_path.c 2016-12-17 12:20:49 +01:00
Gregor Richards
22798e26c7 delay_frames naming consistency
Unifying all of the various inconsistent names of delay_frames into a
single name: delay_frames.
2016-12-01 13:34:37 -05:00
Diego Viola
59c99a59e7 Fix typo 2016-11-29 11:23:43 -02:00
twinaphex
46f3e1878e Add more translatable strings 2016-11-08 15:17:02 +01:00
twinaphex
70cbecd9f8 Reduce char variable sizes 2016-10-27 10:33:50 +02:00
twinaphex
f017593501 Reduce size of some char variables and get rid of some implicit memsets 2016-10-27 09:44:20 +02:00
twinaphex
62c80085a6 Cleanup some labels 2016-10-23 00:35:40 +02:00
twinaphex
c3ab8800f4 Prevent implicit memsets 2016-10-21 05:57:40 +02:00
Henri Gomez
4b6f93f6eb ASIMD also in retroarch.c 2016-10-18 17:39:02 +02:00
Higor Eurípedes
330a8d7594 Make thread local storage optional 2016-10-17 21:24:03 -03:00
Higor Eurípedes
dd36cff174 (retroarch.c) Add RARCH_CTL_IS_MAIN_THREAD 2016-10-17 20:50:19 -03:00
twinaphex
2a139b7d72 Add frontend_driver_attach_console/frontend_driver_detach_console 2016-10-09 17:15:50 +02:00
Gregor Richards
3953018547 Clarifications to Netplay menu and removing obsolete setting
This commit:
 * Reorders the Netplay settings menu to put more useful options at the
   top.
 * Renames the swap_input setting from "Swap Netplay Input", which is
   meaningless and confusing, to "Netplay P2 Uses C1", which is oddly
   truncated but at least true.
 * Removes the is_client setting altogether, as that's no longer how
   client vs. server mode is determined (each are separate options when
   enabling Netplay)
2016-10-03 17:28:20 -04:00
twinaphex
8e0d947dd5 Rename current_core_explicitly_set 2016-10-03 16:42:08 +02:00
Twinaphex
8963db204d Merge pull request #3721 from GregorR/netplay-overrides
Making netplay-related settings overrides behave consistently
2016-10-03 16:11:51 +02:00
twinaphex
25f27c3f4c Get rid of path_get_content 2016-10-03 15:39:57 +02:00
Gregor Richards
4f489fb793 Making netplay-related settings overrides behave consistently 2016-10-03 08:31:21 -04:00
twinaphex
94e245315b Create dir_set function 2016-10-03 08:20:33 +02:00
Gregor Richards
e41ac34561 Get rid of global->netplay
Moved settings values into settings->netplay, and global->netplay.enable
is moved into netplay itself, and is no longer a configuration value
whatsoever, as that conflicts with the behavior of the netplay menu.
2016-10-02 22:13:34 -04:00
twinaphex
f100dde751 (Wii) Buildfixes 2016-10-01 09:52:07 +02:00
twinaphex
d376ea0c9d Merge fixes 2016-10-01 08:24:02 +02:00
twinaphex
8f163e6972 Revert "Move global->name to paths.c"
This reverts commit 6ee7b733aa.
2016-10-01 08:18:23 +02:00
twinaphex
243dc139d2 Revert "Create path server and add to paths.c"
This reverts commit 00a1e3716a.
2016-10-01 08:17:44 +02:00
twinaphex
7d20224ff0 Revert "Move path settings to paths.c"
This reverts commit 3a7e9a7052.
2016-10-01 08:17:13 +02:00
twinaphex
2583390d31 Revert "Create dir_set"
This reverts commit d973e528f6.
2016-10-01 08:16:07 +02:00
twinaphex
4567fdef52 Take out libretro_device from global struct 2016-10-01 06:22:57 +02:00
twinaphex
2dcc5b8e43 Add LIBRETRO_DEVICE to unset/set/is functions for override settings 2016-10-01 06:14:30 +02:00
twinaphex
edc3fa9024 Add to is_set 2016-10-01 06:06:07 +02:00