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
twinaphex
ef09cf5aff
Replace some more mentions of 'ROM'
2014-05-26 03:11:39 +02:00
Themaister
c7eee695ce
Remove references to XML shaders.
2014-05-25 23:40:14 +02:00
Themaister
745cab4f4e
Fixups for fastforward_ratio and slowmotion_ratio.
...
Rename to Game Speed Cap in RGUI, more clear.
2014-05-25 13:13:55 +02:00
Themaister
addba80c3b
Rewrite DSP plugin interface.
2014-05-20 12:28:33 +02:00
Themaister
05eac0c8a2
Add new libretro_directory.
...
Avoid kinda-weird dual purpose of g_settings.libretro.
2014-05-09 18:51:20 +02:00
Themaister
804626e20d
Create abstract interface for FFemu.
2014-05-04 11:48:20 +02:00
twinaphex
08965cfa0d
Change HAVE_FFMPEG ifdefs into HAVE_RECORD - recording will get
...
a proper interface soon so there can be multiple implementations
instead of just ffmpeg
2014-05-03 00:21:07 +02:00
twinaphex
ba46770f3c
Rework frontend.c and make it possible to compile without HAVE_MENU
...
defined again
2014-04-30 04:00:39 +02:00
twinaphex
6f13028aba
(Audio DSP) Make it no longer dependent on HAVE_DYLIB being
...
defined
2014-04-28 06:45:50 +02:00
twinaphex
9f3ffa077d
(Menu) Add DSP filter options
2014-04-27 18:15:41 +02:00
twinaphex
45c917afa4
Compile in filters for console ports (HAVE_DYLIB not defined in
...
Griffin)
2014-04-16 02:09:09 +02:00
Themaister
4e8c3b3bd3
Add perf counter to softfilter.
2014-04-15 19:43:44 +02:00
Themaister
c7de0f8b78
Fixup FFmpeg build.
2014-04-15 04:15:19 +02:00
Themaister
4b97de0c9e
Replace filter cruft with new stuff.
2014-04-15 00:03:55 +02:00
Themaister
6d6ec8b35a
Allow toggling available device types in RGUI.
2014-04-12 14:12:06 +02:00
Themaister
a14f0a2760
Log ID as well.
2014-04-12 13:25:48 +02:00
Themaister
b4eaf81fed
Begin implementing SET_CONTROLLER_INFO.
2014-04-12 13:22:24 +02:00
Themaister
9f5a714615
Rename to SET_SUBSYSTEM_INFO.
...
Add test case.
2014-04-04 17:04:01 +02:00
Themaister
a58cb16367
Fix autosave toggle bug.
2014-04-04 15:19:13 +02:00
Themaister
2d840ef826
Small bugfix and docs fix.
2014-04-04 15:13:44 +02:00
Themaister
c81de5119d
Initial take on subsystems support.
2014-04-04 14:58:42 +02:00
Themaister
bad7f9af82
Check command interface in rarch_input_poll.
2014-03-17 11:34:25 +01:00
Themaister
883708df0f
Merge git://github.com/Alcaro/RetroArch into alcaro
...
Conflicts:
retroarch.c
rewind.c
2014-02-23 11:10:25 +01:00
Themaister
d896d0f6e4
Optimize state_manager_push a bit.
...
Avoid redundant memcpy and SSE2 memory diff search.
Might get replaced by Alcaro's implementation soon though.
2014-02-22 13:13:18 +01:00
Alcaro
df4ff9718b
Declare this one constant. Altering it will make further pulls yield garbage.
2014-02-21 21:51:58 +01:00
Alcaro
ef8d2ceb0f
Convert this one to an out parameter, to match state_manager_pop.
2014-02-21 21:42:05 +01:00
Alcaro
448a767ba2
Missed another spot...
2014-02-21 19:33:40 +01:00
Themaister
21c383f77a
Add initial SET_SYSTEM_AV_INFO environ.
2014-02-20 22:48:31 +01:00
Alcaro
519452ce4f
Might as well put this back. No reason to change visible behaviour.
2014-02-18 09:04:16 +01:00
Alcaro
d2e95c772b
Remove this one. The rewinder is the only user, and with this rewind rewrite, even that is gone.
2014-02-18 08:59:37 +01:00
Alcaro
55fa3d01d4
Fix this part, so we avoid a pointless memcpy. Rename this function.
2014-02-18 08:41:52 +01:00
Alcaro
e14c879bcb
Trim off this; from now on, the rewinder is responsible for rounding and allocation.
2014-02-18 08:40:16 +01:00
Themaister
b86ca166bf
Expose more SRAM settings in RGUI.
...
Also treat save state slot -1 as the "auto save slot".
2014-02-15 11:12:34 +01:00
Themaister
d129258c32
Allow toggling fullscreen from bind in RGUI.
2014-02-08 16:27:09 +01:00
Themaister
c9b8bfdbbc
Simplify parsing of --size.
2014-02-07 09:35:46 +01:00
Themaister
1777056d6f
Use the more appropriate __clang_version__.
2014-01-22 16:39:39 +01:00
Themaister
252efff8da
Log Git version in verbose logs.
...
Makes it much easier to figure out which builds users are running when
pasting logs.
2014-01-11 18:54:12 +01:00
Themaister
f6643fe12d
Push analog dpad mode for autoconfig as well.
2014-01-08 17:47:07 +01:00
Themaister
f57a1aa032
Add support for mapping analogs to D-pad again.
...
Use a cleaner approach which can feasibly work on all platforms.
Uses input_push/pop_analod_dpad to modify the joyaxis field before
polling input. This way, the RetroPad D-pad binds can inherit the
joyaxis fields from ANALOG_LEFT_X_PLUS and friends.
Also add support for the field in RGUI and saves settings.
2014-01-08 17:31:14 +01:00
Themaister
f61f42c68f
Simplify overlay analogs handling.
2014-01-08 13:32:51 +01:00
Themaister
9ab4b2213a
Avoid potential overflows with overlay analogs.
2014-01-07 17:43:44 +01:00
Themaister
a65db38baf
Allows buttons with l_x_plus, etc, to act as analogs.
...
Matches up with regular input drivers which can map buttons to analogs
as well if the analogs are not used.
2014-01-07 17:37:59 +01:00
Themaister
5b4ebb3fa1
Build fix for overlay.
...
Compute keyboard mod state once.
Fix C++ 'new' usage.
2014-01-06 19:42:46 +01:00
meancoot
65c368140c
(Overlay Keyboard) Handle key events (no character data yet)
2014-01-03 12:56:21 -05:00
meancoot
f55bac7f7e
(Overlay Keyboard) Use 1 bit per key to store state.
2014-01-02 23:37:18 -05:00
meancoot
1ff9630d74
Add support for mapping keyboard keys to input overlays.
2014-01-02 16:42:28 -05:00
Themaister
a60d49293b
Remove completely obsoleted "XML map" support.
...
This is from ancient times and no longer relevant.
2014-01-02 16:01:43 +01:00
twinaphex
0a15a17d44
Update years on all license headers
2014-01-01 01:50:59 +01:00
Themaister
e164457c02
Add support for movable overlay elements.
...
Very useful for visual feedback of analog controls.
2013-12-31 17:15:28 +01:00
Themaister
2be201ecf3
Add volume option.
...
There's a rudimentary volume option for XBOX1 there though ...
Dunno what to do about that.
2013-12-29 12:01:23 +01:00
Themaister
7bd6599634
Fix -L arg when default libretro is set.
2013-12-28 23:30:20 +01:00
twinaphex
ff036066e2
Rework frontend - separate functions now for iterating per frame
...
and for doing teardown - Emscripten and Apple ports can make use
of this now so we don't need separate frontend implementations
2013-12-28 21:08:30 +01:00
Themaister
a750f355f8
Style nits.
2013-12-28 15:31:25 +01:00
Toad King
c8677891e1
fix overlay alphas for multiple button presses
2013-12-26 21:39:07 -05:00
Toad King
da75ee5a88
don't update overlay ranges until all events are polled
2013-12-26 20:38:12 -05:00
Themaister
9c472e4e9e
Disable recording if FFmpeg errors out.
...
Or we segfault ...
2013-12-21 15:41:06 +01:00
twinaphex
4ba46df0ef
(Android) Build fix
2013-12-19 03:45:17 +01:00
Themaister
1c9895611b
Rework performance interface.
...
Avoids super-ugly macros and retroarch-ifdefs.
2013-12-18 19:21:56 +01:00
twinaphex
9852c5dc4c
Rewrite perf interface - exposes callbacks now for RETRO_PERFORMANCE_INIT/RETRO_PERFORMANCE_START/RETRO_PERFORMANCE_STOP calls without messy, hardcoded preprocessor-dependent variables in macros - will update cores accordingly too
2013-12-18 19:03:08 +01:00
twinaphex
69a67b3df2
Change RARCH_PERFORMANCE_ macro calls to RETRO_PERFORMANCE
2013-12-17 19:14:57 +01:00
twinaphex
38d785984f
Add RETRO_ENVIRONMENT_GET_PERF_INTERFACE to libretro.h
2013-12-17 19:10:40 +01:00
Themaister
84c93ef94a
Add experimental RGUI keyboard search feature.
...
Type '/' to start search, then type search string (case sensitive for
now due to strcasestr being GNU ext). When done, type return.
2013-12-09 16:18:58 +01:00
Themaister
8963504778
Log udev feature.
2013-12-08 16:07:14 +01:00
Themaister
dfff94e5a0
Rework camera interface.
...
Hook up a more proper interface for libretro. Still very experimental.
2013-11-12 16:02:26 +01:00
twinaphex
e83d4a6249
(retroarch.c) use strlcpy instead of snprintf / simplify some strings
2013-11-12 10:25:38 +01:00
twinaphex
2dd00822ee
Remove dependency on settings_set in retroarch.c
2013-11-11 12:35:20 +01:00
twinaphex
72b32f2c41
(RARCH_CONSOLE) ifndef input_apply_turbo
2013-11-11 10:39:07 +01:00
twinaphex
0faa3fbbde
(RARCH_CONSOLE) Compile in SRAM Autosave option in by default
...
for RARCH_CONSOLE now
2013-11-08 01:54:46 +01:00
twinaphex
2422c61d7a
(retroarch.c) Fix typo in log message
2013-11-07 21:47:41 +01:00
twinaphex
da8f8b6d63
Get rid of lifecycle_mode_state and use g_extern.lifecycle_state
...
instead
2013-11-07 21:44:44 +01:00
twinaphex
2f4e415035
(RARCH_CONSOLE) Disable turbo buttons on console - totally borks input
2013-11-07 04:20:20 +01:00
twinaphex
d2c87e3039
Convert most C99-style for loop initial declarations to C89-compliant
...
ones
2013-10-22 15:08:17 +02:00
Themaister
a5045e4052
Clarify input_apply_turbo..
2013-10-13 10:22:23 +02:00
Themaister
9e67406c40
Use skeleton config as basis for new configs.
2013-10-04 15:38:57 +02:00
Themaister
3ed9321468
Update man-page and --help.
...
Remove an obsolete per-game config support. It doesn't work with the
RGUI concept at all and is mostly just confusing.
2013-10-01 12:08:20 +02:00
twinaphex
46087cc0ef
(360) Build fix - now compiles in screenshot code
2013-09-29 18:08:11 +02:00
twinaphex
3b6408036c
(RMenu) Take out old RARCH_FRAMEADVANCE hack
2013-09-29 03:58:08 +02:00
twinaphex
5040f852ef
Avoid warnings passing rarch_time_t value to rarch_sleep - cast to
...
unsigned int
2013-09-27 18:43:34 +02:00
Themaister
086caef070
Add input_libretro_device_pN setting.
...
Allows input device type to be saved in a config, which tremendously helps usability
for PlayStation 1 cores.
2013-09-22 11:09:14 +02:00
twinaphex
a565f792a4
Video fullscreen toggle - mutation of g_settings now done through
...
settings_set
2013-09-19 12:41:02 +02:00
Themaister
8707c4c648
Add screenshot directory option to RGUI.
2013-09-16 23:30:42 +02:00
Themaister
bbbe058cad
Avoid OSD fonts appearing on screenshots.
...
Clears message queue and renders a cached frame
before taking screenshot when taking GPU screenshots.
2013-09-16 22:29:07 +02:00
Themaister
e540413880
Be more clear if a core doesn't support save states.
...
For cores which do not support save states, log to OSD in a more clear
way.
2013-09-14 23:21:00 +02:00
Themaister
38ec55573c
Rework SET_AUDIO_CALLBACK.
...
When disabling audio and/or muting, the core has no way
of knowing this, causing potential issues in a threaded mixer.
This environ is not used by any public core to my knowledge so the old
API has been removed and replaced with a change to environment number
(20 -> 22).
2013-09-14 17:28:09 +02:00
meancoot
149a0f37d0
(Overlay Analog) Coding style fixes
2013-09-05 18:19:07 -04:00
meancoot
21388592ea
(Overlay) Add basic analog support
2013-09-05 11:38:00 -04:00
twinaphex
3adfefed24
Fix build (to do with removing RARCH_PERFORMANCE_MODE ifdefs)
2013-08-25 23:38:43 +02:00
twinaphex
add527e3d2
Get rid of RARCH_PERFORMANCE_MODE
2013-08-25 22:18:57 +02:00
twinaphex
95f5e6aa96
Add RETRO_ENVIRONMENT_EXEC_ESCAPE -yes, I need this - when we are in
...
retro_run - we need to escape first before we can get the next libretro
core with input data running. This is not needed when we do exec without
being in the main program loop. Anyway, one does not work for the other -
so we need both.
2013-08-25 19:42:24 +02:00
twinaphex
6a3303d2b4
Need to put extra conditional in when triggering ENVIRON EXEC to
...
get out of the main iterate loop once so that it can start up
the next core with params
2013-08-25 15:51:42 +02:00
Themaister
9e4cee5b30
Add support for fast forward frame limiting.
2013-08-11 01:09:10 +02:00
Themaister
e8271031b6
Stop/start audio driver on mute.
2013-08-11 01:09:10 +02:00
Themaister
a543b5da74
Fix threaded audio race conditions.
2013-08-11 01:07:59 +02:00
Themaister
bb0993b6eb
Fix Android build.
2013-08-11 01:07:30 +02:00
Themaister
8b655f491a
Add slow motion check to frame time.
2013-08-11 01:05:33 +02:00
Themaister
6a82db13d5
Fixups for frame time callback.
2013-08-11 01:05:33 +02:00
Themaister
f4a23115c2
Begin adding AUDIO_CALLBACK/FRAME_TIME_CALLBACK.
2013-08-11 01:05:33 +02:00
Themaister
3dd5cd39c4
Add cache_context/destroy notification.
2013-08-11 00:55:05 +02:00
Themaister
e18af77412
Add path to cache GL context on reinit.
...
If successful, can avoid libretro GL reset context callback being
called.
2013-08-11 00:53:19 +02:00
twinaphex
2323cee6a7
Get rid of MODE_EXIT
2013-07-27 20:34:06 +02:00
twinaphex
d215a2a0f5
remove ifdefs around puts PACKAGEVERSION line
2013-07-04 15:06:28 +02:00
twinaphex
77d5190a01
(OSX) Make dummy context file - compile in RetroArch with Griffin
2013-07-04 15:01:38 +02:00
Themaister
40046531f3
Should fix GPU screenshots if last frame was duped.
2013-06-22 00:38:00 +02:00
Themaister
312154d110
Use common rarch_take_screenshot in RGUI.
...
Adds GPU screenshot support from RGUI by rendering a clean frame
then taking screenshot.
Should also fix screenshot crash when using GL cores.
Always uses g_settings.screenshot_directory path.
I didn't see the purpose of the RARCH_CONSOLE #ifdef. Probably a Wii
hack from way back ...
2013-06-16 13:44:07 +02:00
Themaister
9406b0a771
More explicit logging of FBO errors.
2013-05-18 16:51:10 +01:00
Themaister
a9d322350b
Clear out all of g_extern.system.
...
Should clear out all the silly bugs where some interfaces are not cleared out on
reentrancy.
2013-05-07 01:52:53 +02:00
twinaphex
092b2625dd
(RMenu/RGUI) Drop MODE_MENU_INGAME
2013-05-05 15:20:45 +02:00
Themaister
99990173cc
Can load without ROM in RGUI (HAVE_DYNAMIC).
...
Not sure how this will work on RARCH_CONSOLE, but it'll probably be
checked for in startup on core load somehow and either start in menu or args->no_rom.
2013-05-02 14:46:05 +02:00
Themaister
197c4db204
Add RETRO_ENVIRONMENT_SET_SUPPORT_NO_GAME.
...
Allows libretro core to not require a ROM to be loaded.
Kill stdin ROM loading support (pointless these days).
Replace "no ROM on CLI" behavior to be attempting to load a core with no
ROM.
2013-05-01 00:59:43 +02:00
Themaister
1cab391be8
Add SRAM autosave option to RGUI.
2013-04-29 16:12:15 +02:00
Themaister
767ad59857
Support disk append.
2013-04-27 15:49:29 +02:00
Themaister
9e2392051d
Refactor libretro device type handling.
...
Show devices in RGUI.
2013-04-27 12:32:30 +02:00
Themaister
9eda39417f
Refactor out disk swapping functions.
2013-04-27 12:03:13 +02:00
Themaister
50c704933a
Remove debugging logs.
2013-04-27 00:00:51 +02:00
Themaister
ac6c576d29
Drop dependency on delay_timer in RGUI.
2013-04-26 23:52:29 +02:00
Themaister
a92ff2a23a
Reset optind to 0, not 1.
...
Seems to cause strange issues ...
2013-04-26 23:06:43 +02:00
Themaister
0e61461c07
Should fix very strange flickering bug.
2013-04-22 21:10:17 +02:00
Themaister
44476bdbfb
Logging main_wrap.
2013-04-22 20:35:45 +02:00
Themaister
846557ba21
Start menu if ROM is not passed to rarch_main_wrap.
2013-04-21 01:12:30 +02:00
Themaister
610f33962a
Add fullscreen toggle to RGUI.
...
Drop hotkey handling. Needed to add delay timer hackery in that case.
2013-04-21 00:01:49 +02:00
Themaister
fa5e8b646c
Preserve sram/state dir on reentrancy.
2013-04-16 12:22:27 +02:00
Themaister
476d6cef88
Set has_set_*_path on reentrancy.
2013-04-16 09:41:47 +02:00
Themaister
8c58ff191a
Fix strange use of pointers in screenshot code.
2013-04-14 23:14:38 +02:00
Themaister
0ca210f99d
Document behavior with no args.
2013-04-14 22:41:43 +02:00
Themaister
7923ac4849
If run with no args, start menu.
2013-04-14 19:23:42 +02:00
Themaister
c9a02273bb
Check for fullscreen in RGUI.
2013-04-14 16:40:17 +02:00
Themaister
1395c32937
Add dummy core loading.
2013-04-14 16:29:30 +02:00
Themaister
f968ee6527
Refactor nonblock states.
...
Preserve nonblock state better across reinits, etc.
Try to keep vsync in RGUI.
2013-04-14 00:56:55 +02:00
Themaister
e389220df8
Refactor frame_counter.
...
Graphics drivers get the task of updating this.
If threaded driver is used, main thread cannot update the counter
due to race conditions.
2013-04-13 14:28:12 +02:00
twinaphex
da8bbde11d
Simplify some _WIN32 includes
2013-04-11 22:35:15 +02:00
Themaister
f88ea04c28
Remove fixed shader index in set_shader.
2013-04-07 13:00:21 +02:00
Themaister
cf92211254
Update overlay when in RGUI.
2013-04-04 23:10:38 +02:00
Themaister
77164d18ca
Begin adding core options interface.
2013-04-04 13:58:30 +02:00
Hans-Kristian Arntzen
ebd7dcf721
Merge pull request #169 from Themaister/gl-render
...
HW GL render for libretro.
2013-03-30 06:33:53 -07:00
twinaphex
39c0ed745c
(PS3) Get rid of QUICKMENU_TOGGLE define - was surpassing 64 entries
...
on PS3 - now going to do 'menu toggle behavior' logic instead -
menu toggle now triggers ingame menu - will be configurable
2013-03-30 07:19:42 +01:00
Themaister
292bc36b43
Basic mouse grabbing for X11.
2013-03-29 18:55:54 +01:00
Themaister
4bcc566afb
Fix some possible segfaults with HW render.
2013-03-28 12:27:40 +01:00
meancoot
2a4573854e
(iOS) Load BTstack dynamically; no more separate nobtstack xcode scheme.
2013-03-18 20:32:24 -04:00
Themaister
51b5a2df5c
Refactor aspect_ratio member.
...
Mutate in g_extern.system.aspect_ratio to avoid
getting wrong aspect ratio on reentrancy.
2013-03-17 22:05:15 +01:00
twinaphex
d67e4da4db
Revert "Can't have hardcoded binds structs for 8 players"
...
This reverts commit 2579af2764
.
2013-03-16 17:51:28 +01:00
twinaphex
2579af2764
Can't have hardcoded binds structs for 8 players
2013-03-16 17:33:18 +01:00
Themaister
e3c85b174c
Can toggle rewind enable in runtime.
2013-03-16 14:28:34 +01:00
Themaister
0b8d8c41f7
Don't use QUICKMENU for RGUI.
...
Doesn't seem to be used.
2013-03-16 11:11:36 +01:00
Themaister
12cc1c43d4
Can almost run RGUI on PC.
...
Input in menu is broken. Binds are set up wrongly for PC.
2013-03-16 10:35:22 +01:00
twinaphex
039fc644d5
Revert "Menu toggle without delay timers (more testing might be needed -"
...
This reverts commit 54a6175a55
.
2013-03-11 02:07:50 +01:00
twinaphex
54a6175a55
Menu toggle without delay timers (more testing might be needed -
...
tested on PS3 RMenu and seemed to work well enough)
2013-03-11 01:12:19 +01:00
Themaister
384212470a
Avoid delay timer in rarch_main_iterate.
2013-03-10 21:13:55 +01:00
ToadKing
eb82bd2127
implement driver.current_msg
...
fix RGUI to no longer use driver.video_data casting
2013-03-10 16:02:10 -04:00
twinaphex
9d9eb90574
Drop another HAVE_RMENU ifdef in retroarch.c
2013-03-09 17:04:18 +01:00
twinaphex
0b6e5a6388
Rename RARCH_RMENU_TOGGLE to RARCH_MENU_TOGGLE
2013-03-09 16:14:26 +01:00
twinaphex
af7430b767
Get rid of some extraneous HAVE_RMENU ifdefs in retroarch.c
2013-03-09 15:24:15 +01:00
Themaister
4bca26097c
Clarify branch intention better.
2013-03-09 11:00:00 +01:00
Themaister
272ef70895
Merge branch 'master' into cd-swap
2013-03-09 09:27:14 +01:00
ToadKing
dbea6f3614
fix closing menu on android
...
(MIGHT REQUIRE CHANGES TO CONSOLES)
2013-03-07 14:39:08 -05:00
twinaphex
a23bc3a13f
Control flow change for RGUI/RMENU - no longer have to invoke RARCH_QUIT_KEY to toggle menu
2013-03-07 19:02:44 +01:00
twinaphex
7b96cf8db3
(Android) Blank in input_poll_func() for HAVE_ASYNC_POLL
2013-03-04 13:29:04 +01:00
twinaphex
42fe25b3b7
(Android) Drop this ifndef - to allow input overlay poll to still happen
2013-03-04 11:57:48 +01:00
twinaphex
ab6135c9d5
(Android) Define HAVE_ASYNC_POLL for Android (will likely be used for other
...
mobile platforms as well)
2013-03-04 11:52:58 +01:00
Themaister
cae578fe73
Refactor Android-specific polling logic.
2013-03-03 18:20:05 +01:00
twinaphex
28c9f51913
(Android) Rewrite new input code some more
2013-03-03 11:22:59 +01:00
twinaphex
ec114db356
(Android) Reimplemented input loop - better throughput/latency
2013-03-02 23:53:06 +01:00
Themaister
7fadee0da3
Let $XDG_CONFIG_HOME fallback to $HOME/.config.
...
Use the specification more correctly. Keep fallback to
$HOME/.retroarch.cfg.
2013-02-26 18:46:07 +01:00
Themaister
9370ae9dee
Should fix OSX.
...
main() must be hacked by SDL_main.
2013-02-26 08:43:32 +01:00
twinaphex
f72a505dbe
Split up main() function to frontend/frontend.c
2013-02-25 07:01:16 +01:00
twinaphex
49b0f5c204
Add HAVE_RARCH_MAIN_IMPLEMENTATION define - hook up console ports
...
differently
2013-02-25 06:47:26 +01:00
twinaphex
6ac16781b6
(Playbook) Down to one compile error
2013-02-25 02:44:56 +01:00
Themaister
e3dfba2c34
Add preliminary disk swapping interface.
...
Works with Mednafen's disk swapping model.
2013-02-21 23:44:07 +01:00
Themaister
0c6e456e65
Merge branch 'master' into thread_video
2013-02-17 15:49:58 +01:00
Themaister
041bfecf21
Avoid "double-tapping" overlay on overlay_next.
2013-02-17 15:00:38 +01:00
Themaister
034c553ff6
Merge branch 'master' into thread_video
...
Conflicts:
console/griffin/griffin.c
2013-02-17 13:25:41 +01:00
twinaphex
5cb9713aae
Don't compile in autosave for consoles
2013-02-17 02:00:51 +01:00
Themaister
76bf41188a
Add video_threaded option to Android.
2013-02-17 00:26:17 +01:00
Themaister
4e1387ce25
Fix Win32 MSVC 2010 build.
2013-02-09 10:39:23 +01:00
Themaister
d33d2e9f0c
Make resamplers more modular.
2013-02-08 11:49:51 +01:00
Themaister
27d57b789a
Add basic FPS measurement routines.
2013-02-04 21:46:56 +01:00
Themaister
6f8190ea0b
Add savestate_auto_load option.
2013-01-24 19:24:40 +01:00
Themaister
77207332f1
Use NEON conditionally in SINC.
2013-01-24 18:30:37 +01:00
Themaister
40300e502b
Fix regression in patching when zlib CRC32 is used.
2013-01-24 16:49:23 +01:00
twinaphex
bfec64104c
(RARCH_CONSOLE) Shorter title_buf for consoles - will fit better within Xbox 1
...
screen estate dimensions
2013-01-23 03:20:58 +01:00
ToadKing
6d174dcc3b
(Console) don't delete the wrong file on when loading a second rom after loading one in a zip file
2013-01-21 20:18:11 -05:00
Themaister
b90490f425
Add zip loading support to core.
2013-01-21 23:52:47 +01:00
Themaister
e04217e373
Refactor where ROM is loaded.
2013-01-21 21:01:12 +01:00
Themaister
ef9825c6bd
Use simpler way to check if path is empty.
2013-01-21 20:48:05 +01:00
Themaister
f073eefe80
Remove libpng from quickbuild.
2013-01-19 02:36:37 +01:00
Themaister
2443a761fc
Merge branch 'master' of github.com:Themaister/RetroArch
2013-01-18 19:23:12 +01:00
twinaphex
7cfc60f374
Do fill_pathnames after init_rom_file - needed for ZIP file
...
extraction code (for Android/RARCH_CONSOLE)
2013-01-18 19:11:41 +01:00
Themaister
019959a012
Add audio buffer statistics measurement.
2013-01-18 10:38:43 +01:00
twinaphex
ae9a1167b7
(RARCH_CONSOLE) Refactored sram_dir_enable / state_dir_enable setting -
...
also fixed a reentrant bug to do with set savestate dir/set sram dir
boolean variables in parse_input
2013-01-13 04:12:10 +01:00
twinaphex
04cacb5e30
Upgrade lifecycle_menu_state to 64bit variable lifecycle_mode_state
2013-01-12 03:13:03 +01:00
Themaister
312980ee30
Add support for full-screen overlays.
2013-01-11 16:23:04 +01:00
Themaister
e35c6375ee
Fix C++ incompatibilities in retrolaunch.
2013-01-11 11:51:52 +01:00
twinaphex
a8cbbeb17c
(RMenu)Everything to do with lifecycle_menu_state is mostly RMenu-only
2013-01-11 04:41:57 +01:00
twinaphex
7411d140f8
Fix PC build
2013-01-11 04:39:24 +01:00
twinaphex
6e1fbafb30
(RARCH_CONSOLE) Easier flow control
2013-01-11 02:32:21 +01:00
twinaphex
b5e82dae59
(RARCH_CONSOLE) Refactor ingame_menu.enable variable
2013-01-10 20:29:07 +01:00
twinaphex
7a3b021b17
g_extern.console.rmenu.mode becomes g_extern.lifecycle_menu_state
2013-01-10 18:04:04 +01:00
twinaphex
6ad5d46781
(RARCH_CONSOLE) rmenu.mode is now set with bitmasked values so
...
as to allow more state management options
2013-01-10 08:46:46 +01:00
twinaphex
d36af814c6
Reintroduce block_config_read
2013-01-10 06:45:44 +01:00
twinaphex
cc71a83fa8
(RARCH_CONSOLE) Console ports now use config_load for loading
...
config file stuff and config_set_default as only place to load
defaults from. Slightly messy defaults will be cleaned up later.
2013-01-10 06:38:19 +01:00
Themaister
f739fc875e
Don't compile in null drivers for CLI.
2013-01-09 11:26:21 +01:00
twinaphex
9c67f3a6ac
refactor out rarch_console_get_rom_ext - use this for PC too
...
since RMenu depends on it and it will run on that as well
2013-01-09 07:07:46 +01:00
twinaphex
05ec28aef5
Make init_system_info function public
2013-01-08 22:52:56 +01:00
Themaister
5bf9eeb802
Move some RARCH_CONSOLE stuff around.
2013-01-08 23:22:08 +01:00
twinaphex
1fb34c9dd5
(RARCH_CONSOLE) Console driver initing/deiniting
2013-01-08 22:17:38 +01:00
twinaphex
bc4e010a96
(RARCH_CONSOLE) frontend_console cleanups
2013-01-08 08:11:05 +01:00
ToadKing
f33ed73671
(Consoles) re-add second timer for scroll delays
2013-01-07 23:58:00 -05:00
Themaister
551a464978
Rework index parameter to set_shader().
2013-01-08 04:08:15 +01:00
twinaphex
fe62828fb1
(RARCH_CONSOLE) Refactor timer code
2013-01-08 00:35:49 +01:00
twinaphex
b56b645366
Rename RARCH_SHADER_BSNES to RARCH_SHADER_GLSL
2013-01-07 17:03:10 +01:00
twinaphex
3a5d056b95
Expand functionality of set_shader callback function
2013-01-07 16:46:26 +01:00
twinaphex
aaebc0be3d
(RARCH_CONSOLE) Add #ifdef HAVE_DYNAMIC for libretro dynamic
...
library argv
2013-01-06 04:11:24 +01:00
twinaphex
66dfceabe1
(RARCH_CONSOLE) Build fixes + rarch_main_init_wrap needs to be
...
always compiled in and not ifndef HAVE_RARCH_MAIN_WRAP
2013-01-06 03:50:55 +01:00
Themaister
9df3b56413
Refactor main_wrap out to core.
2013-01-06 03:06:47 +01:00
Themaister
6e0e221f1b
Verify that NEON code isn't run for non-NEON.
2013-01-06 00:20:26 +01:00
Themaister
9a3c66c0fd
Style nit.
2013-01-05 23:58:28 +01:00
twinaphex
02514d509e
Add main_is_init conditional
2013-01-05 23:44:49 +01:00
Themaister
276b588217
Add custom xml parser. Use as fallback.
2013-01-02 15:18:42 +01:00
Themaister
0b4cf2d053
Update license headers to 2013.
2013-01-01 01:41:15 +01:00
Themaister
7458f7888f
Set up multitouch querying.
2012-12-27 12:26:13 +01:00
Themaister
0b7bfc872b
Allow rewind to be inited/deinited better.
2012-12-25 19:46:19 +01:00
Themaister
35bf5c82c1
Make OVERLAY optional.
2012-12-23 18:39:01 +01:00
Themaister
f445c939e9
Merge branch 'master' into overlay
2012-12-23 13:56:57 +01:00
Themaister
9b58fac354
Always compile in config file support.
2012-12-23 13:55:59 +01:00
Themaister
34bd32c1fd
Add RETRO_OVERLAY_NEXT bind.
2012-12-22 15:33:28 +01:00
Themaister
9056946079
Merge branch 'master' into overlay
2012-12-22 11:38:18 +01:00
Themaister
6bb2349833
Kill off external driver plug interfaces.
...
These are too much work to maintain, and aren't really all
that useful.
2012-12-22 11:37:15 +01:00
Themaister
a1fd01dbc6
Add some TODOs for overlay.
2012-12-20 15:53:09 +01:00
Themaister
47a98ef205
Make overlay polling completely independent.
2012-12-20 15:33:54 +01:00
twinaphex
de5869c69e
rarch_main_idle_iterate only compiled in if HAVE_RARCH_MAIN_WRAP
...
is undefined
2012-12-18 08:51:25 +01:00
twinaphex
1564d04a1e
Get rid of doubly #ifdef in retroarch.c
2012-12-18 07:46:40 +01:00
twinaphex
3570ba80d2
(Android) Move Android-specific pause functionality outside of
...
rarch_main_iterate
2012-12-18 03:18:53 +01:00
twinaphex
aab39626fe
RARCH_PERFORMANCE_MODE - Small correction for conditional to do
...
with rendering rarch_cached_frame in do_state_checks
2012-12-17 23:04:47 +01:00
twinaphex
5eccdf2eee
RARCH_PERFORMANCE_MODE - Skip all pause/oneshot checks
2012-12-17 22:45:29 +01:00
twinaphex
918052f5ba
(Android) Rewrite activity_paused logic
2012-12-17 20:07:08 +01:00
twinaphex
8692ef204e
(PS3) Cut down on usage of rmenu.enable variable - last stronghold
...
is Wii/GX
2012-12-17 08:24:45 +01:00
Themaister
05f8c54ed6
Move pausing logic outside rarch_main_iterate.
2012-12-15 20:44:59 +01:00
twinaphex
627fd567a9
(Android) Do Android pausing in a different way
2012-12-15 19:17:26 +01:00
twinaphex
04674fbba7
(PS3/XDK) Better way to toggle frame advance
2012-12-15 02:13:58 +01:00
twinaphex
0261d934f2
(RARCH_CONSOLE) Rework how we do RARCH_QUIT_KEY - right now used
...
for ports that define HAVE_RMENU - made compiling in the RMenu
GUI separate from the HAVE_RMENU logic
2012-12-15 01:14:21 +01:00
twinaphex
789674c97a
Increment g_extern.frame_count after retro_run()
2012-12-14 20:34:57 +01:00
Themaister
2c41fe7288
Move log_fp to g_extern.
...
Rework logger macros to use g_extern.log_file is it's non NULL.
Otherwise, fallback to stderr.
2012-11-26 16:59:00 +01:00
twinaphex
e1ea973e58
Promote HAVE_FILE_LOGGER for all platforms
2012-11-26 02:46:40 +01:00
Themaister
8f9b68ad90
Add config file support to FFmpeg recording.
2012-11-23 22:46:36 +01:00
Themaister
a25dcf337c
read_viewport can return false during video record.
2012-11-21 10:24:35 +01:00
Themaister
734fdc4bf6
Do not overwrite system dir path unless it's empty.
...
This should fix the issue on consoles where system_directory
is mysteriously overwritten.
2012-11-20 12:41:39 +01:00
twinaphex
212ae28cf6
(RARCH_CONSOLE) Add note again about serious functionality-breaking
...
'bug' for consoles
2012-11-20 05:12:08 +01:00
Themaister
86e21686f7
Refactor out buggy 'in-line' path handling.
2012-11-18 17:16:20 +01:00
Themaister
63604a3e57
Logging align nit.
2012-11-16 12:03:23 +01:00
Themaister
f643df4300
Log save ram more verbosely.
2012-11-16 11:47:39 +01:00
Themaister
9d2ca33b5b
Do not attempt to start rewind if state_size is 0.
2012-11-09 20:26:12 +01:00
Themaister
aa6d291707
Style nits.
2012-11-05 11:57:40 +01:00
twinaphex
af648b6598
(Performance) Use one single unsigned variable instead of
...
multiple bools - also introduce bitmasks
2012-11-05 09:06:00 +01:00
Themaister
29158640e6
Slim down double ifdef.
2012-11-03 23:11:27 +01:00
twinaphex
46a4efd885
(Android) Better lifecycle management - getting close to restoring state
2012-11-03 19:06:55 +01:00
Themaister
91edc8ff49
Add volume control.
...
It imposes no performance loss as it is performed
during s16->float conversion.
It is however grouped together with check_mute.
2012-11-03 14:15:03 +01:00
twinaphex
e0e5e8cb1b
(Android GLSL) MAX_PROGRAMS 8 instead of 16, MAX_TEXTURES 4 instead
...
of 8, PREV_TEXTURES 3 instead of 7
2012-11-03 09:35:18 +01:00
Themaister
0ac3ee7d31
Add input_hotkey_enable.
...
Adds a mechanism to toggle when hotkeys are enabled.
2012-11-02 23:26:29 +01:00
Themaister
6ce23c57df
Fix x86_cpuid to preserve ebx for PIC.
2012-11-02 21:25:54 +01:00
Themaister
c6b50d2645
Add CPU feature detection for X86.
2012-11-01 22:31:24 +01:00
twinaphex
b0e4ca599c
(PC/Linux) performance_android.c works for PC Linux too - refactor as
...
performance_linux and compile it in for Linux build (but don't yet use it)
2012-11-01 07:41:36 +01:00
twinaphex
b240cfbc7e
(RARCH_PERF) Rename benchmark.c to perforance.c
...
(MSVC2010) Rename incorrectly named MSVC2012 solution which was
really an MSVC 2010 solution
2012-11-01 06:21:18 +01:00
Themaister
434089c0ac
Fix indent.
2012-10-30 23:47:14 +01:00
twinaphex
1902763f67
Performance counters for audio
2012-10-30 23:46:01 +01:00
Themaister
fbfbf1ed6a
Log performance counters at the end.
2012-10-30 23:28:54 +01:00
twinaphex
253741ccf5
(Android) Apply the same performance optimizations for RARCH_CONSOLE
...
to Android - call this compile-time option 'RARCH_PERFORMANCE_MODE'
2012-10-30 20:31:34 +01:00
Themaister
81a6328c62
Fix segfault in GPU screenshot path.
2012-10-28 00:59:12 +02:00
Themaister
1908a81e1c
Add RETRO_DEVICE_POINTER.
...
Implemented only for X11 so far.
Also clears up viewport_size call.
Changed to viewport_info to also grab X/Y info.
2012-10-28 00:38:31 +02:00
twinaphex
dc767c521e
(RARCH_CONSOLE) Bad regression broke SYSTEM_DIRECTORY getter/setters for libretro
...
cores on consoles
2012-10-22 18:54:21 +02:00
Themaister
668ff7687e
Let CPU filters work with any format.
2012-10-21 22:59:13 +02:00
Themaister
a545964be8
Fix crash on frame dupe.
2012-10-21 11:17:21 +01:00
Themaister
93078889cc
Begin reworking RGB565 as default pixel format.
2012-10-20 01:12:02 +02:00
Themaister
7ee9b8537f
Actually load and not save SGB ram.
2012-10-17 08:46:56 +02:00
twinaphex
608d3718a3
(Android) Android does not redirect stderr to the logger - so we
...
need to wrap all stderr fprintfs - this will help for Xbox 1 too
which also doesn't redirect stderr
2012-10-16 13:57:35 +02:00
Themaister
d8d3442b29
Make rarch_main() the *real* entry point.
2012-10-15 21:50:22 +02:00
twinaphex
5ffab01827
(Android) Add g_android global struct - EGLDisplay, EGLContext
...
and EGLSurface in this struct are temporarily and all code
will be moved to EGL context file
2012-10-15 08:57:23 +02:00
twinaphex
174c7d9d98
(RARCH_CONSOLE) g_console struct removed now - console settings
...
now a part of g_extern and also compiled in for PC - will use
this for RMenu
2012-10-15 06:25:12 +02:00
twinaphex
fc17456581
(RMenu / RARCH_CONSOLE) Move more g_console state to g_extern
2012-10-14 20:34:16 +02:00
Themaister
b8abf34785
Purge some now useless code.
...
Removes manual input rate adjustments.
Don't allow DSP plugs to resample as it would complicate things alot
with dynamic rate control.
Also purges optional ssnes_* symbols for external plugs.
2012-10-13 20:22:45 +02:00
Themaister
08f64edc84
Fix set_savestate_auto_index.
2012-10-11 22:54:07 +02:00
Themaister
9c462e19b7
Add basic turbo support.
2012-10-01 22:16:16 +02:00
Themaister
d059d3fba2
Add feature logs in --feature.
2012-09-25 12:58:45 +02:00
Themaister
c55f71c49d
Shaders can be swapped out in command interface.
2012-09-21 21:56:54 +02:00
Themaister
102d30473e
Shader directory looks for Cg/Cgp shaders.
2012-09-21 21:20:30 +02:00
Themaister
d750acedf3
system_directory defaults to ROM directory.
...
Also fires off a warning about this ...
2012-09-18 23:48:50 +02:00
Themaister
de2f5ba4ba
Add experimental KMS/GLES framebuffer driver.
2012-09-16 21:41:09 +02:00
Themaister
dac374605d
Go back to block_size correctly after sync change.
2012-09-16 16:52:04 +02:00
Twinaphex
79a75a43db
(retroarch.c) Replace some fprintf to stderr with RARCH_ERR
2012-09-16 06:06:05 +02:00
Themaister
a8ab9c54bc
Add --appendconfig option.
2012-09-11 00:10:44 +02:00
Themaister
4402fcb323
Should fix crash with --config.
2012-09-09 09:26:54 +02:00
Themaister
d68f5424dc
Add possibility to avoid screenshoting viewport.
2012-08-26 21:18:52 +02:00
Themaister
ac99ffe46e
Fix minor oops.
2012-08-26 00:17:22 +02:00
Themaister
3681e4a846
Terminate recording if resolution changes.
...
Simpler this way.
2012-08-25 22:48:09 +02:00
Themaister
304615510a
Start adding GPU recording to FFmpeg.
2012-08-25 22:38:49 +02:00
twinaphex
6d5ed820e0
(Xbox 1/XDK) Screenshot code implemented
2012-08-20 03:30:36 +02:00
Themaister
f0d9cc09c9
Add --dualanalog/-A flag.
2012-08-16 21:21:19 +02:00
Themaister
70fd5350dc
Always build in h264 support.
2012-08-16 09:25:13 +02:00
Twinaphex
979e45ea66
Remove redundant log
2012-08-15 21:02:06 +02:00
Twinaphex
bbe0f00059
(GX) Should save soft_display_filter to config file now
...
(CONSOLE) throttle mode will not be enabled if force_nonblock
is set to true
2012-08-15 21:00:23 +02:00
Themaister
405a901d18
Be more careful about overwriting global settings in driver init.
2012-08-15 20:43:26 +02:00
Themaister
45579376f0
Add exception for RETRO_DEVICE_KEYBOARD in input_state callback.
2012-08-12 10:01:35 +02:00
Themaister
1794aa6dff
Do not call set_nonblock_state for FF buttons if vsync isn't activated.
2012-08-12 09:36:15 +02:00
Twinaphex
714837e8c0
(RARCH_CONSOLE) Namespaced all files in console/
2012-07-28 15:54:35 +02:00
Themaister
38f7673fac
Add command functionality to stdin.
2012-07-25 04:50:46 +02:00
Twinaphex
c3d40d0f5a
Snes exorcism
2012-07-07 17:19:32 +02:00
Themaister
7b12182a0f
Add optional fixed point resampler.
2012-07-06 17:36:37 +02:00
Themaister
c7179404e0
Fix embarassing memory leak. *hides*
2012-06-30 01:18:08 +02:00
Twinaphex
f0026384d3
(Console) Rename console_ext.c to retroarch_console.c
2012-06-28 17:52:51 +02:00
Twinaphex
a62893610e
(PS3) don't use Griffin override for audio_flush anymore, but
...
do keep optimizations when we aren't using DSP audio plugins
2012-06-24 13:11:10 +02:00
Themaister
9f60e48a98
Redefine behavior of NULL in video_frame().
2012-06-23 18:01:01 +02:00
Themaister
14f7f641f3
Refactor directory listing to greatly optimize sorting.
2012-06-23 15:32:46 +02:00
Themaister
951721d2ab
Clean up ifdef properly this time ...
2012-06-22 19:03:46 +02:00
Twinaphex
ce0422c780
Revert "Kill useless ifdef." - this breaks PS3/360 port -
...
so moving it back
This reverts commit f9c347cb0a
.
2012-06-20 19:03:52 +02:00
Themaister
f9c347cb0a
Kill useless ifdef.
2012-06-20 09:53:32 +02:00
Twinaphex
8bd85e1bfe
(PS3/360) Get rid of Griffin override for rarch_render_cached_frame
2012-06-20 07:39:20 +02:00
Themaister
e71115151b
Add libpng screenshot support.
2012-06-17 13:11:39 +02:00
Themaister
53f645ed0b
Add SET_PIXEL_FORMAT environ.
2012-06-16 15:07:31 +02:00
Twinaphex
df6a9a0f85
Set up dir_list_new so that we can use it for the 360/PS3 filebrowser
2012-06-10 03:50:06 +02:00
Themaister
9e650a9540
Add some clarifying comments on screenshots.
2012-06-09 10:29:50 +02:00
Themaister
19f0c04021
Add screenshot support from backbuffer.
2012-06-08 22:39:18 +02:00
Themaister
b6ca3e0e33
More verbose logging on auto save states.
2012-06-02 22:32:27 +02:00
Themaister
7a4ef581a4
Add auto save state on end.
2012-06-02 21:34:26 +02:00
Themaister
a0ec6da2a8
Allow sending UDP commands from RetroArch.
2012-06-01 15:15:06 +02:00
Themaister
f600bf437c
Move message queue out of RetroArch core's control.
2012-05-30 01:20:47 +02:00
Themaister
6d1198bf55
Make rarch_init_msg_queue() public.
2012-05-28 23:30:29 +02:00
Themaister
65b78348f0
Use HAVE_NETWORK_CMD
2012-05-27 14:23:30 +02:00
Themaister
0375de48a2
Add preliminary network command interface.
2012-05-27 14:12:29 +02:00
Themaister
802851ecf2
SHUTDOWN should exit RetroArch.
2012-05-22 20:25:03 +02:00
Themaister
d2b55f38cd
Add RETRO_ENVIRONMENT_SHUTDOWN.
2012-05-22 20:14:07 +02:00
Themaister
2b712f5f46
Avoid ifdef.
2012-05-22 15:34:53 +02:00
TwinAphex51224
7064abded5
(RARCH_CONSOLE) message queue needs to be inited long before
...
Retro arch main init function - also added some onscreen
messages to some of the settings for the 360 port
2012-05-22 04:14:28 +02:00
Themaister
1e0ef3d08d
Be more strict about init ordering of netplay, movies and states.
2012-05-04 00:47:35 +02:00
Themaister
81c4d29064
Move parse_input() after setjmp init.
2012-05-04 00:14:42 +02:00
Themaister
0b0da3c335
Should fix netplay segfault.
2012-05-03 20:29:58 +02:00
Themaister
dbfd847a60
Naming fixups.
2012-04-23 22:43:07 +02:00
Twinaphex
4893696e22
Use retroarch.cfg now
2012-04-22 01:45:55 +02:00
Themaister
109dc7a64f
More changes to RetroArch.
2012-04-21 23:33:35 +02:00
Themaister
ce740f8948
More fixups.
2012-04-21 23:31:57 +02:00
Themaister
aab8fb6151
ssnes_* => rarch_*.
2012-04-21 23:25:32 +02:00
Themaister
9ab51ad23a
SSNES => RetroArch.
2012-04-21 23:17:43 +02:00
Themaister
3a7ad61879
Rename ssnes.c to retroarch.c.
2012-04-21 23:11:18 +02:00