twinaphex
3d68429aca
Change menu_iterate return value to int
2014-10-04 16:20:28 +02:00
Jay McCarthy
a2bd6c535a
Allow the menu to run immediately again if there is input
...
This corresponds to when the user is holding down a button. Run loops
are typically edge triggered and not level triggered, so we only see
the changes, thus we don't get continually woken up when the level
stays at HIGH.
2014-10-04 10:06:15 -04:00
Jay McCarthy
0adcd2df76
Change interpretation of iteration return
2014-10-04 09:11:26 -04:00
twinaphex
458eff5f4d
Both the 'pause' state and the 'menu' state return 1 - so that
...
we can signal to the Apple upper-layer function that we want
to run CFRunLoopWakeUp
2014-10-04 14:14:45 +02:00
twinaphex
291f4579a2
update_frame_time - don't make this an inline function
2014-10-04 13:58:41 +02:00
twinaphex
3472987d9f
Use a goto in rarch_main_iterate
2014-10-04 13:47:26 +02:00
twinaphex
f86ad85fcd
Use -1 for indicating we want to exit out of rarch_main_iterate
2014-10-04 13:41:57 +02:00
twinaphex
e79d3d1630
Change return values for rarch_main_iterate and do_state_checks
2014-10-04 13:30:09 +02:00
twinaphex
65572c57dc
(MSVC) Build fixes
2014-10-03 22:23:02 +02:00
twinaphex
476a759b14
RARCH_ACTION_STATE_MENU_RUNNING_* - implement only when
...
HAVE_MENU is defined
2014-10-03 19:19:52 +02:00
twinaphex
4cccfe9c4b
Add RARCH_CMD_RUMBLE_STOP
2014-10-03 19:16:33 +02:00
twinaphex
b7d47f3df9
Sanitize fastforward_ratio value when loading a config file
...
in case it's <= 0.0
2014-10-03 19:07:40 +02:00
twinaphex
557789a479
Cleanups
2014-10-03 18:54:26 +02:00
twinaphex
5057eda902
Small correction to conditional in frame_time
2014-10-03 18:13:26 +02:00
twinaphex
64b535872d
Rewrite limit_frame_time
2014-10-03 18:12:41 +02:00
twinaphex
aa961dba9e
Add 'Limit Maximum Run Speed' setting - set this to 'off' to
...
get the fastforward_ratio = -1 (no limit) setting again
2014-10-03 18:05:46 +02:00
twinaphex
5c09e6be84
Add RARCH_CMD_DISK_EJECT_TOGGLE/RARCH_CMD_DISK_NEXT
2014-10-03 15:13:37 +02:00
twinaphex
cc277fcf76
Move more init/deinit code to rarch_main_command
2014-10-03 15:04:00 +02:00
twinaphex
ade2f71662
Cleanup do_state_checks
2014-10-03 14:53:04 +02:00
twinaphex
45b61457e2
Rewrite rarch_check_fullscreen
2014-10-03 13:45:41 +02:00
twinaphex
e99a6f99d4
Move RARCH_CMD_HISTORY_DEINIT right above RARCH_CMD_HISTORY_INIT
2014-10-03 13:08:24 +02:00
twinaphex
4a623684c2
Init history file right before we attempt to push something to it
...
in rarch_main
2014-10-03 13:07:33 +02:00
twinaphex
e7fed15250
Add RARCH_CMD_DRIVERS_DEINIT/RARCH_CMD_DRIVERS_INIT
2014-10-03 12:40:41 +02:00
twinaphex
2897e2f1fd
Add RARCH_CMD_CORE_INFO_DEINIT
2014-10-03 12:37:55 +02:00
twinaphex
1762f70d9b
RARCH_CMD_RECORD_INIT - call rarch_main_command(RARCH_CMD_RECORD_DEINIT)
...
for safety precautions
2014-10-03 12:36:29 +02:00
twinaphex
e9a10c6295
Add more commands to rarch_main_command
2014-10-03 12:35:38 +02:00
twinaphex
de3dbfb439
Have more initing/deiniting go through rarch_main_command
2014-10-03 12:26:29 +02:00
twinaphex
330dd1822c
Cleanups
2014-10-03 12:07:15 +02:00
twinaphex
e996e3df45
Move more stuff to rarch_main_command
2014-10-03 11:59:24 +02:00
twinaphex
4f0953f3e3
Add RARCH_CMD_REWIND_DEINIT/RARCH_CMD_REWIND_INIT/RARCH_CMD_REWIND_TOGGLE
2014-10-03 11:44:54 +02:00
twinaphex
16fd8b227e
Expand rarch_main_command
2014-10-03 11:33:58 +02:00
twinaphex
75271b7d10
Turn more functions into static
2014-10-03 01:07:35 +02:00
twinaphex
532938c5fa
Refactor meta_input_keys_pressed
2014-10-03 00:55:44 +02:00
twinaphex
8a1f15c460
Move rarch_check_block_hotkey to input/input_common.c and make
...
the function static
2014-10-03 00:46:14 +02:00
twinaphex
c25bc493ab
Add RARCH_CMD_SHADER_DIR_INIT/RARCH_CMD_SHADER_DIR_DEINIT
2014-10-03 00:13:50 +02:00
twinaphex
a8d8e9d13b
(rarch_main_command) Inline set_fullscreen function into RARCH_CMD_REINIT
2014-10-03 00:08:42 +02:00
twinaphex
9de94c6298
Move flush_audio to libretro_version_1.c as static function
2014-10-02 23:43:28 +02:00
twinaphex
e1b139da84
(RARCH_CONSOLE) Prevent exit_spawn from being set to true whenever
...
we start new content
2014-10-02 22:57:31 +02:00
twinaphex
e6a79f798b
Refactor MODE_EXITSPAWN and MODE_EXITSPAWN_START_GAME
2014-10-02 21:39:29 +02:00
twinaphex
ed928b70be
Simplify rarch_render_cached_frame
2014-10-02 20:00:11 +02:00
twinaphex
0135d763db
Move g_extern.netplay to driver.netplay_data
2014-10-01 23:00:05 +02:00
twinaphex
dead11f182
Move driver_active variables over to driver global
2014-10-01 22:34:48 +02:00
twinaphex
a35c61ec90
(Audio driver) Add 'alive' function callback
2014-10-01 21:42:19 +02:00
Twinaphex
e135931644
Merge pull request #1072 from CyberShadow/pull-20141001-131543
...
Add --eof-exit and --max-frames
2014-10-01 17:33:56 +02:00
Vladimir Panteleev
c3e6dd41cc
Add --eof-exit switch
2014-10-01 14:33:00 +00:00
Vladimir Panteleev
9b9fa94c27
Add --max-frames option
2014-10-01 13:22:22 +00:00
Twinaphex
41351fc73c
(Apple HID) Implement VID/PID passing
2014-10-01 14:24:55 +02:00
Twinaphex
76240aa322
(iOS) Prevent crash when selecting 'Quit RetroArch' in menu
2014-10-01 14:19:00 +02:00
twinaphex
faf124d5ea
Cleanups to update_frame_time
2014-10-01 13:23:53 +02:00
twinaphex
e58c9dc179
Move init_shader_dir/deinit_shader_dir to retroarch.c and make them
...
non-static functions
2014-10-01 12:49:21 +02:00