twinaphex
a57abb74dc
Rename some functions
2015-03-22 03:32:28 +01:00
twinaphex
572b59d417
Robustness fixes
2015-03-22 00:29:30 +01:00
twinaphex
508ade73f9
Rename menu_driver_resolve to menu_driver_get_ptr
2015-03-21 23:56:42 +01:00
Twinaphex
06d643adaa
(retroarch.c) Fix potential segfault in rarch_main_command
2015-03-21 23:43:00 +01:00
twinaphex
54b0125f88
Deinitialize drivers in rarch_main_state_free
2015-03-21 20:10:14 +01:00
twinaphex
7e7a42ec21
Reimplement rarch_main_state_free
2015-03-21 19:43:46 +01:00
twinaphex
83947f473b
Split up rarch_main_state_new into two - rarch_main_state_alloc
...
allocates all state, rarch_main_state_new actually 'initializes'
the drivers, etc.
2015-03-21 19:31:38 +01:00
twinaphex
323475c516
Create RARCH_CMD_VOLUME_UP/RARCH_CMD_VOLUME_DOWN
2015-03-21 09:25:21 +01:00
twinaphex
f1fe7559bc
Put g_extern on heap
2015-03-21 06:17:03 +01:00
twinaphex
e6f0d366cb
Go through global_get_ptr
2015-03-21 04:43:18 +01:00
twinaphex
533c5c0eb1
Create rarch_main_global_init/rarch_main_global_deinit
2015-03-21 01:53:14 +01:00
twinaphex
80840cac0c
Put g_config on heap
2015-03-21 01:47:06 +01:00
twinaphex
a66c72e875
Get rid of g_config references in retroarch.c
2015-03-21 01:32:57 +01:00
twinaphex
45cf71770e
Rename g_settings to g_config - to prevent conflicts, had to rename
...
some static variables in some of the gfx context driver files
2015-03-21 01:15:03 +01:00
Twinaphex
5900492aeb
(retroarch.c) Cleanups
2015-03-21 01:05:32 +01:00
twinaphex
9f6cb1bca7
Rename settings.c to configuration.c
2015-03-21 00:42:09 +01:00
twinaphex
e4ffbf0008
Update retroarch.c
2015-03-20 20:20:33 +01:00
twinaphex
d2c97de070
Move net_compat/net_http to libretro-common
2015-03-20 17:56:00 +01:00
twinaphex
aa8e5bc8cf
(GX) Buildfix/warning fix
2015-03-18 20:31:01 +01:00
twinaphex
3670ef2ac5
Go through driver_get_ptr to grab pointer to driver struct
2015-03-18 19:40:00 +01:00
twinaphex
7378299282
Create rarch_main_get_ptr
2015-03-18 06:47:22 +01:00
twinaphex
dc17a30f17
Create rarch_main_data_clear_state
2015-03-18 05:35:05 +01:00
twinaphex
31da3a5075
Teardown/setup code still very delicate to rearrange - restore
...
to original
2015-03-15 06:50:08 +01:00
twinaphex
c569345fc5
Get rid of LOG_FILE_DEINIT in rarch_main_state_free - already
...
done in leaf function
2015-03-15 04:21:26 +01:00
twinaphex
d146fed5c3
Get rid of useless additional extra function
2015-03-15 04:19:26 +01:00
twinaphex
c7d4e63b83
Create clear_main_state_extern_global and group all deallocations/frees
...
of g_extern to this function
2015-03-15 04:17:05 +01:00
twinaphex
8c1045c1ae
Create wrapper functions for initing the runloop message queue
...
and freeing it
2015-03-15 03:10:45 +01:00
twinaphex
761177a885
Update more old code to go through the new wrapper function
2015-03-15 02:59:38 +01:00
twinaphex
96ae2e9882
Move code over to runloop.h
2015-03-15 02:00:11 +01:00
Higor Eurípedes
af611934c4
(Menu) Set dirty bit in RARCH_CMD_REINIT
2015-03-08 18:25:00 -03:00
Twinaphex
9027b35eb8
rarch_render_cached_frame - do early return if g_runloop.is_idle
...
is true - reduces CPU activity in iOS Cocoa menu substantially
(from 96% CPU to 16%)
2015-03-08 01:58:19 +01:00
twinaphex
43a113ee8d
Create RARCH_CMD_LOAD_CORE_DEINIT
2015-03-07 14:54:04 +01:00
twinaphex
443b6e1ec8
Make rarch_update_system_info static
2015-03-07 14:48:18 +01:00
twinaphex
817c4d3d91
Add RARCH_CMD_LOAD_CORE_PERSIST
2015-03-07 14:45:16 +01:00
twinaphex
e4abe6f0bf
Simplify menu_update_libretro_info
2015-03-07 14:38:05 +01:00
twinaphex
c45d3f60a1
(runloop) Move data sources to struct
2015-03-07 14:12:41 +01:00
twinaphex
f2d2e9a4f1
Reorganize recording variables in global struct
2015-03-07 14:02:50 +01:00
Twinaphex
bd5695f8a4
Merge pull request #1419 from SuperrSonic/master
...
(GX) Force aspect ratio idx to work on startup
2015-03-07 13:56:40 +01:00
twinaphex
be4d15f2df
Move minimum_frame_time/last_frame_time to g_runloop
2015-03-07 13:43:31 +01:00
twinaphex
d11006e041
Move frame_count to g_runloop
2015-03-07 13:14:04 +01:00
twinaphex
795ef467ac
Move msg_queue and nbio/http to runloop struct
2015-03-07 13:01:41 +01:00
twinaphex
a74cb0574b
Create g_runloop and start moving variables there
2015-03-07 12:36:50 +01:00
twinaphex
234c24c3b3
Move struct image to nbio
2015-02-24 08:40:20 +01:00
twinaphex
f233ccb141
Start making rnbio_handle chain
2015-02-22 07:34:33 +01:00
twinaphex
50baeba22a
Fix race condition issue in threaded video mode when OSK is
...
brought up/down
2015-02-21 08:42:19 +01:00
twinaphex
2f63b75697
Move rewind state variables in struct
2015-02-16 18:09:00 +01:00
twinaphex
37a541e8a0
Restructure some settings in g_extern
2015-02-16 17:52:58 +01:00
SuperrSonic
28a59a162b
(GX) Force aspect ratio idx to work upon loading content wih args
2015-02-16 06:33:15 -04:00
twinaphex
be5f3254ba
Start implementing video softfilters - move it to Video Options
2015-02-15 18:26:59 +01:00
twinaphex
6815604d70
Don't access driver.menu directly
2015-02-13 23:30:10 +01:00
twinaphex
4d31687899
Create menu_driver_resolve to avoid having to pass state pointer
...
around between functions
2015-02-13 19:00:59 +01:00
twinaphex
c3fdd42fb0
Refactor menu
2015-02-11 21:15:39 +01:00
twinaphex
889860f791
Create audio_driver_mute_toggle
2015-02-10 21:16:26 +01:00
twinaphex
1805068440
Move rarch_recording_dump_frame to record_driver.c and rename it
2015-02-10 21:09:41 +01:00
twinaphex
b5480372a1
Move screenshot code to screenshot.c and out of retroarch.c
2015-02-10 20:58:33 +01:00
twinaphex
3880856c94
Make rarch_defer_core more robust for 'load_game'
2015-02-10 03:05:58 +01:00
twinaphex
9efc11045d
rarch_update_system_info - simplify
2015-02-10 02:59:01 +01:00
Jean-André Santoni
f24bdb1cbf
(Menu) No more core_info manipulation on the menu driver side. Instead, we ensure that core_info is inited before menu init, and call context reset after core info update.
2015-02-05 00:39:59 +01:00
twinaphex
ed7da3f632
Get rid of last param to keyboard_input_event
2015-01-29 23:12:42 +01:00
twinaphex
d327863d0f
Only carry one input overlay state
2015-01-29 22:54:42 +01:00
twinaphex
0ea6a28b6b
Due to limitations in how the input overlay driver talks
...
back to the video driver, we can only have one active overlay
state running at a time. So build around this
2015-01-29 20:57:44 +01:00
twinaphex
28f6922520
Cleanups
2015-01-29 20:51:07 +01:00
twinaphex
fc373630ce
Start to approach OSK driver in a different way
2015-01-29 20:33:27 +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
Jean-André Santoni
22119d0e7f
Notify the menu driver when the menu is going to be toggled, implement progressive menu fade in
2015-01-26 23:45:16 +01:00
twinaphex
5419757c40
Add input remapping saving/loading
2015-01-24 23:42:31 +01:00
twinaphex
77eb7b262e
Start adding HTTP transfer mechanism to runloop
2015-01-23 20:23:12 +01:00
twinaphex
f790216a41
Add RARCH_CMD_NETWORK_INIT and RARCH_CMD_NETWORK_DEINIT.
...
Run RARCH_CMD_NETWORK_INIT before entering Core Manager option.
Needed on Windows where we need to call WSAStartup to initialize Winsocks
first before we can do any network stuff
2015-01-21 20:44:40 +01:00
twinaphex
3ec9005c5c
Move set_rumble function to input/input_driver.c
2015-01-19 04:16:43 +01:00
twinaphex
7f53ca4ab5
audio mute enable is now saved to config file
2015-01-16 23:26:09 +01:00
twinaphex
26ab324727
(OSX 10.6) Fix declaration shadows global variable warnings
2015-01-15 21:10:36 +01:00
twinaphex
657401b033
Remove MENU_TEXTURE_FULLSCREEN - was always set to false when HAVE_RGUI
...
is defined so not sure what the purpose here was
2015-01-15 02:08:39 +01:00
twinaphex
0be0642680
Cleanups
2015-01-14 22:19:15 +01:00
twinaphex
2876a352e3
Refactor save_load/save_state slightly
2015-01-14 03:21:04 +01:00
twinaphex
a4ece6dc70
More documentation of retroarch.c
2015-01-14 03:17:55 +01:00
twinaphex
dff124f595
Update documentation in retroarch.c
2015-01-14 03:04:44 +01:00
twinaphex
565a651810
Make init_core a bit more readable
2015-01-13 03:26:40 +01:00
twinaphex
507291bccb
Add Patch Options. Make sure that if we pass softpatching options
...
on the commandline, that these values will not be saved back to
config file.
2015-01-13 03:13:19 +01:00
twinaphex
90c7617b65
Rename retro.h to libretro_version_1.h
2015-01-13 02:29:08 +01:00
twinaphex
457ad74aee
RARCH_CMD_FLIP_USERS - return false when netplay handle is NULL
2015-01-11 15:55:31 +01:00
twinaphex
38a451b55b
Fix 'statement is unreachable' warning
2015-01-11 15:55:02 +01:00
twinaphex
9a39abfbf0
Rename menu_input.c functions so that they are all in menu_input_*
...
namespace
2015-01-11 06:42:53 +01:00
twinaphex
7f0ccae0d7
Rename menu_input_line_cb.c to menu_input.c
2015-01-11 06:24:44 +01:00
twinaphex
bdd7f9c96c
(retroarch.c) Document more
2015-01-11 02:21:18 +01:00
twinaphex
2c0ad226cc
Add documentation to retroarch.c
2015-01-10 23:23:01 +01:00
twinaphex
5bacd9ed1b
Rename apply_deferred_settings
2015-01-10 06:37:27 +01:00
twinaphex
62b430e6eb
Rename function to menu_load_content
2015-01-10 06:09:30 +01:00
twinaphex
b95cdd2215
Rename menu_common.c to menu.c
2015-01-10 04:53:37 +01:00
twinaphex
498958b08e
Cleanup rarch_main_command somewhat
2015-01-10 02:06:51 +01:00
twinaphex
264c03cd27
CLeanup some dodgy tertiary conditional stuff
2015-01-10 01:40:50 +01:00
twinaphex
a10435a476
Remove general.c and move functions to retroarch.c
2015-01-09 18:48:03 +01:00
twinaphex
1ddf138860
Move rarch_main_init_wrap to retroarch.c
2015-01-09 18:44:57 +01:00
twinaphex
ec22bada36
Add retroarch.h header
2015-01-09 17:40:47 +01:00
twinaphex
8f511815d1
Create new header 'settings.h'
2015-01-09 16:56:21 +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
7a456c6c3a
Rename MAX_PLAYERS to MAX_USERS
2015-01-05 01:58:00 +01:00
twinaphex
49ad98e543
Add input_overlay_enable option
2014-12-29 10:16:44 +01:00
twinaphex
ecb5b08432
Set cheatfile_name in set_paths
2014-12-15 21:55:51 +01:00
twinaphex
46f8713165
Remove bsnes XML cheat code - rework this into something more generic
2014-12-15 21:03:00 +01:00
twinaphex
f640562db2
Get rid of some useless casts pt. 3
2014-12-15 18:50:04 +01:00
twinaphex
c30ddccd3e
set_basename - move comments inside ifdef
2014-12-15 17:21:25 +01:00
twinaphex
6c338352d2
We're not going to use 'cheat database' from bsnes XML cheats,
...
but for our more general-purpose cheats in cores
2014-12-15 06:42:24 +01:00
twinaphex
fe0ece3124
Add preliminary Core Cheat Options support - should work with
...
cores like SNES9x/bSNES right now
2014-12-06 15:47:25 +01:00
twinaphex
181d163b36
Rename 'player' to 'user'
2014-12-05 13:48:54 +01:00
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
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
twinaphex
19372d5ce6
main_clear_state_extern - start manually cleaning up/freeing
...
pointers in g_extern before doing a memset 0 on it - not
complete yet
2014-09-30 21:50:05 +02:00
twinaphex
efd356a466
Refactor rarch_main_state_new - use g_extern.main_is_init
2014-09-30 21:32:18 +02:00
twinaphex
f273b34f73
deinit_msg_queue becomes static function - clean it up in rarch_main_state_free
2014-09-30 21:29:28 +02:00
twinaphex
1a94f14e50
Move recording and resampler drivers to 'driver' global struct -
...
moving it outside of g_extern
2014-09-30 21:23:00 +02:00
twinaphex
9daad8bdb8
Split up rarch_main_clear_state into two functions - rarch_main_state_new
...
and rarch_main_state_free
2014-09-30 20:46:15 +02:00
twinaphex
c5f1788b36
Make rarch_main_clear_state more resilient
2014-09-30 18:54:02 +02:00
twinaphex
aaee1a016f
rarch_audio_flush - prevent segfault if g_extern.audio_data.data
...
is NULL
2014-09-30 17:08:32 +02:00
Twinaphex
9f5031188b
Merge pull request #1066 from CyberShadow/pull-20140930-083313
...
Refactor old_state out of meta_input_keys_pressed into rarch_main_iterate
2014-09-30 10:40:43 +02:00
Vladimir Panteleev
0c104ffef8
Refactor old_state out of meta_input_keys_pressed into rarch_main_iterate
2014-09-30 08:35:41 +00:00
twinaphex
8584ef94f4
Implement RARCH_CMD_MENU_PAUSE_LIBRETRO
2014-09-29 15:55:41 +02:00
twinaphex
043cfdbb43
Stop/start audio driver only when g_settings.menu.pause_libretro is enabled
2014-09-29 15:40:52 +02:00
Vladimir Panteleev
d0e970f175
Fix/reimplement input flushing
...
This fixes:
- menu toggle erratically not working on Android
- stray input going to libretro core when resuming content
- bound keys triggering as soon as they're bound on Android
- menu key repeat also repeating keys which should not be repeated
- issues caused by relying on timeouts for flushing
Architectural changes:
- menu_ctx_driver_t::input_postprocess now takes state and old_state
(this allows getting rid of menu_handle_t::trigger_state)
Related changes:
- remove some no-op input_postprocess handlers (same effect as NULL)
- menu_iterate now uses the parameters passed to it, instead of
polling menu_input
- menu_input is now merged into meta_input_keys_pressed
2014-09-29 12:58:52 +00:00
twinaphex
9d52362940
Create do_menu_oneshot function
2014-09-29 13:33:32 +02:00
twinaphex
c7d6eaa830
Refactor RARCH_ACTION_STATE_MENU_PREINIT into RARCH_ACTION_STATE_MENU_RUNNING
2014-09-29 13:27:28 +02:00
twinaphex
96958cc46e
Refactor menu toggle code
2014-09-29 13:12:39 +02:00
twinaphex
5751dfdecf
Move stateful code over to rarch_main_set_state (for menu toggling)
2014-09-29 12:44:17 +02:00
twinaphex
449cb9e9ed
(Menu) Do away with throttle_frame in menu_iterate - let rarch_main_iterate
...
do this
2014-09-28 19:11:11 +02:00
twinaphex
3c8cc513ab
Make it possible to compile without menu support again
2014-09-28 18:01:59 +02:00
twinaphex
cdefbcfc61
(retroarch.c/overlay.c) - cleanups
2014-09-28 17:52:15 +02:00
twinaphex
822bbe4e92
Create menu_shader_manager_apply_changes and move code to menu_shader.c
2014-09-28 17:42:31 +02:00
twinaphex
6cb07c02ab
Do early return in loop if no analog Dpad mode set
2014-09-26 14:07:48 +02:00
twinaphex
6c637dafc3
Refactor update_frame_time/limit_frame_time
2014-09-26 12:43:15 +02:00
twinaphex
d1d504df6c
Implement menu toggle in a better way
2014-09-25 18:38:35 +02:00
twinaphex
d94e8329e8
Move stuff to config.features.h
2014-09-25 08:12:58 +02:00
twinaphex
00e605d9ba
Take out MODE_MENu - and introduce g_extern.is_menu
2014-09-25 06:33:28 +02:00
twinaphex
15f82cb477
Take out ACTION_STATE_FLUSH_INPUT
2014-09-25 06:25:27 +02:00
twinaphex
eec0724175
Reimplement FLUSH_INPUT
2014-09-25 04:58:26 +02:00
twinaphex
8015061720
Refactor menu_input - add input_keys_pressed in addition to
...
meta_input_keys_pressed
2014-09-25 04:19:09 +02:00
twinaphex
2309a3e716
Move input_poll to libretro_version_1.c
2014-09-24 09:52:01 +02:00
twinaphex
9d94513dc4
(Menu/Shaders) Move all shader manager code to frontend/menu/menu_shader
2014-09-24 07:56:47 +02:00
twinaphex
63680ca5b4
Go through static variable retro_ctx for libretro backend
...
functions
2014-09-23 03:55:19 +02:00
twinaphex
10b6384bb2
Move recording_dump_frame back to retroarch.c
2014-09-23 03:14:25 +02:00
twinaphex
a7e6df69c8
Split up libretro (v1) code to libretro_version_1.c file
2014-09-23 03:03:56 +02:00
twinaphex
40402174d9
Take out obsolete manipulation of driver.menu->old_input_state
2014-09-22 02:57:36 +02:00
twinaphex
0501172f7a
Should fix issue https://github.com/libretro/RetroArch/issues/1039
2014-09-21 21:40:54 +02:00
twinaphex
430e0f1911
Reimplement rarch_main_iterate - menu iteration frame now gets
...
called from here too. Do away with the hoky 'MENU_GAME' state
as well.
2014-09-21 09:18:26 +02:00
twinaphex
29aed58e4e
Refactor MODE_LOAD_GAME
2014-09-21 06:50:10 +02:00
twinaphex
7056c9ca39
Refactor MENU_CLEAR_INPUT
2014-09-21 06:41:47 +02:00
twinaphex
9dc35b056f
Refactor MODE_MENU_PREINIT code
2014-09-21 06:33:49 +02:00
twinaphex
1e4cd8abe0
Move frame_time_last= 0 to rarch_set_action_state
2014-09-21 04:49:10 +02:00
twinaphex
e5c22e3e54
Refactor check_enter_menu
2014-09-19 22:41:40 +02:00
twinaphex
1bfc20b041
Refactor check_movie_record code some more
2014-09-19 20:06:09 +02:00
twinaphex
17088bdaf2
Split up check_movie_record into check_movie_init and check_movie_record
2014-09-19 20:00:15 +02:00
twinaphex
bf40faebb9
Refactor do_state_checks - returns false if paused
2014-09-19 09:14:49 +02:00
twinaphex
038d397ece
Minor cleanups in retroarch.c
2014-09-19 07:53:03 +02:00
twinaphex
58cfb27c5a
Split up some of the code in retroarch.c to general.c
2014-09-19 07:34:34 +02:00
twinaphex
f16a065cdd
Fixes 'block hotkey enable'
2014-09-18 04:04:33 +02:00
Twinaphex
c75f1d163b
Merge pull request #1036 from timostrunk/fix_state_naming
...
Fix directory and naming of savestates, srm files.
2014-09-17 20:20:33 +02:00
twinaphex
4c4ae11ab6
Optimizations to input handling in rarch_main_iterate - pass
...
'trigger' state around
2014-09-17 20:15:56 +02:00
Timo Strunk
757f7d96c2
Now path is also correctly sanitized. g_extern.basename of /path/to/file.zip#game.img is now /path/to/game
2014-09-17 19:46:59 +02:00
Timo Strunk
95f02d12f4
Basenames should now be correct also when using zipfiles. It is now always only the basename of the file in the zipfile. So if zipname == internalname, its zipname, like requested here: https://github.com/libretro/RetroArch/issues/1030#issuecomment-55810822
2014-09-17 18:41:23 +02:00
twinaphex
82806dcd85
Hide away last BIND_PRESSED invocations with check_quit_key_func
2014-09-17 17:48:41 +02:00
twinaphex
f7061e7233
Rewrite check_pausegp
2014-09-17 17:45:44 +02:00
twinaphex
3892c8326d
Use macro functions to hide away some of the ugliness
2014-09-17 07:38:49 +02:00
twinaphex
92938fe45f
Optimizations - prevent static bools everywhere in check_* functions
...
- input_keys_pressed_func takes a pointer and sets it to the last
input state. We then pass this around functions and use it where
necessary
2014-09-17 06:55:03 +02:00
twinaphex
310438f15b
Refactor away input_key_pressed_func
2014-09-17 00:29:47 +02:00
twinaphex
7a66467161
Create macro BIND_PRESSED - wrapper around BIT64_GET
2014-09-16 18:08:44 +02:00
twinaphex
709ecbfa67
Get rid of some redundant function pointer checks for driver.input
2014-09-16 17:50:38 +02:00
twinaphex
a5e367d2f0
More of aforementioend
2014-09-16 09:48:47 +02:00
twinaphex
c391249e3f
Optimizations -
...
* reduce amount of calls to input_key_pressed_func all throughout
rarch_main_iterate - call input_keys_pressed_func only once and
then pass an input state value around to all subsequent functions
* define retro_input_t typedef - simply an uint64_t for now since
meta binds don't exceed 64 entries yet
2014-09-16 09:26:08 +02:00
twinaphex
2f06612133
(retroarch.c) refactors
2014-09-16 07:20:09 +02:00
twinaphex
cbce0c7b8a
Create write_empty_file helper function in file_path.c
2014-09-15 05:49:48 +02:00
twinaphex
2284395c4d
Get rid of frontend_loop
2014-09-14 16:29:09 +02:00
twinaphex
a3269ff9ed
Add RARCH_ACTION_STATE_MENU_RUNNING_FINISHED to RARCH_CMD_RESUME
2014-09-14 15:37:47 +02:00
twinaphex
fe49a0fe40
Some control flow changes
2014-09-14 15:32:32 +02:00
twinaphex
e9c865f56a
Create main_entry_decide to delegate decisionmaking process of
...
what to bind frontend_loop to
2014-09-14 15:23:40 +02:00
Timo Strunk
aeb849b109
Defer core now realizes whether something is compressed or not
2014-09-12 17:48:35 +02:00
Timo Strunk
11b63cbe3d
Merge remote-tracking branch 'upstream/master' into zip_support
2014-09-12 17:06:41 +02:00
Timo Strunk
5ad5a1b6a9
Removed general zip support flags again.
2014-09-12 17:04:14 +02:00
twinaphex
3863fe1e95
Add RARCH_ACTION_STATE_FORCE_QUIT
2014-09-12 05:14:43 +02:00
twinaphex
d96de429ea
(Menu) Add RARCH_CMD_LOAD_CONTENT_PERSIST
2014-09-12 05:01:24 +02:00
twinaphex
e6328090e9
(Shaders) Fix build
2014-09-12 00:22:13 +02:00
twinaphex
c24e18910f
Put ifdef around gfx_shader_parse_type
2014-09-12 00:20:46 +02:00
twinaphex
d848a0c5a6
Get rid of one unnecessary HAVE_MENU ifdef
2014-09-09 23:20:04 +02:00
twinaphex
65a2b0c900
Move/rename menu_update_system_info to rarch_update_system_info
2014-09-07 07:12:10 +02:00
twinaphex
707b954947
Move menu_save_new_config to rarch_main_command
2014-09-06 22:11:23 +02:00
twinaphex
fface89461
Move/rename menu_replace_config to retroarch.c (rarch_replace_config)
2014-09-06 22:05:33 +02:00
Lioncash
ab1ab62a6d
Fix some printf specifiers to the correct signed-ness
2014-09-05 19:43:32 -04:00
twinaphex
125f256c5e
(Menu) Refactor menu_content_history_push_current
2014-09-05 19:56:23 +02:00
twinaphex
1426e705c9
(Frontend) Go through frontend_loop function pointer
2014-09-05 16:08:03 +02:00
twinaphex
ca1066d60e
Refactor CLEAR_INPUT
2014-09-05 05:57:27 +02:00
twinaphex
f7e1cb870f
(Menu) Immediately apply changes to shader parameters
2014-09-05 03:44:19 +02:00
twinaphex
514e454f16
Bump up max players to 16
2014-09-04 16:15:49 +02:00
twinaphex
0f12c67054
(Deferred core) Fix direct loading of deferred core
2014-09-04 05:10:44 +02:00
twinaphex
2574816473
(main_set_state) More refactoring
2014-09-03 18:46:17 +02:00
twinaphex
d539bed82c
Hide more manipulation of lifecycle_state behind rarch_main_set_state
...
function
2014-09-03 18:36:46 +02:00
twinaphex
51ed93d703
Start creating separate function that affects the lifecycle state -
...
rarch_main_set_state
2014-09-03 18:16:49 +02:00
twinaphex
74ddc9c3b7
Go through rarch_main_command instead of directly manipulating
...
g_extern.lifecycle_state
2014-09-03 16:55:56 +02:00
twinaphex
c92269dedf
Move core_info/core_info_current to global
2014-09-03 14:57:29 +02:00
twinaphex
55aa477232
Move rarch_defer_core to retroarch.c
2014-09-03 06:23:44 +02:00
twinaphex
bc1358a021
Refactor load_menu_content_history
2014-09-03 00:14:02 +02:00
Timo Strunk
0c4c749f81
Added commandline 7z support
2014-09-02 17:05:15 +02:00
Twinaphex
040b3523c4
Move more strings to intl/english.h
2014-09-02 06:20:31 +02:00
twinaphex
8a405fa611
(retroarch.c) cleanups
2014-09-02 03:21:33 +02:00
twinaphex
f085056d8a
(retroarch.c) refactor rarch_save_state/rarch_load_state
2014-09-02 03:06:45 +02:00
twinaphex
d50fb2802a
(retroarch.c) Cleanups
2014-09-02 02:55:43 +02:00
twinaphex
4a1e240936
(retroarch.c) Cut down on code duplication
2014-09-02 02:31:57 +02:00
twinaphex
cb3e844b93
Go through RETRO_FRONTEND define for RetroArch string
2014-09-02 02:09:54 +02:00
twinaphex
0b49d99620
Move more strings to intl
2014-09-02 02:02:39 +02:00
Twinaphex
a703e73e68
Merge pull request #921 from mprobinson/fix-init-movie
...
Fix spurious error message in init_movie()
2014-09-02 01:42:43 +02:00
Mike Robinson
bf47ceef2b
Fix spurious error message in init_movie()
...
g_extern.bsv.movie was checked before bsv_movie_init, resulting
in failure report even if recording succeeded.
2014-09-02 00:30:37 +01:00
twinaphex
99d9908cda
Move more English strings to intl/english.h
2014-09-02 00:41:18 +02:00
twinaphex
bd79842b63
(retroarch.c) refactoring for 80-char limit
2014-09-01 01:42:27 +02:00
twinaphex
772fcb508c
(retroarch.c) refactoring for 80-char limit
2014-09-01 01:37:44 +02:00
twinaphex
1570d932e1
(retroarch.c) Refactor for 80-char limit
2014-09-01 01:19:16 +02:00
Mike Robinson
d7cd930d40
Avoid flicker during BFI and slow-motion or pause
2014-08-31 11:05:09 +01:00
twinaphex
8133088add
(Settings data) Set some g_extern variables for netplay settings
2014-08-30 03:28:57 +02:00
twinaphex
2010c77c03
Fix check_volume
2014-08-29 10:22:11 -03:00
Twinaphex
8a9f747476
Merge pull request #908 from mprobinson/master
...
Implement frame delay option
2014-08-28 21:20:31 +02:00
Mike Robinson
ac421ec19b
Implement frame delay option
...
Sets how many milliseconds to delay after VSync before running the core.
2014-08-28 19:54:42 +01:00
Higor Eurípedes
ad23b58654
(Haiku) Fix config paths
2014-08-28 13:44:22 -03:00
twinaphex
9bef38186a
(Menu) Refactor most of the main menu settings
2014-08-28 00:08:32 +02:00
twinaphex
d9a10e9ab2
(Menu) Start refactoring main menu actions
2014-08-27 23:44:23 +02:00
twinaphex
5a77b1aef3
Remove more extraneous elses
2014-08-27 04:02:32 +02:00
twinaphex
fe6add2f12
Implement RARCH_CMD_RESET_CONTEXT
2014-08-20 23:11:14 +02:00
twinaphex
1d043121e2
Code reformatting (80-char limit); C-style comments
2014-08-20 17:18:43 +02:00
twinaphex
86de91d718
fastforward_ratio - add improved clamping code
2014-08-18 12:14:53 +02:00
twinaphex
e12081c309
(retroarch.c) Make sure as many variables are initialized as possible
2014-08-18 11:23:35 +02:00
twinaphex
7ba9737fef
deinit_gpu_recording - cut down on duplicated code
2014-08-17 23:31:16 +02:00
twinaphex
f264062364
(MSVC) Some build fixes
2014-08-17 18:59:49 +02:00
twinaphex
6b1446df73
Avoid some more potential uninitialized references in retroarch.c
2014-08-17 06:27:37 +02:00
twinaphex
02e6ab0ba9
Put rarch_main_deinit_core above uninit_drivers in retroarch.c to
...
work around threading deinit issue in PPSSPP
2014-08-16 20:21:49 +02:00
twinaphex
e9a0234730
(Menu) Cleanup some settings
2014-08-16 19:16:11 +02:00
twinaphex
ba6d353498
Add RARCH_CMD_AUDIO_SET_BLOCKING_STATE/RARCH_CMD_AUDIO_SET_NONBLOCKING_STATE
2014-08-16 18:56:56 +02:00
twinaphex
c34e5428c0
(Menu) Go through RARCH_CMD_VIDEO_SET_ASPECT_RATIO
2014-08-16 18:46:43 +02:00
twinaphex
2d4cd0a56e
Add new cmd enums to rarch_main_command
2014-08-16 18:39:18 +02:00
twinaphex
728b18a9fe
(Menu) Refactor init_core_info calls
2014-08-16 06:23:51 +02:00
twinaphex
823be1ce41
Get rid of more driver_funcs macros
2014-08-15 20:51:59 +02:00
twinaphex
eb1d78bab7
Rename history.c to playlist.c
2014-08-15 17:24:28 +02:00
twinaphex
33ddbeb149
Rewrite more driver_funcs macros
2014-08-14 20:13:56 +02:00
twinaphex
9992e33a36
Replace more driver_funcs macros
2014-08-14 19:56:45 +02:00
twinaphex
e851d279f8
Start getting rid of driver_funcs.h macros
2014-08-14 19:54:22 +02:00
twinaphex
e1a122843b
Add null camera - remove HAVE_CAMERA ifdefs
2014-08-14 02:55:04 +02:00
twinaphex
ad5d46bba3
Refactor general_write_handler some more
2014-08-13 20:09:53 +02:00
twinaphex
fb82598553
Rewrite init_rewind log
2014-08-13 19:58:33 +02:00
twinaphex
51e4c85de3
Refactor fastforward_ratio - 0.0x is no limit now
2014-08-13 19:53:15 +02:00
twinaphex
147cac67ef
Update more references to 'roms'
2014-08-13 08:52:13 +02:00
twinaphex
105af6e55c
Cleanups
2014-08-12 05:35:01 +02:00
twinaphex
fcbbf08109
(Recording) Bake in HAVE_RECORD implicitly
2014-08-12 05:28:43 +02:00
twinaphex
717def1717
Bake in HAVE_BSV_MOVIE implicitly
2014-08-12 05:10:02 +02:00
twinaphex
f027acd5cf
Rename game_history_size to content_history_size
2014-08-12 04:57:31 +02:00
Higor Eurípedes
c36ddae9aa
Add SDL2 to feature list
2014-08-10 19:13:49 -03:00
twinaphex
80a19ff0fd
(Wayland) Adding preliminary work by maister - input hookup still
...
missing
2014-08-09 21:35:27 +02:00
twinaphex
39cb690ba6
Set static variables to initial value
2014-08-04 01:24:58 +02:00
twinaphex
984b9b225f
Fix check_shader_dir
2014-08-04 00:35:52 +02:00
Twinaphex
7db4cd56b7
(OSX) Get rid of some warnings
2014-08-03 03:34:23 +02:00
twinaphex
7a40fa29f0
retroarch.c - Declare variables at top of function
2014-08-03 01:54:10 +02:00
twinaphex
8178957c7b
RARCH_CMD_HISTORY_INIT - early return if g_extern.history is not NULL
2014-08-02 20:09:42 +02:00
twinaphex
8abb916f66
Refactor content_history_init/deinit
2014-08-02 17:42:01 +02:00
twinaphex
946fc6040e
Refactor MENU_SETTINGS_OVERLAY_PRESET
2014-08-02 15:16:56 +02:00
twinaphex
5bf4be925b
Refactor rarch_main_deinit_core
2014-08-02 14:26:11 +02:00
twinaphex
c564278809
Refactor record init/deinit
2014-08-02 14:17:20 +02:00
twinaphex
cc59602f06
Cleanups
2014-08-02 13:55:05 +02:00
twinaphex
d376fbe8c4
Cleanups
2014-08-02 13:50:56 +02:00
twinaphex
e110bd90f5
Refactor DSP filter init/deinit
2014-08-02 13:40:38 +02:00
twinaphex
290e9cb14b
Cleanups
2014-08-02 12:38:57 +02:00
twinaphex
7d4b6b23c5
Refactor overlay init/free
2014-08-02 12:36:48 +02:00
twinaphex
53ae4cd72c
Refactor audio stop/start
2014-08-02 12:08:53 +02:00
twinaphex
e0c2379f4e
Declare variables at top
2014-08-02 11:48:42 +02:00
Twinaphex
d997ef02f7
Refactor save_auto_state
2014-08-02 05:13:10 +02:00
Twinaphex
1f3fd5cf5b
Refactor load_save_files
2014-08-02 05:08:52 +02:00
Twinaphex
e7980b89ea
Refactor deinit_rewind - rewind should never be deinited if
...
netplay is enabled (?)
2014-08-02 05:06:18 +02:00
Twinaphex
6422aa52d1
Refactor deinit_temporary_content
2014-08-02 05:04:13 +02:00
twinaphex
25e0ead417
Build fix - make RetroArch work without HAVE_NETPLAY defined
2014-08-02 04:21:07 +02:00
twinaphex
2c2f60cab4
Refactors
2014-08-02 04:13:34 +02:00
twinaphex
15f3f79732
Refactor rarch_init_autosave/rarch_deinit_autosave
2014-08-02 04:11:06 +02:00
twinaphex
33d18b3722
Non-public functions should have rarch_ prefix removed
2014-08-02 04:04:05 +02:00
twinaphex
15898a98f0
Refactor rarch_init_rewind/rarch_deinit_rewind
2014-08-02 04:01:25 +02:00
twinaphex
d70693345c
Refactor rarch_set_fullscreen calls to rarch_main_command
2014-08-02 03:56:19 +02:00
twinaphex
40ff938296
Refactor more code/code duplication in retroarch.c
2014-08-02 03:38:38 +02:00
twinaphex
5237ce4f89
Refactor rarch_take_screenshot
2014-08-02 03:29:48 +02:00
twinaphex
9446fa788c
Refactor video_frame
2014-08-02 03:02:32 +02:00
Twinaphex
f1bf2fab85
Build fix - move init_libretro_cbs_netplay outside of HAVE_COMMAND
...
block
2014-08-02 02:21:44 +02:00
twinaphex
9f48a2bca2
Refactor audio_flush
2014-08-02 02:18:54 +02:00
twinaphex
817bffcc57
Make audio_sample_batch function static
2014-08-02 02:05:01 +02:00
twinaphex
3e0f624e25
Move check_netplay_flip to top of check_flip function
2014-08-02 01:54:08 +02:00
twinaphex
6a0c3ff25d
Refactor more functions - make more functions in retroarch.c static
...
that don't need to be public
2014-08-02 01:49:36 +02:00
twinaphex
64e89330f8
Make rarch_load_state/rarch_save_state static functions
2014-08-02 01:35:33 +02:00
twinaphex
bccf887c44
Refactor more code
2014-08-02 01:28:06 +02:00
twinaphex
12471729f4
Move state_slot variable from g_extern to g_settings
2014-08-02 01:20:39 +02:00
twinaphex
163b802449
(retroarch.c) Some refactors
2014-08-02 00:32:56 +02:00
twinaphex
96d2e1e88f
Refactor do_state_checks
2014-08-02 00:21:44 +02:00
twinaphex
4bbb05f415
Refactors in retroarch.c to do with game reset
2014-08-02 00:10:04 +02:00
twinaphex
ff2158b2a4
refactor rarch_main_clear_state
2014-08-01 23:59:05 +02:00
twinaphex
1fb817a857
Refactor take_screenshot_viewport
2014-08-01 23:43:51 +02:00
twinaphex
63015a6e50
Refactor init_libretro_cbs_plain
2014-08-01 19:40:19 +02:00
twinaphex
6625c5f53b
Refactor rarch_main_init
2014-08-01 18:26:12 +02:00
twinaphex
aa28a074d7
Refactor bsv movie free duplication
2014-08-01 18:20:06 +02:00
twinaphex
8285f6021f
Refactor away rarch_main_idle_iterate
2014-08-01 17:57:14 +02:00
twinaphex
609614a84c
retroarch.c - cleanups
2014-08-01 17:49:02 +02:00
twinaphex
828edc3ec6
rarch_main_clear_state : Capital-case ZIP should no longer be
...
necessary
2014-08-01 09:54:57 +02:00
twinaphex
9dadfc0b19
Rename Netplay Nickname to Username and make it not dependent
...
on HAVE_NETPLAY
2014-08-01 05:04:59 +02:00
twinaphex
f63f1f8520
Replace more ROM references
2014-07-28 20:08:37 +02:00
twinaphex
272002310d
Rename more references to 'roms'
2014-07-28 20:01:27 +02:00
twinaphex
dfeab30f26
Rename rom variables in main_wrap struct
2014-07-28 19:55:28 +02:00
twinaphex
4d198dffaa
libretro_no_rom becomes libretro_no_content
2014-07-28 19:51:17 +02:00
twinaphex
f9b7431289
Rename g_extern.temporary_roms to g_extern.temporary_content
2014-07-28 19:49:07 +02:00
twinaphex
6485353884
Rename 'roms' to content, pt. 2
2014-07-28 19:47:12 +02:00
twinaphex
59f8e75ee1
Rename load_no_rom to load_no_content
2014-07-28 19:37:25 +02:00
twinaphex
24f0dcc550
Refactor away load_menu_game_prepare_dummy
2014-07-25 22:11:34 +02:00
twinaphex
78fcd416e7
Take out input_overlay_enable
2014-07-25 18:57:07 +02:00
twinaphex
3a501e750f
Hose some more code to rarch_main_command
2014-07-22 03:55:55 +02:00
twinaphex
d27ffd007f
(Menu) Refactor away load_menu_game_new_core
2014-07-22 03:41:24 +02:00
twinaphex
176b4f91b6
Create RARCH_CMD_LOAD_CORE
2014-07-22 03:34:28 +02:00
twinaphex
72be4b17e7
(Main) Take out HAVE_SCREENSHOTS ifdef
...
Create RARCH_CMD_TAKE_SCREENSHOT
2014-07-22 03:17:47 +02:00
twinaphex
78610e4d90
Add RARCH_CMD_LOAD_CONTENT
2014-07-22 03:12:56 +02:00
twinaphex
4b0f3584e0
Create rarch_main_command - command.c could maybe later be made
...
more generic so we can just do this through command.c functions
locally
2014-07-22 02:14:52 +02:00
twinaphex
e84e7f61e0
Create public function rarch_main_deinit_core
2014-07-22 00:31:29 +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
cdc46ae512
Block libretro input when ENABLE_HOTKEY is held.
2014-07-11 00:26:50 +02:00
Themaister
420a203a02
Reset g_extern path state after game reload.
2014-06-21 10:40:58 +02:00
Themaister
5530de0fb7
Android: Fix handling of libretro_path/libretro_directory.
2014-06-16 21:50:29 +02:00
Themaister
edbbacd067
Don't disable SRAM if netplay_is_client is set without netplay.
2014-06-16 18:23:11 +02:00
Themaister
53bc4c08ed
Check recording based on g_extern.rec and not g_extern.recording.
...
Fixes some segfaults where g_extern.recording and g_extern.rec mismatch.
Makes it possible to record without loading content directly from CLI.
2014-06-16 15:50:53 +02:00
twinaphex
5532babfd6
(Overlays) Add explicit overlay_enable option
2014-06-12 22:15:32 +02:00
twinaphex
29d6856244
Take out duplicate freeing of log_file
2014-06-10 19:39:46 +02:00
twinaphex
68963a6eb0
Turbo logic can be uncommented now for RARCH_CONSOLE
2014-06-10 15:57:39 +02:00
twinaphex
f7e9f4774d
(Menu) Replace more rgui_ references
2014-06-10 02:21:49 +02:00
Themaister
159ddb86d3
Add has_set* state for netplay settings.
2014-06-10 00:01:03 +02:00
Themaister
852e632862
Fix some dubious code in frontend/frontend.c.
2014-06-03 11:36:09 +02:00
twinaphex
e717e20643
Have to comment out turbo button functionality again for RARCH_CONSOLE
2014-06-03 07:04:15 +02:00
twinaphex
bca8a4c6d7
(GX) Build fixes/style nits
2014-06-03 03:37:13 +02:00
twinaphex
ae1e3b3f07
Rewrite rarch_main_wrap - we need a way of getting a valid argc/argv
...
pair for consoles where we get stupid argc/argv pairs back that need
to be 'converted' into something that RetroArch's PC-style args parsing
can deal with
2014-06-03 01:45:25 +02:00
Themaister
5e76f8ad47
Add perf counters to DSP.
2014-06-01 20:31:35 +02:00
Themaister
206ea8012f
Don't completely reinit menu driver unless we're killing Rarch.
2014-05-31 23:54:07 +02:00
Themaister
f1b3252193
Don't init assets from init.
...
Rename to context_reset/context_destroy and let the driver init/uninit
step signal the menu when the context is going down and coming up.
2014-05-31 23:24:46 +02:00
twinaphex
a5daca5946
(RARCH_CONSOLE) Don't comment out turbo code for RARCH_CONSOLE
2014-05-31 05:35:08 +02:00
twinaphex
d267f27130
(Style nit) Rename 'init' to 'initialize' in comments
...
(Filter) Get rid of questionable ifdef for HAVE_FILTERS_BUILTIN for
filter init
2014-05-30 18:23:32 +02:00
Themaister
f5b8ccff4b
Avoid set_controller_port unless we use something other than JOYPAD.
...
Some cores do not properly range check. Avoid needlessly breaking.
2014-05-28 21:05:15 +02:00
Themaister
13428541f4
Don't try to connect libretro devices which won't work.
2014-05-26 13:27:28 +02:00
Themaister
4093933abb
Don't override g_extern.verbose CLI argument.
2014-05-26 11:07:59 +02:00