Commit Graph

735 Commits

Author SHA1 Message Date
twinaphex 91efc6c68b Add log to RARCH_CMD_HISTORY_INIT 2014-11-29 15:37:53 +01:00
twinaphex 678460b5c1 Add early return to RARCH_CMD_HISTORY_INIT 2014-11-27 08:58:31 +01:00
twinaphex 42bc5d35ca Don't create empty history file if it does not exist yet - TODO/FIXME -
verify on consoles/mobiles
2014-11-24 08:00:06 +01:00
Higor Eurípedes 886a559437 (Menu) Ensure VSync is on after context reconfiguration 2014-11-13 15:17:29 -03:00
twinaphex 9b4c794261 Add RARCH_CMD_RESIZE_WINDOWED_SCALE 2014-10-29 06:26:08 +01:00
twinaphex 662d0cd27e Fix RARCH_CMD_MENU_TOGGLE 2014-10-29 06:07:17 +01:00
twinaphex 06c58ecbd9 Add RARCH_CMD_MENU_TOGGLE 2014-10-29 06:00:14 +01:00
twinaphex 55981aa0d3 Add message queue message in case Disk Options is not supported
and we call rarch_main_command for eject toggling/next disk/prev disk
2014-10-29 05:57:28 +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
Toad King efcd479c4f use persist load for normal loads, fixes exitspawn on consoles 2014-10-24 19:42:37 -05: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 dd93d549aa Rename rarch_file_path to file_ops 2014-10-21 23:53:09 +02:00
twinaphex d3629f06f1 Rename file.c/file.h to content.c/content.h 2014-10-21 23:44:03 +02:00
twinaphex 2c5b744bc4 Compartmentalize file_path functions over to file_path.c 2014-10-21 23:33:20 +02:00
twinaphex 7987053870 Reduce header includes 2014-10-21 19:07:14 +02:00
twinaphex 9a4753307e retroarch.c - take out libretro.h dependency 2014-10-21 18:58:40 +02:00
twinaphex 383eb08988 Don't have file_path.h include dir_list.h 2014-10-21 18:46:39 +02:00
twinaphex 7472922ee0 Move compat/ over to libretro SDK 2014-10-21 07:58:58 +02:00
twinaphex dde86f5b6b Refactor compat/ 2014-10-21 06:15:19 +02:00
twinaphex 480cd7c7ba Move msvc_compat.h to compat/ dir 2014-10-21 06:06:12 +02:00
twinaphex c62d52de0f Start properly implementing libretro SDK for boolean.h include
header, glsym, and rthreads
2014-10-21 05:05:52 +02:00
twinaphex 1ea3c6f9fa rarch_disk_control_set_eject - don't name parameter variable 'log' 2014-10-21 01:10:29 +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 e295bc696d Avoid local variables named 'index' 2014-10-20 20:18:04 +02:00
twinaphex b2aab151c8 Add content_loaded callback function invocation when content
is loaded
2014-10-17 04:49:25 +02:00
twinaphex 884eeeb87d Reimplement RARCH_CMD_QUIT 2014-10-17 00:00:09 +02:00
twinaphex 34915aefce Add RARCH_CMD_PERFCNT_REPORT_FRONTEND_LOG 2014-10-16 08:31:10 +02:00
twinaphex d56105b6e5 Some more stdio.h header includes removed 2014-10-15 07:00:51 +02:00
Twinaphex 8a6a3606b7 retroarch.c - Fix 'declaration shadows a local variable' 2014-10-14 18:44:07 +02:00
twinaphex 98c5e466a7 Should save SRAM now at auto SRAM Save being '0' 2014-10-13 07:35:18 +02:00
AndresSM 96fcf6fc11 Fix append disk option 2014-10-12 22:54:13 -05:00
Toad King 8167c81d38 fix deferred loading on non-dynamic core platforms 2014-10-12 20:30:17 -05:00
Toad King 4766675fa5 fix core switching and history loading on non-dynamic platforms 2014-10-12 19:22:47 -05:00
twinaphex 0245be3193 Refactor remaining toggle functions 2014-10-12 19:45:38 +02:00
aliaspider b6e6127e03 revert c4250ab . causes segfaults when autosave_interval > 0. 2014-10-11 02:40:23 +01:00
Mike Robinson b67c86de28 Add support for deferred settings changes, defer audio latency 2014-10-09 11:09:36 +01:00
Mike Robinson c8b452e5ac Update audio latency without restart using RARCH_CMD_AUDIO_REINIT 2014-10-09 05:16:00 +01:00
Mike Robinson 63741eeb57 Pass flags to init_drivers/uninit_drivers
Allow init/uninit of specific drivers instead of all.
2014-10-09 05:16:00 +01:00
Twinaphex de130dd516 Build fix for non-HAVE_NETPLAY 2014-10-09 04:04:56 +02:00
twinaphex 5d558497af Simplify init_core 2014-10-08 23:29:24 +02:00
twinaphex 80578199f6 Reduce calls to 'draw_frame' to one 2014-10-08 21:43:19 +02:00
twinaphex bb7b3a0d70 Add RARCH_CMD_OVERLAY_NEXT 2014-10-08 18:26:46 +02:00
twinaphex 1c3243d457 Provide explanation for not performing RARCH_CMD_FULLSCREEN_TOGGLE 2014-10-08 18:23:16 +02:00
twinaphex f30042ff03 If video driver/video context driver doesn't support windowed mode,
then treat RARCH_CMD_FULLSCREEN_TOGGLE as no-op
2014-10-08 17:30:05 +02:00
twinaphex bcd5f8aa5b Add has_windowed to video driver and graphics context driver 2014-10-08 17:23:02 +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
twinaphex 1ac12083d8 Get rid of RARCH_CMD_OVERLAY_REINIT 2014-10-05 20:25:54 +02: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 6086b411cb rarch_main_command - Have RARCH_CMD_MENU_SAVE_CONFIG indicate success or failure too 2014-10-05 19:16:48 +02:00
twinaphex dda84be1ac - Add RARCH_CMD_CORE_INIT
- Change returntype of rarch_main_command to bool to indicate
success or failure at performing action - used by RARCH_CMD_CORE_INIT
2014-10-05 19:13:03 +02:00
twinaphex 2ba246bbb4 Add RARCH_CMD_CORE_DEINIT to rarch_main_command 2014-10-05 18:55:55 +02:00
twinaphex 68df820c06 Add RARCH_CMD_AUTOSAVE_STATE 2014-10-05 15:36:57 +02:00
twinaphex 5b053a96df autosave_interval setting now uses RARCH_CMD_AUTOSAVE_INIT -
it deinits beforehand
2014-10-05 15:33:16 +02:00
CautiousAlbino c4250abfbe Fix broken SRAM.
RARCH_CMD_SAVEFILES_INIT would clear out SRAM struct, but not
restore it.
2014-10-05 11:01:50 +02:00
twinaphex 17f9d08190 Split up RA runloop into separate file - runloop.c 2014-10-05 01:31:48 +02:00
Twinaphex 93f54db7fa (OSX/iOS) Don't set return value of rarch_main_iterate to 1 inside
the menu when g_settings.menu.pause_libretro is set to false -
disconnecting the gamepad for instance and there being no
other input would cause the core to no longer 'run' until you
start pressing some kind of input source again
2014-10-04 17:43:03 +02:00
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