Commit Graph

729 Commits

Author SHA1 Message Date
twinaphex
5921f8055d Refactor this 2015-02-10 16:50:41 +01:00
twinaphex
d98cd5a680 runloop.c - create check_video_alive - try to prevent segfaults
at all costs
2015-02-10 16:46:49 +01:00
twinaphex
23640fd12e input_keys_pressed - do early return in case driver.input
or driver.input_data is NULL
2015-02-10 16:38:47 +01:00
twinaphex
524f754ec3 Core Update Manager works again when HAVE_NETWORKING is defined -
enygmata jumped the gun with refactoring the HAVE_NETPLAY define
2015-01-28 08:55:02 +01:00
twinaphex
49a2bce941 Cleanups - move input code to menu_input.c 2015-01-27 01:29:33 +01:00
twinaphex
fe3615ba22 Fix Android warnings 2015-01-24 01:39:55 +01:00
twinaphex
5e0c3ed403 Log failure 2015-01-23 23:54:18 +01:00
twinaphex
728d1723b4 Remove callback from net_http.c code 2015-01-23 23:28:32 +01:00
twinaphex
d8cba9c675 Should hopefully fix problems 2015-01-23 22:16:25 +01:00
twinaphex
ca67cd7cce Change variable name from w to data 2015-01-23 22:12:55 +01:00
twinaphex
5ff7bd53be Start implementing new http code 2015-01-23 22:00:11 +01:00
twinaphex
025791f95a Add some documentation to http iterate functions 2015-01-23 20:27:41 +01:00
twinaphex
77eb7b262e Start adding HTTP transfer mechanism to runloop 2015-01-23 20:23:12 +01:00
Twinaphex
a5b306406c More documentation 2015-01-18 09:25:48 +01:00
twinaphex
7198d658bb Some control flow changes in rarch_main_iterate 2015-01-11 18:04:42 +01:00
twinaphex
8f41438410 Some minor changes to rarch_main_iterate 2015-01-11 18:00:50 +01:00
twinaphex
b53e8f6437 Create rarch_main_iterate_quit 2015-01-11 17:33:05 +01:00
twinaphex
73d4622b54 Create pre_state_checks 2015-01-10 22:51:03 +01:00
twinaphex
49120c06c9 Push analog pad for every user 2015-01-10 22:31:14 +01:00
twinaphex
d6169e6ddc Add more documentation to runloop.c 2015-01-10 21:47:30 +01:00
twinaphex
b95cdd2215 Rename menu_common.c to menu.c 2015-01-10 04:53:37 +01:00
twinaphex
9817555200 Move convenience macros used in runloop to runloop.c 2015-01-10 04:18:54 +01:00
twinaphex
500aa292f5 More documentation for runloop.c 2015-01-09 22:24:38 +01:00
twinaphex
42b990fd09 Nit/cleanup 2015-01-09 22:03:33 +01:00
twinaphex
76c392718f Create runloop.h 2015-01-09 18:40:33 +01:00
twinaphex
8fc4db23dc (360) Silence some warnings 2015-01-09 17:48:20 +01:00
twinaphex
ec22bada36 Add retroarch.h header 2015-01-09 17:40:47 +01:00
twinaphex
90076c5fad Start using MAX_PATH_LENGTH - relying on MAX_PATH for 360 can cause
problems because it's defined at '260' and thus too small for some
strings
2015-01-07 20:42:36 +01:00
twinaphex
453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex
9c5ac01718 Add some more documentation 2015-01-07 17:02:47 +01:00
twinaphex
c0ef2e9b3d Document some more functions in runloop.c 2015-01-07 16:29:46 +01:00
twinaphex
906b081bd2 Add documentation to functions 2015-01-07 03:53:36 +01:00
twinaphex
7a456c6c3a Rename MAX_PLAYERS to MAX_USERS 2015-01-05 01:58:00 +01:00
twinaphex
45cdb15de4 Add setting 'Max Users' 2015-01-05 01:45:57 +01:00
gizmo98
5fdb9004d5 check_block_hotkey(): Add RARCH_ENABLE_HOTKEY check of first autoconf_bind
If there is no RARCH_ENABLE_HOTKEY set in retroarch.cfg RARCH_ENABLE_HOTKEY set in a autoconf file is not respected. The new solution only checks the first autoconf input device.

https://github.com/libretro/RetroArch/issues/1310
2015-01-03 21:26:02 +01:00
twinaphex
1ec8099789 Cleanups 2014-12-28 05:57:17 +01:00
twinaphex
b79af72de1 Split up cheats checks into separate function 2014-12-15 19:16:54 +01:00
twinaphex
c899d3d7ef Runloop - early return if g_extern.cheat is NULL 2014-12-15 06:57:38 +01:00
twinaphex
8db19cd5ef rarch_main_command actually does the pause toggling now 2014-10-29 05:54:29 +01:00
twinaphex
4f40c14d69 Move menu code up one root dir 2014-10-28 19:54:23 +01:00
twinaphex
3cdcc3a093 remove header include from runloop.c 2014-10-22 07:11:04 +02:00
twinaphex
ccf43f6e85 Take out dynamic.h header include from general.h 2014-10-22 04:27:51 +02:00
twinaphex
174d011bed Move dir_list to SDK 2014-10-22 01:13:05 +02:00
twinaphex
9a9fa6532a Move file_path.c to libretro SDK 2014-10-22 00:23:06 +02:00
twinaphex
6cfbf995fa runloop.c - take out more header includes 2014-10-21 19:11:32 +02:00
twinaphex
939b928adb Rename 'time' variables 2014-10-21 02:18:38 +02:00
twinaphex
42bb37816e Take file_path.h include out of file.h 2014-10-20 21:51:04 +02:00
twinaphex
d7ec815bc9 Move netplay.h include outside of general.h 2014-10-20 21:32:53 +02:00
twinaphex
fd718def87 Use PATH_MAX size for string variable 2014-10-16 18:31:05 +02:00
twinaphex
3213541783 Take out g_extern.lifecycle_state flushing for now - leave this
up to upper-layer input drivers for now
2014-10-16 08:32:02 +02:00
twinaphex
44b771813a Start implementing g_extern.lifecycle_state as a way to pass
commands to Rarch internally on next iteration
2014-10-13 05:15:09 +02:00
twinaphex
bb7b3a0d70 Add RARCH_CMD_OVERLAY_NEXT 2014-10-08 18:26:46 +02:00
twinaphex
c35d25c76e Add RARCH_CMD_NETPLAY_FLIP_PLAYERS and RARCH_CMD_FULLSCREEN_TOGGLE 2014-10-08 16:41:08 +02:00
twinaphex
4bd018257e Add RARCH_CMD_GRAB_MOUSE_TOGGLE 2014-10-08 16:18:18 +02:00
twinaphex
b3309d2132 Create RARCH_CMD_PAUSE_TOGGLE 2014-10-08 16:12:00 +02:00
twinaphex
35cda4b78b Create RARCH_CMD_AUDIO_MUTE_TOGGLE 2014-10-08 16:07:19 +02:00
AndresSM
7249ebc00c fix disk_next, add option for disk_prev 2014-10-07 20:19:12 -05:00
Mike Robinson
8bc9f53da3 Merge volume_db and audio_volume, save audio_volume
This prevents unexpected volume changes on RARCH_VOLUME_UP and
RARCH_VOLUME_DOWN, and adds convenience by saving to config file.
2014-10-07 05:39:22 +01:00
twinaphex
34f3c7d22e check_mute - go through rarch_main_command instead of directly
calling driver.audio
2014-10-05 20:19:12 +02:00
twinaphex
44137e853f Get rid of label - gets rid of warning for Wii/GX 2014-10-05 18:02:01 +02:00
twinaphex
fa8e457cf2 runloop.c - Create input_flush function 2014-10-05 16:22:15 +02:00
twinaphex
e0b977215f Rename some macros for bit get/setting 2014-10-05 15:48:06 +02:00
CautiousAlbino
452d9d0b99 Fix fullscreen toggling. 2014-10-05 11:39:35 +02:00
twinaphex
625d99d68d do_state_checks - simplify 2014-10-05 06:38:12 +02:00
twinaphex
52f38412d0 runloop.c - Rewrite check_volume into set_volume 2014-10-05 06:10:23 +02:00
twinaphex
bf8c242228 Small refinements to check_stateslots and check_shader_dir 2014-10-05 05:50:04 +02:00
twinaphex
54a5402189 runloop.c - Simplify check_shader_dir 2014-10-05 05:46:27 +02:00
twinaphex
3dd290e4f6 runloop.c - Simplify check_fast_forward_button 2014-10-05 05:39:50 +02:00
twinaphex
40d97184b3 Fix edge case where if core was paused before entering menu
and we try to leave the menu again, it will get stuck on a pause
screen until you toggle the menu again. Now the 'flush input'
routine will automatically evoke the pause toggle to get it
'unstuck'.
2014-10-05 05:26:35 +02:00
twinaphex
54c2522979 Refine check_oneshot function - we no longer need g_extern.is_oneshot
anymore
2014-10-05 05:18:46 +02:00
twinaphex
5dc171c8a6 runloop.c - Simplify check_mute 2014-10-05 04:59:42 +02:00
twinaphex
dc8374b186 Add safety check in check_pause 2014-10-05 04:10:00 +02:00
twinaphex
784643fd8c runloop.c - optimization - Combine check_turbo and input_keys_pressed functions 2014-10-05 03:02:06 +02:00
twinaphex
2df2346301 Move input_keys_pressed from input_common.c to runloop.c 2014-10-05 02:45:38 +02:00
twinaphex
c50352ebb9 runloop.c - check_pause - small nit 2014-10-05 02:37:13 +02:00
twinaphex
2ef17806fd runloop.c - Rewrite check_pause 2014-10-05 02:36:05 +02:00
twinaphex
cfdbb8cf63 (runloop.c) check_oneshot - turn into inline function 2014-10-05 02:05:09 +02:00
twinaphex
acd33a0212 (runloop.c) Expand check_stateslots 2014-10-05 01:59:15 +02:00
twinaphex
17f9d08190 Split up RA runloop into separate file - runloop.c 2014-10-05 01:31:48 +02:00