Gregor Richards
ea85727b3c
Fix --appendconfig conflict with load order
...
I'd previously changed the load order of command line options to make
overrides work with less hassle. I didn't notice --appendconfig, which,
as a where-is-the-config-file option, needs to come before config file
loading. This fixes that.
2018-03-20 18:48:51 -04:00
Twinaphex
4552002945
Merge pull request #6375 from GregorR/override-load-order
...
Make command-line overrides (somewhat) clearer
2018-03-11 01:32:14 +01:00
Ryunam
c5775fd73c
Implement Slow motion toggle
2018-03-10 18:42:45 +01:00
Gregor Richards
b33d29aecf
Make command-line overrides (somewhat) clearer
...
This commit:
(1) Changes the order of command-line loading so that config loading
happens before command line overrides. This way, config loading does not
itself have to be concerned with being pre-overridden.
(2) Adds overrides to the data structures that configuration saving uses
to save configuration blocks of the same type, so that they can easily
be added in the future.
(3) Corrects some (all?) existing problems with command-line overrides
being ignored.
2018-03-09 17:23:34 -05:00
radius
e9b7c7267e
fix some potential crashes when a shader is not set in config
2018-02-07 21:26:01 -05:00
radius
37454f79a8
fix SHADER_NEXT/SHADER_PREV
2018-02-07 21:26:00 -05:00
radius
c64d5556c1
readd shader to config, let's use a runtime check instead of overwritting the shader preset all the time
2018-02-07 21:25:59 -05:00
twinaphex
32888c1f17
Cleanup some allocations
2018-02-04 23:02:52 +01:00
aliaspider
f896ba29d0
silence some warnings.
2018-01-30 18:07:12 +01:00
Brad Parker
ba41d1bf84
use real timer to delay applying shader changes on watch notification
2018-01-26 20:27:29 -05:00
Brad Parker
2dfe14ce4d
increase shader watch delay frames to 10
2018-01-25 20:53:05 -05:00
Brad Parker
9e347ec71f
detect shader file changes on move and delete as well, and wait a few frames before re-applying changes
2018-01-25 19:09:55 -05:00
Brad Parker
f087b150c9
Add quick menu option to watch shader files for changes and recompile automatically (Linux only for now)
2018-01-25 15:50:57 -05:00
Twinaphex
4a6a97be60
Merge pull request #5429 from GregorR/netplay-input-upgrades-1
...
Netplay input upgrades 1
2018-01-23 05:01:45 +01:00
twinaphex
897c1654ab
Reduce usage of string_is_not_equal_fast
2018-01-17 01:03:48 +01:00
twinaphex
61ff51be2f
Start using string_is_equal predominantly
2018-01-16 22:53:38 +01:00
radius
6eb089cb82
Revert "Fast forward state disable hard sync"
...
This reverts commit ea5045d50a
.
2018-01-08 20:03:29 -05:00
Tatsuya79
ea5045d50a
Fast forward state disable hard sync
2018-01-08 12:02:37 +01:00
Gregor Richards
8d5a79fc69
Removing long-obsolete now-disfunctional "netplay flip players" feature
2018-01-05 14:27:02 -05:00
twinaphex
82d44e9ad3
Cut down on more HAVE_MENU ifdefs
2017-12-31 18:02:14 +01:00
Alcaro
ec4b0f9089
What kind of bug farm is this filestream thingy
2017-12-29 15:32:07 +01:00
Twinaphex
b6f9681373
Merge pull request #5931 from fr500/master
...
fix fullscreen cli option
2017-12-17 19:21:26 +01:00
radius
a7f989fdb6
fix fullscreen toggle
2017-12-17 13:16:40 -05:00
twinaphex
d169d51180
Revert "Rewrite menu toggle"
...
This reverts commit 144ca2cfd8
.
2017-12-17 17:21:51 +01:00
twinaphex
0f906d0986
Revert "that's a dumb bug."
...
This reverts commit 69a630f8e0
.
2017-12-17 17:06:02 +01:00
twinaphex
2fa03755eb
Cleanups
2017-12-17 04:11:56 +01:00
twinaphex
144ca2cfd8
Rewrite menu toggle
2017-12-17 03:54:11 +01:00
Alcaro
69a630f8e0
that's a dumb bug.
2017-12-15 11:21:43 +01:00
twinaphex
c7c4b723d6
Move path_file_exists to filestream and do away with filestream
...
dependencies in file/file_path
2017-12-14 20:05:46 +01:00
twinaphex
53efad05c6
Cleanups
2017-12-05 13:15:15 +01:00
twinaphex
f0c143766e
Change to 256bit macros
2017-12-05 12:07:35 +01:00
twinaphex
6c09661a64
Move defines to retro_miscellaneous.h
2017-12-05 10:42:37 +01:00
twinaphex
e94300a581
Get rid of a lot of RARCH_INPUT_STATE_BIT_ macros - replace them
...
with BIT128_ equivalents instead
2017-12-05 09:22:56 +01:00
twinaphex
00d57af005
C89_BUILD fixes
2017-11-26 22:53:42 +01:00
Twinaphex
679275857f
Fix warnings
2017-11-25 05:55:48 +01:00
twinaphex
cb16aac7ce
Revert "Invoke MAPPER_INIT after CONTROLLERS_INIT"
...
This reverts commit fdf79e2e9b
.
2017-11-24 22:18:36 +01:00
twinaphex
fdf79e2e9b
Invoke MAPPER_INIT after CONTROLLERS_INIT
2017-11-24 17:30:08 +01:00
David Walters
5be7921445
reimplement using retro_bits_t; pass by ref; raise bind limit to 256
2017-11-24 11:19:17 +00:00
David Walters
b0e383d5f0
Extend input bind limit to 128
2017-11-23 23:04:09 +00:00
Rob Loach
8b360c9072
Fix Slow Motion message timing and priority
2017-11-18 11:54:24 -05:00
Rob Loach
b73a8750e4
Fix coding style for fast forward message
2017-11-18 11:08:11 -05:00
Rob Loach
5a990841dc
Fix priority and timing of FPS and Fast Forward messages
2017-11-18 11:05:38 -05:00
Rob Loach
7f38177246
Revert "Revert "Display a "Fast forward." message""
...
This reverts commit f3c774a797
.
2017-11-18 10:48:53 -05:00
Twinaphex
f3c774a797
Revert "Display a "Fast forward." message"
2017-11-16 16:28:58 +01:00
Rob Loach
0e131044fe
Add a Fast Forward message to the user
2017-11-14 21:53:57 -05:00
twinaphex
67fea30406
Remove remaining references to HAVE_FBO
2017-11-13 08:55:41 +01:00
Brad Parker
fc856c76a8
fix race condition reading OSD message in video driver
2017-10-29 23:28:02 -04:00
twinaphex
8238545bef
Cleanups
2017-10-04 06:53:47 +02:00
twinaphex
702f1276d6
Silence warnings
2017-10-03 00:53:09 +02:00
twinaphex
3090f3ff3a
(task_database.c) Rewrite char arrays
2017-09-29 20:47:54 +02:00
radius
fe8a0657b4
add input_mapper scafolding
2017-09-11 00:20:20 -05:00
twinaphex
116d3ae09a
rarch_game_specific_options - reduce stack usage
2017-09-09 06:31:51 +02:00
twinaphex
a14c2101dd
retroarch_validate_game_options - reduce stack usage
2017-09-09 06:21:27 +02:00
twinaphex
c0207e9b56
Revert "Reduce size of variables"
...
This reverts commit 79f1166c6e
.
2017-09-09 00:20:39 +02:00
twinaphex
79f1166c6e
Reduce size of variables
2017-09-08 23:44:10 +02:00
twinaphex
d0cf88ebc5
Cleanups
2017-09-08 06:08:05 +02:00
twinaphex
e16371b8a5
Merge input_config.c and input_driver.c
2017-08-31 02:25:04 +02:00
Rob Loach
f4283f6de0
Add HAVE_LIBUI define
2017-08-12 18:43:16 -04:00
Rob Loach
ae5535c425
Merge branch 'master' of github.com:libretro/RetroArch into libui
2017-08-12 10:16:37 -04:00
radius
2db79242c9
remove remaps
2017-08-05 11:21:07 -05:00
radius
9862b75b4b
allow specifying libretro device and analog dpad mode on remap files
2017-08-05 11:21:06 -05:00
Rob Loach
0996291d91
libui: Changes for LIBUI
2017-08-01 12:25:08 -04:00
Rob Loach
912068f850
Clean up the log output
...
References #1385
2017-07-04 21:46:22 -04:00
twinaphex
790fcd2264
Add test for libui
2017-07-03 09:45:09 +02:00
twinaphex
e58eee37bc
Cleanups
2017-06-28 05:44:59 +02:00
twinaphex
b11620e1eb
Add retro_timers.h/retro_math.h
2017-06-28 04:41:38 +02:00
Charlton Head
4ae7718f1c
add ; when !HAVE_MENU
2017-06-20 20:53:46 -05:00
twinaphex
6af5bd01bf
Merge retro_stat and file_path
2017-06-16 15:00:11 +02:00
twinaphex
060753258a
Combine input_driver.c and input_keyboard.c
2017-06-11 17:51:12 +02:00
twinaphex
c14c4cd394
Use BIT64_SET
2017-06-11 16:45:55 +02:00
twinaphex
d482739dfd
Fix binding
2017-06-10 23:26:52 +02:00
hizzlekizzle
0319041ffb
change --help text for --log-file option
...
--log-file seems to be one of the few CLI switches that doesn't accept both space and =. Instead, it will fail to launch if you use the '=', which is the suggested syntax in the --help text.
2017-06-10 15:39:59 -05:00
radius
f2a8b11ef7
prevent these tasks to run more than once on shutdown
2017-05-31 00:34:01 -05:00
twinaphex
bc7427732c
Buildfix
2017-05-30 16:57:29 +02:00
twinaphex
3d4d9b09cf
Comment this out
2017-05-30 01:47:49 +02:00
twinaphex
449483206f
Revert "New attempt to fix memory leaks of struct retro_system_info"
...
This reverts commit a1d3dd69dd
.
2017-05-30 01:44:49 +02:00
twinaphex
a1d3dd69dd
New attempt to fix memory leaks of struct retro_system_info
...
char variables
2017-05-29 22:24:10 +02:00
twinaphex
1cdd0e47cb
Backport polling updates - mouse smoothness was broken in cores
2017-05-29 20:30:01 +02:00
twinaphex
b4e16c243c
Style nits
2017-05-29 14:58:30 +02:00
twinaphex
2fa401ef26
Remove #if 0
2017-05-29 14:54:25 +02:00
twinaphex
5521d58994
Only use runloop_get_system_info function outside retroarch.c
2017-05-29 05:38:33 +02:00
twinaphex
30047af7a3
Get rid of these strdup leaks
2017-05-29 04:39:12 +02:00
twinaphex
a58cbf6e42
Call libretro_free_system_info from RARCH_CTL_PREINIT
2017-05-29 03:26:05 +02:00
twinaphex
3fbed8df27
(Menu) Menu driver no longer uses a duplicate system info
...
struct
2017-05-28 17:21:57 +02:00
twinaphex
c74104f8c9
Get rid of RARCH_MENU_CTL_SYSTEM_INFO_*
2017-05-28 16:25:46 +02:00
twinaphex
dbbcba41a5
Clean this mess up
2017-05-28 15:03:03 +02:00
twinaphex
11576f1d99
Cleanup
2017-05-27 03:43:53 +02:00
Jean-André Santoni
329447f51c
Fix warning
2017-05-25 15:40:29 +02:00
twinaphex
4f678dfdfc
Cleanups
2017-05-25 15:04:55 +02:00
twinaphex
80b5bcd16c
Cut down on some code duplication
2017-05-24 02:02:01 +02:00
twinaphex
a8b91ee910
Respect C89 rules
2017-05-21 23:55:53 +02:00
twinaphex
08521a02ba
Move input code to runloop_check_state
2017-05-21 23:53:39 +02:00
twinaphex
954b95cc81
Cleanups
2017-05-21 22:43:40 +02:00
twinaphex
d7de9facc3
Simplify input_keys_pressed
2017-05-21 22:31:15 +02:00
twinaphex
77d83b4782
Cleanups
2017-05-21 21:55:20 +02:00
twinaphex
8bf552dacd
Move this code to retroarch.c
2017-05-21 21:42:13 +02:00
twinaphex
f8f25602e8
Get rid of old_input variable
2017-05-21 21:24:01 +02:00
twinaphex
a35e452ec3
Use trigger_input only for menu
2017-05-21 21:19:07 +02:00
twinaphex
68ecade37d
Revert "Call button combo toggle for quick menu toggle from runloop_check_state"
...
This reverts commit 4d4b00f877
.
2017-05-21 20:57:36 +02:00
twinaphex
4d4b00f877
Call button combo toggle for quick menu toggle from runloop_check_state
2017-05-21 20:53:33 +02:00
twinaphex
184b519f84
Cleanups
2017-05-21 20:43:55 +02:00
twinaphex
136a435c43
Fix keys while in binding mode
2017-05-21 20:42:46 +02:00
twinaphex
c64c072b43
runloop_cmd_triggered no longer needed
2017-05-21 16:36:27 +02:00
twinaphex
cae04ff5f2
Cleanups
2017-05-21 16:36:08 +02:00
twinaphex
1d6b24b545
Optimize pause checks
2017-05-21 16:31:14 +02:00
twinaphex
aeddb18e31
Rewrite netplay checks
2017-05-21 14:18:10 +02:00
twinaphex
759b963c2f
Rewrite menu toggle check
2017-05-21 13:54:17 +02:00
twinaphex
d08b785f9d
Rewrite quit key handling
2017-05-21 13:50:59 +02:00
twinaphex
24c7bcb196
Rewrite more code
2017-05-21 13:39:29 +02:00
twinaphex
1e02bd3455
Rewrite fast forward code
2017-05-21 13:32:36 +02:00
twinaphex
d1b50acfee
Rewrite check shader next/prev
2017-05-21 13:26:25 +02:00
twinaphex
45477658e1
Rewrite cheats
2017-05-21 13:17:48 +02:00
twinaphex
f85ab1f535
Cleanups
2017-05-21 13:06:48 +02:00
twinaphex
66b1ad99d4
Rewrite RARCH_PAUSE_TOGGLE
2017-05-21 12:59:36 +02:00
twinaphex
f847548178
Cleanup
2017-05-21 12:57:28 +02:00
twinaphex
d61e5504a7
Get rid of static functions
2017-05-21 12:09:24 +02:00
twinaphex
a19128422d
Cleanup
2017-05-21 12:06:08 +02:00
twinaphex
cd4c17624a
Create check_reset
2017-05-21 12:00:03 +02:00
twinaphex
004a299b74
Create check_savestates
2017-05-21 11:52:36 +02:00
twinaphex
be2fb7b10d
Refactor savestate slot increase/decrease
2017-05-21 11:46:26 +02:00
twinaphex
999f7971ed
Move macros
2017-05-21 11:36:47 +02:00
twinaphex
3ad2d593fb
Cleanups
2017-05-21 10:37:39 +02:00
twinaphex
a0924a414f
Get rid of some unnecessary function callback wrapper functions
2017-05-21 09:30:32 +02:00
twinaphex
e02cfe8cb0
Call core_poll at top of runloop_iterate only once
2017-05-20 22:55:34 +02:00
twinaphex
188d213c8d
Cleanups
2017-05-20 19:24:21 +02:00
twinaphex
5f75ce3f12
Cleanups
2017-05-20 14:17:14 +02:00
twinaphex
c1190551b2
Get rid of RUNLOOP_STATE_NONE
2017-05-20 14:14:27 +02:00
twinaphex
40a287a7c1
Turn function into static function
2017-05-20 11:34:51 +02:00
twinaphex
30d032ba5a
Prevent some calls to menu_driver_is_alive()
2017-05-19 16:29:11 +02:00
twinaphex
21a58f13ec
Revert this - seems to have come at a performance cost
2017-05-19 16:26:00 +02:00
twinaphex
59fb7700b8
Combine menu_driver.c and menu_display.c
2017-05-19 15:25:14 +02:00
twinaphex
65b740a5ff
Use some local variables
2017-05-17 08:51:49 +02:00
twinaphex
54c526f1e2
Cache menu_driver_is_alive function call
2017-05-17 08:47:23 +02:00
twinaphex
204f0183e1
Header cleanups
2017-05-17 05:06:52 +02:00
twinaphex
126a5bf121
Use string_is_equal_fast/string_is_not_equal_fast
2017-05-16 04:00:37 +02:00
twinaphex
67610b8263
Update task_audio_mixer.c
2017-05-15 11:07:12 +02:00
twinaphex
bf3188eac4
Combine runloop_ctl and rarch_ctl
2017-05-15 05:06:23 +02:00
twinaphex
06f3feec61
Cleanups
2017-05-15 04:39:09 +02:00
twinaphex
160c8167d6
Cleanups
2017-05-15 04:36:48 +02:00
twinaphex
e2c7671e9f
Create rarch_menu_running/rarch_menu_running_finished
2017-05-15 04:31:40 +02:00
twinaphex
c898ef1d6d
Attempt to copy over audio mixer data
2017-05-15 01:28:46 +02:00
twinaphex
b4e3a22fe6
Update
2017-05-14 23:59:06 +02:00
twinaphex
949a5c76fe
Cleanup
2017-05-14 23:58:48 +02:00
twinaphex
ec96fe89e9
Add callback function
2017-05-14 23:30:45 +02:00
twinaphex
3afd2497d2
Add test
2017-05-14 23:27:03 +02:00
twinaphex
a7d09733a6
Get rid of rarch_ctl/runloop_ctl calls from menu_display.c
2017-05-13 20:00:51 +02:00
twinaphex
45a648b042
Cleanups
2017-05-13 18:51:16 +02:00
twinaphex
d87e1c57d6
Cleanups
2017-05-13 18:20:14 +02:00
twinaphex
e7061a8d2a
Cleanups
2017-05-12 03:45:49 +02:00
twinaphex
fa4a8b8bbd
Cleanups
2017-05-12 03:39:37 +02:00
twinaphex
2ce9d71553
Start cutting down on runloop_ctl actions
2017-05-11 09:20:35 +02:00
twinaphex
42ebe7a7ad
Merge runloop.c and retroarch.c
2017-05-11 09:11:46 +02:00
twinaphex
0eec872442
Kill some rarch_ctl actions
2017-05-08 03:59:02 +02:00
twinaphex
9605c01c49
Rename command_event_quit to retroarch_main_quit
2017-05-08 03:54:51 +02:00
twinaphex
e6ab06a701
Move path variables
2017-04-29 00:39:29 +02:00
twinaphex
5c024f1cd8
Fix memory leak
2017-04-28 21:47:26 +02:00
twinaphex
05e4ec733e
Move uint variables
2017-04-28 21:03:04 +02:00
twinaphex
7bbd20b31d
Move int settings
2017-04-28 19:12:48 +02:00
twinaphex
ed53be7c81
Move all bool settings
2017-04-28 14:11:34 +02:00
twinaphex
0e1406f3f1
Go through configuration_ wrapper functions
2017-04-27 23:34:47 +02:00
twinaphex
3ec5816259
Rewrite RUNLOOP_CTL_SYSTEM_INFO_GET
2017-04-23 16:41:26 +02:00
twinaphex
6ebd4e139e
Rewrite more string_is_equal call invocations as memcmp
2017-04-22 08:51:16 +02:00
Zoran Vuckovic
129151d5fc
add wasapi audio driver
2017-04-11 00:24:37 +02:00
twinaphex
8c89ec158c
Update copyrights
2017-03-22 03:09:18 +01:00
twinaphex
58c08c0c02
Cleanups
2017-02-27 09:33:20 +01:00
Twinaphex
b7b3b2cb5f
Try to prevent truckload of warnings on iOS
2017-02-26 10:33:03 +01:00
twinaphex
19bf048b68
Add log message
2017-02-26 06:44:35 +01:00
twinaphex
e2b3c72b9d
Add ifdef around this
2017-01-29 05:06:14 +01:00
Twinaphex
2596de53ec
Merge pull request #4523 from fr500/master
...
add support for no content cores
2017-01-29 04:51:50 +01:00
radius
ca926f0a50
fix saving for contentless cores
2017-01-28 22:48:51 -05:00
Alcaro
1ad8a72635
Make sure this shows up in --verbose logs
2017-01-28 18:03:02 +01:00
twinaphex
018cb7ebe6
Add another parameter to content_get_status
2017-01-25 15:51:57 +01:00
twinaphex
361bd471de
Create content_get_status
2017-01-25 15:44:21 +01:00
Alcaro
6ff36461b4
Fix #4493 in a less incompatible way
2017-01-25 00:34:58 +01:00
twinaphex
0d5b3b9273
Create menu_driver_is_alive
2017-01-23 00:37:52 +01:00
twinaphex
05d455a8ce
Cleanups
2017-01-17 20:07:41 +01:00
twinaphex
aa59b33931
Use input_config_set_device
2017-01-17 19:59:33 +01:00
twinaphex
c3f16de4d4
Use HAVE_COMMAND ifdef here
2017-01-17 15:37:40 +01:00
twinaphex
cb64f28950
Create drivers_init
2017-01-16 22:04:57 +01:00
twinaphex
77e5cdbfde
Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
...
This reverts commit ad7386913c
.
2016-12-22 23:36:11 +01:00
twinaphex
ad7386913c
Rename runloop_msg_queue_push to video_driver_msg_queue_push
...
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
Twinaphex
76c4a4f7a0
Merge pull request #4279 from sethk/macos_cleanup
...
macOS cleanup
2016-12-19 23:15:10 +01:00
Gregor Richards
f7f6590156
Goodbye delay_frames! stateless_mode is the new delay_frames=0
2016-12-18 19:28:43 -05:00
Gregor Richards
9b2270f5d4
Say goodbye to spectator mode (for now)
2016-12-18 19:28:42 -05:00
Seth Kingsley
b690fb2abc
Use native getopt_long() on macOS
2016-12-17 16:56:40 -08:00
twinaphex
96ffd8e025
Revert "Remove HAVE_COMPRESSION ifdefs in file_path.c"
...
This reverts commit 4103b70833
.
2016-12-17 12:55:38 +01:00
twinaphex
4103b70833
Remove HAVE_COMPRESSION ifdefs in file_path.c
2016-12-17 12:20:49 +01:00
Gregor Richards
22798e26c7
delay_frames naming consistency
...
Unifying all of the various inconsistent names of delay_frames into a
single name: delay_frames.
2016-12-01 13:34:37 -05:00
Diego Viola
59c99a59e7
Fix typo
2016-11-29 11:23:43 -02:00
twinaphex
46f3e1878e
Add more translatable strings
2016-11-08 15:17:02 +01:00
twinaphex
70cbecd9f8
Reduce char variable sizes
2016-10-27 10:33:50 +02:00
twinaphex
f017593501
Reduce size of some char variables and get rid of some implicit memsets
2016-10-27 09:44:20 +02:00
twinaphex
62c80085a6
Cleanup some labels
2016-10-23 00:35:40 +02:00
twinaphex
c3ab8800f4
Prevent implicit memsets
2016-10-21 05:57:40 +02:00
Henri Gomez
4b6f93f6eb
ASIMD also in retroarch.c
2016-10-18 17:39:02 +02:00
Higor Eurípedes
330a8d7594
Make thread local storage optional
2016-10-17 21:24:03 -03:00
Higor Eurípedes
dd36cff174
(retroarch.c) Add RARCH_CTL_IS_MAIN_THREAD
2016-10-17 20:50:19 -03:00
twinaphex
2a139b7d72
Add frontend_driver_attach_console/frontend_driver_detach_console
2016-10-09 17:15:50 +02:00
Gregor Richards
3953018547
Clarifications to Netplay menu and removing obsolete setting
...
This commit:
* Reorders the Netplay settings menu to put more useful options at the
top.
* Renames the swap_input setting from "Swap Netplay Input", which is
meaningless and confusing, to "Netplay P2 Uses C1", which is oddly
truncated but at least true.
* Removes the is_client setting altogether, as that's no longer how
client vs. server mode is determined (each are separate options when
enabling Netplay)
2016-10-03 17:28:20 -04:00
twinaphex
8e0d947dd5
Rename current_core_explicitly_set
2016-10-03 16:42:08 +02:00
Twinaphex
8963db204d
Merge pull request #3721 from GregorR/netplay-overrides
...
Making netplay-related settings overrides behave consistently
2016-10-03 16:11:51 +02:00
twinaphex
25f27c3f4c
Get rid of path_get_content
2016-10-03 15:39:57 +02:00
Gregor Richards
4f489fb793
Making netplay-related settings overrides behave consistently
2016-10-03 08:31:21 -04:00
twinaphex
94e245315b
Create dir_set function
2016-10-03 08:20:33 +02:00
Gregor Richards
e41ac34561
Get rid of global->netplay
...
Moved settings values into settings->netplay, and global->netplay.enable
is moved into netplay itself, and is no longer a configuration value
whatsoever, as that conflicts with the behavior of the netplay menu.
2016-10-02 22:13:34 -04:00
twinaphex
f100dde751
(Wii) Buildfixes
2016-10-01 09:52:07 +02:00
twinaphex
d376ea0c9d
Merge fixes
2016-10-01 08:24:02 +02:00
twinaphex
8f163e6972
Revert "Move global->name to paths.c"
...
This reverts commit 6ee7b733aa
.
2016-10-01 08:18:23 +02:00
twinaphex
243dc139d2
Revert "Create path server and add to paths.c"
...
This reverts commit 00a1e3716a
.
2016-10-01 08:17:44 +02:00
twinaphex
7d20224ff0
Revert "Move path settings to paths.c"
...
This reverts commit 3a7e9a7052
.
2016-10-01 08:17:13 +02:00
twinaphex
2583390d31
Revert "Create dir_set"
...
This reverts commit d973e528f6
.
2016-10-01 08:16:07 +02:00
twinaphex
4567fdef52
Take out libretro_device from global struct
2016-10-01 06:22:57 +02:00
twinaphex
2dcc5b8e43
Add LIBRETRO_DEVICE to unset/set/is functions for override settings
2016-10-01 06:14:30 +02:00
twinaphex
edc3fa9024
Add to is_set
2016-10-01 06:06:07 +02:00
twinaphex
67432fde57
Add void * param to is_set
2016-10-01 06:05:08 +02:00
twinaphex
107a962171
Add RARCH_OVERRIDE_SETTING_LIBRETRO_DEVICE
2016-10-01 06:02:18 +02:00
twinaphex
3592b35573
Add second param to override_set
2016-10-01 05:51:03 +02:00
twinaphex
5ff13df40f
Move global->record to record_driver.c
2016-10-01 00:47:05 +02:00
twinaphex
d973e528f6
Create dir_set
2016-09-30 07:15:30 +02:00
twinaphex
3a7e9a7052
Move path settings to paths.c
2016-09-30 06:33:57 +02:00
twinaphex
00a1e3716a
Create path server and add to paths.c
2016-09-30 06:22:56 +02:00
twinaphex
6ee7b733aa
Move global->name to paths.c
2016-09-30 06:11:11 +02:00
twinaphex
1266c0609a
Create path_is_empty
2016-09-30 04:43:16 +02:00
twinaphex
228886062b
Create path_clear
2016-09-30 04:31:19 +02:00
twinaphex
1cf45d785f
Turn path_set_names into static function
2016-09-30 04:19:57 +02:00
twinaphex
e98b55fe3f
Group some ifdefs together
2016-09-29 21:10:35 +02:00
twinaphex
9384875ab0
Don't use HAVE_NETPLAY any more
2016-09-29 21:07:10 +02:00
twinaphex
3d098839ca
Update path_get
2016-09-29 08:46:41 +02:00
twinaphex
0b1270458c
Update path_set
2016-09-29 07:49:54 +02:00
twinaphex
7e1a61570a
Add more functionality to path_set
2016-09-29 07:46:21 +02:00
twinaphex
199731fc84
Create path_set
2016-09-29 07:36:09 +02:00
twinaphex
89505fa011
Get rid of global->patch
2016-09-29 05:46:31 +02:00
twinaphex
538aec6386
Add more RARCH_CTL_ actions
2016-09-29 05:36:21 +02:00
twinaphex
90af64769d
Get rid of global->sram
2016-09-28 07:27:39 +02:00
twinaphex
0104302e18
Add new RARCH_CTL calls
2016-09-28 07:23:14 +02:00
twinaphex
5bce79369a
Get rid of global->sram.use, turn it into static boolean
...
variable inside rarch_ctl
2016-09-28 07:17:34 +02:00
twinaphex
a1488ae34f
Move subsystem path to paths.c
2016-09-25 15:49:09 +02:00
twinaphex
2d11ea71cc
Move runloop_fullpath to paths.c
2016-09-23 03:39:44 +02:00
twinaphex
2277428f52
Move more global->savefiles usage to task_save.c
2016-09-19 04:09:27 +02:00
twinaphex
082476f7b2
Move code to paths.c
2016-09-19 03:03:31 +02:00
twinaphex
5c97d5b46b
Move global->name.base to paths.c
2016-09-17 19:41:27 +02:00
twinaphex
4d317ba5d7
Update dirs.c
2016-09-17 14:49:35 +02:00
twinaphex
d03b6df573
retroarch.c - cleanup
2016-09-17 14:23:44 +02:00
twinaphex
ef02fb8a96
Refactor append config code
2016-09-17 14:14:58 +02:00
twinaphex
0aa2cf5019
Create path_set_config and path_is_config_empty
2016-09-17 13:04:12 +02:00
twinaphex
ec45dbaf0c
Move retroarch_path_is_media_type to paths.c
2016-09-17 12:56:19 +02:00
twinaphex
b89def5d8f
Rename config_get/config_set functions
2016-09-17 12:51:44 +02:00
twinaphex
1dd28bdf9f
Move retroarch_set_pathnames/retroarch_fill_pathnames
2016-09-17 12:25:26 +02:00
twinaphex
d8b5e3c1ec
Move more code to paths.c
2016-09-17 12:22:51 +02:00
twinaphex
0b0314d4ff
Move more functions to paths.c
2016-09-17 12:19:17 +02:00
twinaphex
069dbce5c5
Add more functions to paths.c
2016-09-17 12:16:11 +02:00
twinaphex
005b86eb5d
Create paths.c
2016-09-17 12:10:46 +02:00
Gregor Richards
2a0202ccf5
Making Netplay check frequency configurable.
2016-09-15 23:06:32 -04:00
twinaphex
49d5210256
Should make Start Core work on statically linked RA now
2016-09-12 08:37:40 +02:00
twinaphex
6b66377ed6
retroarch.c - set default values
2016-09-11 20:04:41 +02:00
twinaphex
16fea8d26d
Create retroarch_main_init_media
2016-09-11 19:57:06 +02:00
twinaphex
bece01093d
Cleanups - retroarch_main_init
2016-09-11 19:53:34 +02:00
twinaphex
b93ef046a7
Header include cleanups
2016-09-11 16:31:23 +02:00
twinaphex
5aaebcfa62
Header include cleanups
2016-09-08 06:07:43 +02:00
twinaphex
8320466824
Add HAVE_CONFIG_H ifdefs
2016-09-06 23:52:33 +02:00
Brad Parker
e64a3c4956
associate more media extensions with ffmpeg
2016-09-06 12:37:08 -04:00
twinaphex
c3ba0ba4e9
Revert "Refactor core_system_info_* functions"
...
This reverts commit f637805c9e
.
2016-09-06 08:38:26 +02:00
twinaphex
f637805c9e
Refactor core_system_info_* functions
2016-09-06 07:08:38 +02:00
twinaphex
82d82110ae
Merge system.h with core.h
2016-09-06 06:11:54 +02:00
twinaphex
b6daaed566
Rename git_version.c to version_git.h, create separate
...
version.h file
2016-09-01 17:49:28 +02:00
twinaphex
b0a8f72724
More translated strings
2016-08-22 13:11:40 +02:00
twinaphex
aa2af0b61f
Refactor has_set settings
2016-08-01 21:51:23 +02:00
twinaphex
ef7ce5beee
Create RARCH_OVERRIDE_SETTING_VERBOSITY
2016-08-01 20:54:16 +02:00
twinaphex
01de39bf0b
Cleanups
2016-08-01 20:48:02 +02:00
twinaphex
ba32586d1a
Rewrite has_set.libretro
2016-08-01 20:47:19 +02:00
twinaphex
6fb39e4f7f
Iterate and unset override settings in retroarch_parse_input
2016-08-01 20:43:26 +02:00
twinaphex
39aba8e36f
Create override setting functions
2016-08-01 20:41:42 +02:00
twinaphex
45d7b7b459
Create retroarch_override_setting_is_set
2016-08-01 20:39:21 +02:00
twinaphex
3402c0d420
When building without menu support, if we pass no arguments to
...
retroarch at the commandline, show the help message instead of
outright crashing
2016-08-01 18:35:56 +02:00
Andre Leiradella
292335b84c
Added an embedded HTTP server to RetroArch; Mapped the /mmaps URI to a JSON-based RESTful API to retrieve memory maps
2016-07-31 22:45:01 +01:00
twinaphex
2be127c04a
Start wrapping settings->path.libretro
2016-07-24 11:12:26 +02:00
twinaphex
7f9168ff18
Cleanups
2016-07-19 06:33:56 +02:00
Sebastien Ronsse
21a82e3622
retroarch: Refactor retroarch_main_init core initialization failure handling
2016-07-19 14:27:46 +10:00
twinaphex
88c767fee9
When a core returns false in retro_load_game, it should still
...
let us stay inside the menu
2016-07-19 06:20:19 +02:00
twinaphex
296c869b4c
Prevent null pointer dereference
2016-07-12 20:51:45 +02:00
twinaphex
dc4275b673
Should autosave state now at exit
2016-07-01 06:55:44 +02:00
twinaphex
5f71ecc1d1
Create fill_pathname_join_special_ext
2016-06-30 04:59:57 +02:00
twinaphex
08f26fafbd
Create FILE_PATH_OPT_EXTENSION
2016-06-29 18:45:12 +02:00
twinaphex
7a745c3f70
Use string_is_empty
2016-06-28 11:02:51 +02:00
twinaphex
5045a0faff
Add optional logging
2016-06-28 04:23:57 +02:00
twinaphex
64c85771b2
Create FILE_PATH_STR extensions
2016-06-28 01:10:58 +02:00
twinaphex
a6a0960f77
Cleanup
2016-06-27 07:48:22 +02:00
Sebastien Ronsse
95ad02e742
retroarch: Fix core type detection when cores are excplicitely set
2016-06-27 14:13:09 +10:00
twinaphex
f6bbe69096
Use string_is_empty
2016-06-26 10:33:46 +02:00
twinaphex
961daf8067
Cleanup
2016-06-26 10:27:44 +02:00
Twinaphex
88cc0ce8bb
Remove unused variables
2016-06-26 10:17:25 +02:00
twinaphex
016983c9eb
Add FILE_PATH_RTC_EXTENSION
2016-06-26 10:15:25 +02:00
twinaphex
fcc238d310
Expand file_path_str
2016-06-26 09:56:55 +02:00
twinaphex
b86274aa95
Cleanup
2016-06-25 07:41:10 +02:00
twinaphex
35ea096db7
Move hash around
2016-06-20 18:30:45 +02:00
twinaphex
a585017208
Rename MENU_FILE_ to FILE_TYPE_
2016-06-20 15:50:37 +02:00
twinaphex
450e1f4746
Rename menu_hash_to_file_type
2016-06-20 15:33:22 +02:00
twinaphex
7d93f63e6a
Move menu_hash_to_file_type to msg_hash
2016-06-20 06:44:05 +02:00
twinaphex
f764980eb8
Indenting nits
2016-06-20 04:51:36 +02:00
twinaphex
46cdea48c2
Add more translatable strings
2016-06-20 03:54:42 +02:00
twinaphex
284f8cfd23
Remove menu_hash_ files
2016-06-20 03:35:09 +02:00
twinaphex
8c75bc7618
Cleanups
2016-06-18 02:20:13 +02:00
twinaphex
0c87175a61
Remove unused variables
2016-06-11 22:19:40 +02:00
twinaphex
6f8b6a22b7
Creat APPLICATION_SPECIAL_DIRECTORY_CONFIG
2016-06-11 21:55:55 +02:00
twinaphex
1d3d07ad7d
Cleanup
2016-06-05 19:39:57 +02:00
twinaphex
5004113ce1
Cleanup
2016-06-05 18:27:31 +02:00
radius
f8274800fb
fix savefile bug when launching from the commandline
2016-06-05 11:21:16 -05:00
twinaphex
5b52098c54
Reimplement verbosity
2016-05-31 04:42:04 +02:00
twinaphex
954aaa3fc6
More preparatory work for net retropad core
2016-05-27 21:16:25 +02:00
twinaphex
c16cae7ef9
Create retroarch_set_current_core_type
2016-05-27 19:26:45 +02:00
twinaphex
1c868ffaa2
Cleanups
2016-05-27 17:27:38 +02:00
twinaphex
49f050b386
Move config_replace to configuration.c
2016-05-27 16:42:20 +02:00
Andrés
bf04b798fe
Merge pull request #3037 from leiradel/cheevos
...
added all console ids; added fixup for pce; fixed mmap matching
2016-05-26 22:14:31 -05:00
Andre Leiradella
d791da9507
undefined debug macros
2016-05-27 00:06:03 -03:00
twinaphex
dd03076976
Remove config_realloc
2016-05-27 05:05:27 +02:00
twinaphex
03ded43280
Prevent explicit null dereferenced warnings
2016-05-26 18:09:46 +02:00
radius
73c78947b0
fix set_paths_redirect edge case
2016-05-24 23:06:20 -05:00
radius
08c136aab2
fix a logging error
2016-05-24 21:41:53 -05:00
Sebastien Ronsse
07b3a081c0
retroarch: Fix savefile directory memory leak
2016-05-24 09:41:00 +10:00
twinaphex
09b10943b2
retroarch_get_current_savefile_dir - prevent memory leak
2016-05-23 14:42:22 +02:00
radius
dbb8cf7e32
AUTOSAVE should happen before loading the dummy core, not after
2016-05-20 17:36:55 -05:00
twinaphex
ce240dd47f
Move async job code to retroarch.c
2016-05-17 14:40:04 +02:00
twinaphex
fcf2decb2e
Remove persist argument
2016-05-17 09:07:41 +02:00
twinaphex
e10270d459
Delete runloop_prepare_dummy
2016-05-16 17:19:16 +02:00
twinaphex
c0e447a3af
Get rid of ununused variable
2016-05-16 08:46:06 +02:00
twinaphex
c1633a8695
Add jpeg to retroarch_print_features
2016-05-14 16:40:09 +02:00
twinaphex
8b9cabf41d
Show VFPv3/VFPv4
2016-05-14 13:37:07 +02:00
twinaphex
df3b090d7a
Revert "Create runloop_get_system_info/runloop_free_system_info/runloop_init_system_info"
...
This reverts commit 35bf38e05c
.
2016-05-12 09:37:21 +02:00
twinaphex
35bf38e05c
Create runloop_get_system_info/runloop_free_system_info/runloop_init_system_info
2016-05-12 09:25:52 +02:00
twinaphex
c1bfe795f8
Create runloop_prepare_dummy
2016-05-12 09:04:31 +02:00
twinaphex
367150b487
Cleanups
2016-05-11 21:48:30 +02:00
twinaphex
1abe81b222
Create retroarch_replace_config
2016-05-11 21:44:52 +02:00
twinaphex
cf3f8d587c
Cleanup
2016-05-11 20:53:28 +02:00
twinaphex
a082198d4b
Change retroarch_main_init
2016-05-11 20:50:34 +02:00
twinaphex
0e972b9804
Rename rarch_git_version to retroarch_git_version
2016-05-11 20:44:24 +02:00
twinaphex
7ebfe1b66d
Create retroarch_set_pathnames
2016-05-11 04:32:29 +02:00
twinaphex
030513bcee
Create retroarch_fill_pathnames
2016-05-11 04:29:01 +02:00
twinaphex
95a6428915
RARCH_CTL_FORCE_QUIT is the same as RARCH_CTL_QUIT
2016-05-11 04:24:27 +02:00
twinaphex
b9df6f52f5
Kill off a bunch of RARCH_CTL_LOAD_CONTENT enums
2016-05-11 04:22:22 +02:00
twinaphex
9aed52ac65
Move performance.c to libretro-common/features/features_cpu.c
2016-05-10 20:31:27 +02:00
twinaphex
35ea37b37f
Revert "Move cpu_features to libretro-common"
...
This reverts commit 2b8ff3bf38
.
2016-05-10 09:32:24 +02:00
twinaphex
2b8ff3bf38
Move cpu_features to libretro-common
2016-05-10 09:27:29 +02:00
twinaphex
0d371def5c
Refactor performance.c code
2016-05-10 09:17:04 +02:00
twinaphex
f15f28ce02
Refactor some command code
2016-05-09 21:23:53 +02:00
twinaphex
2691ab0c7d
Rename command_event enums
2016-05-09 20:51:53 +02:00
twinaphex
523ebed112
Combine command_event.c and command.c
2016-05-09 20:30:47 +02:00
twinaphex
a98ef36d36
Rename event_cmd_ctl to command_event
2016-05-09 20:20:50 +02:00
twinaphex
3c74031c2f
Rename rarch_cmd to command
2016-05-09 20:10:08 +02:00
twinaphex
6ae20f2016
Create managers/ dir - move cheats.c and state_manager.c to it
2016-05-09 18:20:52 +02:00
twinaphex
b72f7001de
(retroarch.c) Rename functions
2016-05-09 07:24:28 +02:00
twinaphex
f8a7154557
Rename rarch_ functions
2016-05-09 07:09:26 +02:00
twinaphex
807b5c6325
Get rid of audio_driver_ctl
2016-05-08 18:24:25 +02:00
Hans-Kristian Arntzen
d723411436
De ioctl video_driver.
2016-05-08 14:00:51 +02:00
twinaphex
e165954395
Rename libretro_version_1 to core_impl
2016-05-08 05:29:10 +02:00
twinaphex
5c269d38a1
(content.c) Remove content_ctl
2016-05-08 05:17:31 +02:00
twinaphex
ae9ea8f2db
(MSVC) Buildfixes
2016-05-08 04:04:50 +02:00
twinaphex
80a453bad1
De-ioctlify command.c
2016-05-08 00:25:04 +02:00
twinaphex
895783d854
Move some variables
2016-04-28 20:49:13 +02:00
twinaphex
7dffc6286b
Internally change directory settings
2016-04-28 19:26:02 +02:00
twinaphex
94c042f686
(driver.c) Cleanups
2016-04-10 16:40:36 +02:00
twinaphex
695a93e071
Cleanups
2016-04-10 15:52:06 +02:00
twinaphex
6e3416b990
Add RARCH_CTL_{USERNAME}
2016-04-06 01:58:11 +02:00
twinaphex
43860e384a
Fixes crash on Close Content on Android.
...
Bizarre usage of -L argument caused it along with --menu
2016-04-05 23:22:33 +02:00
twinaphex
c536e0fbdc
(iOS) argv needs to always be non-NULL
2016-04-05 20:53:02 +02:00
Twinaphex
90b1db7178
(iOS) Gets past the crash at startup if argv is NULL
2016-04-02 01:05:24 +02:00
Twinaphex
b454192a43
Merge pull request #2822 from libretro/staging
...
Vulkan: Another stab at cleaning up implicit menu vs. loading content handling
2016-03-26 20:20:11 +01:00
Hans-Kristian Arntzen
b96d365968
Only set CORE_TYPE_PLAIN for non-directory -L.
...
Fixes crash on Android startup which uses -L <core-dir> CLI argument.
-L can also set core directory, even though it's not supposed to
be used anymore.
Also, on Android, the cores directory might not be populated, so ignore
arguments which are not valid.
2016-03-25 23:57:11 +01:00
twinaphex
e41127459e
Rename 'filestream' functions
2016-03-24 04:09:25 +01:00
Hans-Kristian Arntzen
23c8150b6e
Reintroduce new parse_input scheme.
...
This reverts commit 2323cef8d1
.
2016-03-23 00:29:52 +01:00
twinaphex
2323cef8d1
Revert "Attempt properly handling CLI options ..."
...
This reverts commit 6f8a1e8ab2
.
2016-03-22 21:42:30 +01:00
twinaphex
ab1c4d0c4d
Header include cleanups
2016-03-22 03:49:05 +01:00
twinaphex
4c14267f5b
Create core_type.h
2016-03-22 02:56:06 +01:00
Hans-Kristian Arntzen
6f8a1e8ab2
Attempt properly handling CLI options ...
2016-03-21 17:59:40 +01:00
Twinaphex
2c8b558dac
Revert "Fix "retroarch --verbose"."
2016-03-21 17:21:17 +01:00
Hans-Kristian Arntzen
fd443082a7
Fix "retroarch --verbose".
...
We want to go straight to menu in this case, so make a special case
for this fairly common pattern.
2016-03-21 17:11:39 +01:00
twinaphex
3720cf87e7
Rename retro_file to file_stream
2016-03-20 16:29:14 +01:00
twinaphex
93b7dc1bdd
(libretro-common) move 'lists' files to lists/
2016-03-20 14:53:54 +01:00
twinaphex
97981c7a9d
Header cleanups
2016-03-20 04:44:29 +01:00
twinaphex
91d14cbb62
Revert "Create RARCH_NETPLAY_CTL_IS_ENABLED, RARCH_NETPLAY_CTL_SET_ENABLE,"
...
This reverts commit 1a978b0f3c
.
2016-03-18 00:32:02 +01:00
twinaphex
1a978b0f3c
Create RARCH_NETPLAY_CTL_IS_ENABLED, RARCH_NETPLAY_CTL_SET_ENABLE,
...
and RARCH_NETPLAY_CTL_USNET_ENABLE
2016-03-14 15:03:42 +01:00
radius
761ece0f3c
set SAVE directory correctly when using content dir on cores that don't use the SRAM interface
2016-03-10 17:36:46 -05:00
twinaphex
2d158b809c
Cleanups
2016-03-04 19:29:22 +01:00
twinaphex
81e13aa2c1
(command.c) Cut down on some functions
2016-03-04 17:35:44 +01:00
twinaphex
6f80e09ce1
Change MIN/MAX to upper-case
2016-03-02 00:07:31 +01:00
radius
66a8e08252
remove saving remapping, use the automated method instead
2016-02-21 13:55:04 -05:00
twinaphex
d4daf25c2a
Remove stdin stub paths
2016-02-17 07:15:51 +01:00
twinaphex
d78787d70e
Add feature to print_features
2016-02-17 01:55:35 +01:00
twinaphex
bebf9abfb2
Fix RARCH_CTL_UNSET_STDIN_CLAIMED
2016-02-16 05:19:04 +01:00
twinaphex
9097727452
Revert "Fix RARCH_CTL_UNSET_STDIN_CLAIMED"
...
This reverts commit 25787c2ce6
.
2016-02-16 05:16:44 +01:00
twinaphex
25787c2ce6
Fix RARCH_CTL_UNSET_STDIN_CLAIMED
2016-02-16 05:09:57 +01:00
twinaphex
4aa36501fb
Call RARCH_CTL_VERIFY_STDIN_PATHS
2016-02-15 21:30:11 +01:00
twinaphex
d3a9b04223
Add back stdin features - pt. 1
2016-02-15 21:27:14 +01:00
twinaphex
33f0f72adc
Cleanups
2016-02-10 04:30:33 +01:00
twinaphex
31112e937b
Move task_queue.c to libretro-common
2016-02-09 18:11:11 +01:00
twinaphex
4210ee197b
Rename tasks.c to task_queue.c
2016-02-09 17:55:15 +01:00
twinaphex
0378463130
Remove configuration.h dependencies from tasks.c
2016-02-09 17:41:30 +01:00
radius
14cd4af752
don't create directories when checking for game options, only create when the user selects the menu entry
2016-02-08 00:07:41 -05:00
twinaphex
26737dbf49
N/A
2016-02-07 13:33:56 +01:00
twinaphex
1b2cf74e12
Add more ways to gracefully fail during content loading
2016-02-07 13:08:14 +01:00
twinaphex
ab64daf5aa
Cleanups
2016-02-05 13:51:30 +01:00
Twinaphex
a120ab1084
Cleanup RARCH_CTL_DEINIT
2016-02-04 20:26:36 +01:00
twinaphex
b646b548ff
Create menu_content_ctl
2016-02-04 14:51:01 +01:00
twinaphex
d764c51eae
Style nits
2016-02-03 17:07:45 +01:00
twinaphex
f70a082626
Create event_cmd_exec - get rid of libretro_private.h
2016-02-03 16:58:06 +01:00
twinaphex
8670c2e405
Create RARCH_CTL_MAIN_INIT and RARCH_CTL_MAIN_DEINIT
2016-01-30 05:03:15 +01:00
twinaphex
912b62dca9
Create RARCH_CTL_SET_PATHS
2016-01-29 11:00:01 +01:00
twinaphex
a5e8615091
Create TASK_CTL_INIT
2016-01-28 09:52:28 +01:00
twinaphex
4e8ad770e6
Cleanups
2016-01-27 19:56:14 +01:00
twinaphex
d1b53a14a1
Create RARCH_CTL_SET_SRAM_ENABLE
2016-01-27 19:53:07 +01:00
twinaphex
8fe012afe4
Modify RARCH_CTL_SET_PATHS_REDIRECT
2016-01-27 19:48:27 +01:00
twinaphex
3728240162
Move some code
2016-01-27 19:45:54 +01:00
twinaphex
3b38e2fe4c
Move this above init_libretro_sym
2016-01-27 19:30:13 +01:00
twinaphex
1e044f38ad
Move RARCH_CTL_INIT_SYSTEM_AV_INFO to libretro_version_1.c
2016-01-27 08:21:41 +01:00
twinaphex
6a7b2aed5c
Simplifications
2016-01-27 08:17:12 +01:00
twinaphex
392fee9023
Create CORE_CTL_VERIFY_API_VERSION
2016-01-27 08:13:54 +01:00
twinaphex
76f068f852
Simplify RARCH_CTL_VERIFY_API_VERSION
2016-01-27 08:11:42 +01:00
twinaphex
5016ebd344
Create CORE_CTL_RETRO_GET_SYSTEM_AV_INFO
2016-01-27 03:40:02 +01:00
twinaphex
317dda00ea
Respect 80-char width limit
2016-01-26 05:38:40 +01:00
twinaphex
390b209cba
Cleanups
2016-01-26 02:31:10 +01:00
twinaphex
2a9b2d7759
Cut down on duplicated code surrounding game options files
2016-01-26 02:24:59 +01:00
twinaphex
fd94cbdefe
Move rarch_main_init_wrap to frontend.c and turn it into
...
a static function
2016-01-25 05:45:37 +01:00
twinaphex
854937483d
Move rarch_playlist_load_content to menu_content.c
2016-01-25 05:43:27 +01:00
twinaphex
4630d625f1
Move rarch_defer_core to menu_content.c and rename it
...
menu_content_defer_core
2016-01-25 05:38:22 +01:00
twinaphex
4381370f35
menu_content_load - cleanup
2016-01-25 05:31:21 +01:00
twinaphex
22bf74ff37
Start moving code to menu_content.c
2016-01-25 04:44:54 +01:00
twinaphex
78395c449b
rarch_defer_core: cleanups
2016-01-25 03:52:41 +01:00
twinaphex
11f7735965
Create RARCH_CTL_INIT_SYSTEM_AV_INFO
2016-01-22 15:43:40 +01:00
twinaphex
372d673a26
Rename event_command to event_cmd_ctl - add second parameter
2016-01-22 15:34:43 +01:00
twinaphex
454abdee48
stdstring - create string_is_equal
2016-01-20 04:07:24 +01:00
twinaphex
da2ce48fb2
Silence warning
2016-01-20 03:44:01 +01:00
twinaphex
6c5b2ff0b5
Turn corrent_core_type into static variable
2016-01-20 03:15:50 +01:00
twinaphex
3190d8aba2
Create RARCH_CTL_IS_PLAIN_CORE
2016-01-20 03:10:52 +01:00
twinaphex
1eac61e9a0
Create RARCH_CTL_IS_DUMMY_CORE
2016-01-19 23:44:32 +01:00
twinaphex
01d58f8681
Create RARCH_CTL_IS_INITED, RARCH_CTL_SET_INITED, RARCH_CTL_UNSET_INITED
2016-01-19 23:26:47 +01:00
twinaphex
5643b7d3d8
Add CONTENT_CTL_DOES_NOT_NEED_CONTENT and CONTENT_CTL_SET_DOES_NOT_NEED_CONTENT
2016-01-19 23:15:19 +01:00
twinaphex
7a55ae3765
Start updating headers for 2016
2016-01-10 04:06:50 +01:00
twinaphex
08e73ea144
Non_HAVE_MEN codepath fixes - courtesy of Karlton
...
t # Please enter the commit message for your changes. Lines starting
2016-01-02 02:54:20 +01:00
twinaphex
a93cda3aef
Move current_savestate_dir to set_paths_redirect as local variable
2015-12-26 09:56:53 +01:00
twinaphex
91f61afa16
Start using string_is_empty
2015-12-26 07:07:01 +01:00
ctult
cebb95b0e3
a bit of static analysis
...
possible memory leaks and null pointer dereferences
2015-12-24 23:04:15 -07:00
twinaphex
ab9c52e03e
Remove unused local variables
2015-12-11 13:29:15 +01:00
twinaphex
65eeb3d836
Don't touch global->core_info.current from outside runloop.c
2015-12-11 13:24:14 +01:00
twinaphex
0a01eab115
Create RARCH_DRIVER_CTL_INIT_PRE
2015-12-11 10:52:15 +01:00
twinaphex
fc6505e408
Get rid of rarch_system_info_get_ptr
2015-12-10 22:30:25 +01:00
twinaphex
10f934dc70
Move overrides_active variable to runloop_ctl
2015-12-10 21:43:44 +01:00
twinaphex
39499eb107
Silence 'cannot be reached' warnings
2015-12-08 19:54:36 +01:00
twinaphex
2daf9832a9
Create new function types
2015-12-07 15:54:06 +01:00
twinaphex
2d55dc3bda
Complete namespace changes
2015-12-07 15:32:14 +01:00
twinaphex
8ab15e7ef8
Create RARCH_CTL_DESTROY
2015-12-07 15:03:54 +01:00
twinaphex
cad237231e
Create RARCH_CTL_PREINIT
2015-12-07 15:01:53 +01:00
twinaphex
c62f6ed26d
Create RARCH_CTL_DEINIT and RARCH_CTL_INIT
2015-12-07 14:59:09 +01:00
twinaphex
52774b0dee
Add RARCH_CTL_SET_PATHS_REDIRECT
2015-12-07 14:30:36 +01:00
twinaphex
fd7e4db9aa
Combine system.c and runloop.c
2015-12-07 13:56:33 +01:00
Twinaphex
6107d56834
retroarch.h - don't include core_info.h
2015-12-07 08:56:11 +01:00
twinaphex
1cfb39a9d1
merge menu.c and menu_driver.c
2015-12-06 17:55:27 +01:00
twinaphex
8e8f69bb69
Refactor away menu_driver_toggle
2015-12-06 17:41:00 +01:00
twinaphex
ffa4c58f1a
move setjmp.h to retroarch.c
2015-12-05 21:31:46 +01:00
twinaphex
90ad89cdf1
Header cleanups
2015-12-05 17:19:37 +01:00
twinaphex
18ab12ab83
Take header include record_driver.h out of driver.h
2015-12-05 16:12:29 +01:00
twinaphex
ddff980161
Remove unused variables
2015-12-05 09:14:55 +01:00
twinaphex
f72b69e8d1
Don't include frontend_driver.h as part of driver.h
2015-12-05 09:09:31 +01:00
twinaphex
f38cdd1a64
Create frontend_driver_content_loaded
2015-12-05 07:53:02 +01:00
twinaphex
c0a1a6a3fe
Move system->shutdown to runloop_ctl, turn it into a local
...
static variable
2015-12-04 12:44:12 +01:00
twinaphex
b9bb4498d8
Backports/rewrites wmarquesr - pt. 6
2015-12-04 10:58:18 +01:00
twinaphex
cc1f0e6ab4
Reimplement EVENT_CMD_SET_FRAME_LIMIT and make frame_limit_minimum_time
...
and frame_limit_last_time static local variables of rarch_main_iterate
2015-12-04 09:54:12 +01:00
twinaphex
251bca7166
Nit
2015-12-04 09:07:21 +01:00
twinaphex
b1b3831739
Move error_on_init to rarch_ctl and make it a static local variable
2015-12-04 09:06:47 +01:00
twinaphex
38d6cec9fd
Turn g_config into static local variable
2015-12-04 09:02:30 +01:00
twinaphex
4561337183
(retroarch.c) Turn some static variables into static local variables
2015-12-04 03:20:33 +01:00
twinaphex
f1a0068dc7
Move bsv global state to movie.c
2015-12-01 01:47:26 +01:00
twinaphex
251075fc03
global->bsv.movie not accessed outside now
2015-12-01 01:38:45 +01:00
twinaphex
ca48d12858
Get rid of global->bsv references
2015-12-01 01:29:16 +01:00
twinaphex
09a3537d44
Get rid of more global->bsv.movie references
2015-12-01 01:25:36 +01:00
twinaphex
ca52a19b1d
Cleanups
2015-11-30 23:35:04 +01:00
twinaphex
952ecf22cd
(runloop.c) Turn some functions static
2015-11-30 23:29:46 +01:00
twinaphex
6b92167050
Move block_config_read to retroarch.c
2015-11-30 22:09:28 +01:00
twinaphex
6c4557817d
Move force_fullscreen to retroarch.c
2015-11-30 22:02:54 +01:00
twinaphex
9824eb7ea9
Rename rarch_main_ctl to runloop_ctl
2015-11-30 21:42:59 +01:00
twinaphex
4e333302ae
Rename RARCH_MAIN_CTL* to RUNLOOP_CTL*
2015-11-30 21:35:50 +01:00
twinaphex
ca71e1a5bb
Rename RARCH_ACTION_STATE_ to RARCH_CTL_
2015-11-30 21:28:55 +01:00
twinaphex
c76272ad8d
Move more state out of global
2015-11-30 19:30:05 +01:00
twinaphex
4e0a4150b5
Merge runloop and runloop_data.c
2015-11-30 15:35:57 +01:00
twinaphex
cf53090204
De-globalize current_save_{file|state}_dir variables
2015-11-30 04:10:15 +01:00
twinaphex
b62738465c
Move video_active to gfx/video_driver.c
2015-11-29 21:38:47 +01:00
twinaphex
12e301825b
Move audio_active to audio_driver.c
2015-11-29 21:34:45 +01:00
twinaphex
2d04a8063f
Move retro_fail to retroarch.c
2015-11-29 02:27:48 +01:00
twinaphex
fa0e2032c6
Move EVENT_CMD_PREPARE_DUMMY to rarch_main_ctl
2015-11-29 00:29:41 +01:00
twinaphex
bd6b79fdee
command_event should only be used for events that the user can call,
...
so start moving things that the user shouldn't call to rarch_main_ctl
instead
2015-11-29 00:15:51 +01:00
twinaphex
b2421b5942
Merge retroarch and retroarch_info
2015-11-28 20:11:55 +01:00
radius
1296768d47
add stub driver for network gamepad
2015-11-27 18:08:39 -05:00
Higor Eurípedes
6257d178ee
(retroarch) Move task subsystem initialization to rarch_main_init()
2015-11-24 16:45:28 -03:00
Higor Eurípedes
f04e4ae57c
Fix segfault on exit after downloading files
2015-11-23 18:56:59 -03:00
twinaphex
a9cb970d0d
Move log_file code to verbosity.c
2015-11-23 15:45:02 +01:00
twinaphex
074f14b132
Add verbosity.c/verbosity.h
2015-11-23 12:03:38 +01:00
twinaphex
d65a445acd
Fix concurrency issue with global->verbose
2015-11-22 20:50:39 +01:00
twinaphex
0f33722f5d
Refactor Wii per-game resolution mode to be somewhat generic
2015-11-21 08:56:24 +01:00
twinaphex
9ea40f5e32
Add RARCH_DISPLAY_CTL_SET_ASPECT_RATIO
2015-11-20 18:45:00 +01:00
twinaphex
5069d71295
Cleanups
2015-11-20 18:41:25 +01:00
twinaphex
a4ae655ff4
Start going through rarch_main_ctl for grabbing fullpath
2015-11-18 11:43:25 +01:00
twinaphex
2b727fa941
Add RARCH_MAIN_CTL_SET_LIBRETRO_PATH/RARCH_MAIN_CTL_SET_CONTENT_PATH
2015-11-18 11:15:42 +01:00
twinaphex
a3a5a82d47
(GL) doesn't access global state anymore
2015-11-18 03:08:19 +01:00
twinaphex
2647459962
Move some variables around
2015-11-10 00:40:23 +01:00
twinaphex
3dfdc4ba8f
rarch_playlist_load_content - check if path is non-NULL
2015-11-10 00:37:05 +01:00
twinaphex
da1931ad9f
First working implementation of playlist associations
2015-10-31 17:44:42 +01:00
twinaphex
0c691dab06
Fix rarch_playlist_load_content
2015-10-31 17:18:37 +01:00
twinaphex
1ddd33336a
1) rarch_playlist_load_content - add argument
...
2) GLUI - handle libretro_pause being false better - hide
background and make white background look better
2015-10-31 17:06:08 +01:00
twinaphex
eb33e83eff
Some more non-HAVE_MENU buildfixes
2015-10-28 08:02:39 +01:00
twinaphex
df01279cf3
Add non-HAVE_MENU ifdefs
2015-10-28 00:55:11 +01:00
twinaphex
02a43c6b2a
Change 'rarch' to 'retro' namespace in libretro-common
2015-10-26 03:18:13 +01:00
twinaphex
4b41ea60a0
Fix CXX_BUILD
2015-10-25 20:40:47 +01:00
fr500
30c4436aa9
this code is not always reached, so let's instead initialize the variable before checking if sorting is enabled
2015-10-22 13:37:33 -05:00
Alcaro
83eebdf967
@pyroesp, I think you forgot testing this, it doesn't compile. ...okay, so did I.
2015-10-22 17:31:37 +02:00
Alcaro
4544c0988f
Fix this leak.
2015-10-22 17:21:19 +02:00
pyroesp
15af8f0d98
Fixed RFILE var declaration to C89 standard
2015-10-22 17:12:34 +02:00
pyroesp
2b308d75b8
Fixed RFILE var declaration to C89 standard
2015-10-22 17:10:45 +02:00
pyroesp
0d02ce2941
Fixed RFILE var declaration to C89 standard
2015-10-22 17:09:44 +02:00
pyroesp
e30356858b
Fixed RFILE var declaration to C89 standard
2015-10-22 17:08:05 +02:00
pyroesp
78352885fd
File check bug fix with 7z and zip files
2015-10-22 15:05:48 +02:00
pyroesp
11f1d566c9
Added file check before loading game.
2015-10-20 17:20:56 +02:00
radius
a0fe04ead5
cleaner implementation of save file / save state sorting
2015-10-19 19:55:41 -05:00
twinaphex
fd39bf679b
Restore retroarch.c
2015-10-13 22:13:24 +02:00
Alcaro
cc85f439a4
Hopefully this actually works on those consoles.
2015-10-13 20:21:08 +02:00
aliaspider
6f529640df
revert this back.
2015-10-11 16:34:40 +01:00
aliaspider
166261f08f
add back the early return when no arguments are provided.
2015-10-11 16:20:28 +01:00
Alcaro
611bcec28c
This should unbreak a bunch of consoles.
2015-10-11 17:03:12 +02:00
Alcaro
d10bb76427
Wipe out some insane rule that makes --verbose change behaviour. I think this is what is intended...
2015-10-11 09:14:33 +02:00
Andre Leiradella
5fce3f4138
grouped core functions inside a retro_core_t structure; swapped core function globals by one retro_core_t variable
2015-10-06 14:34:09 -03:00
twinaphex
a842a490f9
Refactor rarch_fill_pathnames
2015-09-27 02:18:45 +02:00
twinaphex
767a866573
(retroarch.c) Cleanups
2015-09-27 02:16:24 +02:00
twinaphex
342635d562
Add RARCH_ACTION_STATE_VERIFY_API_VERSION
2015-09-27 02:06:58 +02:00
twinaphex
2364ae6b17
Add RARCH_ACTION_STATE_REPLACE_CONFIG
2015-09-27 02:04:53 +02:00
twinaphex
9679804382
Rename rarch_main_set_state to rarch_ctl
2015-09-27 01:58:24 +02:00
twinaphex
a8e5cf5483
Move functionality over to menu_driver_toggle
2015-09-27 01:43:13 +02:00
twinaphex
a3e133f847
Add menu_entries_set_refresh call in menu_driver_toggle
2015-09-27 01:38:21 +02:00
twinaphex
6e6b6bf203
Buildfix
2015-09-26 21:48:42 +02:00
twinaphex
fc96ac60f3
Add RARCH_MAIN_CTL_GLOBAL_FREE
2015-09-26 21:30:20 +02:00
twinaphex
54c3b60603
Refactor away rarch_main_clear_state
2015-09-26 13:35:04 +02:00
twinaphex
374a5bf635
Refactor away rarch_main_set_max_frames
2015-09-26 13:28:33 +02:00
radius
982363f530
per-core save fixes
2015-09-24 23:15:59 -05:00
radius
85d02cb3ee
per-core save fixes
2015-09-24 23:11:14 -05:00
twinaphex
3db688d477
Create retro_stat.c/retro_stat.h
2015-09-22 01:45:30 +02:00
twinaphex
8c64729db0
Style nit
2015-09-20 11:12:22 +02:00
twinaphex
2b840c0384
Refactor perf counters
2015-09-20 10:02:59 +02:00
Twinaphex
4784371a90
Revert "[WIP] don't create default folders if other folders are set already"
2015-09-17 22:05:14 +02:00
Jorge Suarez
6aad439160
[all] verify if paths are already configured before creating defaults
2015-09-17 14:59:39 -05:00
twinaphex
e1c1917ed5
Cleanup headers
2015-09-05 19:24:21 +02:00
twinaphex
fc763f5e25
Add EVENT_CMD_SET_FRAME_LIMIT
2015-08-27 14:25:57 +02:00
twinaphex
4e03865a78
Cleanup
2015-08-27 14:09:32 +02:00
twinaphex
4ae1e9a53d
Cleanups
2015-08-22 01:42:26 +02:00
twinaphex
5479bae312
Refactor set_refresh functions somewhat
2015-08-21 18:44:14 +02:00
twinaphex
9fd17a196f
Buildfixes
2015-08-20 00:49:44 +02:00
twinaphex
efdb2ecd4b
Don't use menu_settings_apply_deferred anymore
2015-08-17 16:24:46 +02:00
twinaphex
0218a2755d
Create menu_settings_apply_deferred
2015-08-17 15:54:23 +02:00
twinaphex
adb28bb341
Refactor max_frames
2015-08-05 14:45:56 +02:00
twinaphex
f39ab89867
(runloop.c) Refactors
2015-08-05 14:36:35 +02:00
twinaphex
3d36cb02ac
No more separate runloop_t
2015-08-03 20:15:46 +02:00
twinaphex
e43f54f7c1
Take max frames out of runloop
2015-08-03 19:49:34 +02:00
Twinaphex
1faa62e902
Remove two unused variables
2015-07-27 17:22:43 +02:00
twinaphex
a70f09a90d
Rearrange structs
2015-07-27 17:18:10 +02:00
radius
4b234a4ed9
clean-up System/BIOS in content dir, should now just use the basename instead of actually overwriting the setting
2015-07-26 16:23:41 -05:00
Twinaphex
09ee27337c
(OSX) Fix crash at exit
2015-07-18 15:07:16 +02:00
radius
a06dd9c3a2
fix system dir resetting on each startup
2015-07-17 02:53:59 -05:00
twinaphex
f938c75e0b
When 'Hide In Menu' is enabled, overlay should reappear now when we
...
select 'Resume Content', 'Load State', or 'Save State'
2015-07-16 11:57:50 +02:00
radius
2a1f2b81c2
disable per-core states with <content dir> savestates
2015-07-16 02:23:18 -05:00
radius
b717828cf0
fix setting and clearing system directory when using content dir
2015-07-16 01:46:11 -05:00
radius
06f656004b
make system directory restore correctly when closing content in case it was set to content dir
2015-07-12 02:35:27 -05:00
twinaphex
403e32ca5f
Get rid of lifecycle_state in runloop struct
2015-07-10 18:54:58 +02:00
radius
2aa7c46e78
change the approach to wii resolution changing, this is more stable
2015-07-06 16:07:33 -05:00
twinaphex
5031159126
Refactors
2015-07-03 00:16:46 +02:00
twinaphex
cedcae78d4
Updates
2015-07-02 18:39:57 +02:00
twinaphex
42b7c15129
Update msg_hash code
2015-07-01 19:30:34 +02:00
twinaphex
fab966d768
Cleanups
2015-07-01 01:07:30 +02:00
Alcaro
09340c97c1
Why is that among the patches? It has nothing to do with them. Moving to more related items.
2015-06-30 23:06:12 +02:00
Alcaro
0d743c27fe
whoops, forgot to nuke the debug code.
2015-06-30 22:59:06 +02:00
Alcaro
86fa8279cb
Put those beside each other now that we can do that.
2015-06-30 22:43:41 +02:00
Alcaro
7c0809a522
Wipe out that LONG_OPT_ONLY thing, it seems safe to renumber the RA_OPT enum instead.
2015-06-30 22:39:13 +02:00
Alcaro
3d85acdb85
Kill off this 'val' variable, C89 hates it.
2015-06-30 22:36:36 +02:00
twinaphex
affd3683de
Remove instances of 'RetroArch' name with 'program'
2015-06-30 15:26:14 +02:00
Alcaro
f067fd2dbc
Thanks for the bisect, @joolswills. Those pointers sure can be nasty. Fixes #1876 .
2015-06-30 12:33:51 +02:00
twinaphex
48dcd63557
Silence MSVC warning
2015-06-28 19:15:12 +02:00
twinaphex
84c18a353d
Create HAVE_IMAGEVIEWER ifdef
2015-06-28 18:55:00 +02:00
twinaphex
8abf6779c0
retroarch.c - cover all-caps extensions too
2015-06-28 18:10:48 +02:00
twinaphex
57ae359e62
Builtin image viewer should now work
2015-06-28 17:21:32 +02:00
twinaphex
8882f762c4
Start hooking up imageviewer, pt. 1
2015-06-28 17:02:01 +02:00
twinaphex
b421778e50
(retroarch.c) Another C89 fix
2015-06-26 20:35:02 +02:00
twinaphex
f0201776be
(retroarch.c) More C89 fixes
2015-06-26 19:19:36 +02:00
twinaphex
6fb7e4cbb7
C89 fixes/cleanups
2015-06-26 16:04:42 +02:00
twinaphex
b400597a4c
Move title_buf to rarch_system_info_t
2015-06-25 14:30:32 +02:00
twinaphex
b9479576e8
Create system.c
2015-06-25 14:25:21 +02:00
twinaphex
7bf6d1e5bb
(dynamic.c) cleanups
2015-06-25 14:13:51 +02:00
twinaphex
c8eca5b06a
Create rarch_system_info_free
2015-06-25 13:57:24 +02:00
twinaphex
732d2db40e
Divorce system info from global runloop state entirely
2015-06-25 13:50:52 +02:00
twinaphex
3f24248498
(retroarch.c) Use rarch_system_info_get_ptr
2015-06-25 13:17:42 +02:00
twinaphex
42fcb4490c
Change signature of rarch_system_info_get_ptr
2015-06-25 12:36:55 +02:00
twinaphex
ac2a13a136
Use rarch_system_info_get_ptr
2015-06-25 11:02:01 +02:00
twinaphex
faead5c250
Create rarch_system_info_get_ptr
2015-06-25 10:51:05 +02:00
twinaphex
fb17df2b6f
(ffmpeg builtin) Add wmv extension
2015-06-23 09:25:56 +02:00
twinaphex
6658a3144a
(ffmpeg builtin) Add mov
2015-06-23 09:19:42 +02:00
twinaphex
fb5fd168f2
(builtin ffmpeg) Add webm to extensions
2015-06-23 08:32:21 +02:00
twinaphex
d86c049e25
Buildfix for non-HAVE_FFMPEG builds
2015-06-23 08:16:14 +02:00
twinaphex
495315d244
(ffmpeg builtin) Don't explicitly reset libretro variable anymore
2015-06-23 07:55:50 +02:00
twinaphex
d963a0d1c3
Move ffmpeg content detection work for commandline usage as well
2015-06-23 07:55:02 +02:00
twinaphex
3e20e4f4f7
Create rarch_mediaplayer_is_media_type
2015-06-23 07:25:48 +02:00
twinaphex
be2ae1c602
Add "builtin_mediaplayer_enable" setting
2015-06-23 07:09:24 +02:00
twinaphex
38b3b87812
(FFmpeg) should now have built-in support for launching movies/music
...
directly when HAVE_FFMPEG is defined
2015-06-23 06:44:29 +02:00
twinaphex
5c826a6bdf
Cleanups
2015-06-22 11:45:00 +02:00
Higor Eurípedes
a05032a80d
(retroarch) Fix declaration of some globals
2015-06-21 19:50:58 -03:00
twinaphex
6f1bc69fc7
Refactor libretro_dummy mechanics
2015-06-20 23:42:30 +02:00
Higor Eurípedes
a61b9e31ec
(retroarch.c) Fix cli options without short variant
2015-06-17 21:30:53 -03:00
twinaphex
819723be06
Move '_refresh' functions to menu_entries.c
2015-06-16 03:03:20 +02:00
twinaphex
40f8fabda6
Consistency in how we treat positive strcmp matches
2015-06-14 19:56:01 +02:00
Higor Eurípedes
0be6655e32
(retroarch.c) Fix --appendconfig
2015-06-14 12:36:29 -03:00
twinaphex
90b918e7ee
set_paths_redirect - prevent crash
2015-06-14 17:25:32 +02:00
twinaphex
2ef68cc249
(retroarch.c) Refactors / prevent usage of strcmp
2015-06-14 16:45:20 +02:00
twinaphex
3417d98405
(General) Cleanups
2015-06-13 03:06:11 +02:00
Higor Eurípedes
258cc97d14
Revert "(retroarch.c) Default to --menu behavior"
...
This reverts commit 34af0aa956
.
2015-06-12 15:20:48 -03:00
Higor Eurípedes
34af0aa956
(retroarch.c) Default to --menu behavior
2015-06-12 13:36:22 -03:00
Higor Eurípedes
f9d01a079a
(retroarch.c) Replace FILE with PATH for -s and -S options
2015-06-12 13:36:22 -03:00
Higor Eurípedes
a264720bb6
(retroarch.c) Use stderr as log file by default
2015-06-12 13:36:22 -03:00
Higor Eurípedes
805ac369c0
(retroarch.c) Clear confusion about -s and -S
2015-06-12 13:36:22 -03:00
Higor Eurípedes
b08847abdd
(retroarch.c) Move print_version() ascii art to print_help()
2015-06-12 13:36:22 -03:00
Higor Eurípedes
f9d6cab445
(retroarch.c) Use descriptive name for the long-only options
2015-06-12 13:36:21 -03:00
Higor Eurípedes
badf586e1a
(retroarch.c) Fix segfault
2015-06-12 13:36:21 -03:00
Higor Eurípedes
ecede41cb2
(retroarch.c) Add --log-file and --version
2015-06-12 13:36:21 -03:00
Higor Eurípedes
4e595b34c1
(retroarch.c) Add print_version()
2015-06-12 13:36:21 -03:00
Higor Eurípedes
164110d04d
(retroarch.c) Align opts definition
2015-06-12 13:36:21 -03:00
Higor Eurípedes
552d6abb7f
(retroarch.c) Reformat help text
2015-06-12 13:36:21 -03:00
Higor Eurípedes
8057e2654e
(retroarch.c) Align long options in print_help()
2015-06-12 13:36:21 -03:00
Higor Eurípedes
1cacb66d39
(retroarch.c) Make print_help() use less terminal columns
2015-06-12 13:36:21 -03:00
Higor Eurípedes
b3ad5f80e4
(retroarch) Use argv[0] as command name in print_help()
2015-06-12 13:36:21 -03:00
twinaphex
c36e21ed13
(General) Cleanup
2015-06-12 17:00:37 +02:00
twinaphex
29e3f5ff66
Expand playlist format - rename it to 'lpl'
2015-06-08 23:38:03 +02:00
twinaphex
0cfeff8e1e
Cleanups
2015-06-02 18:28:51 +02:00
twinaphex
e67f3f246d
Rearrange header include dependencies
2015-06-02 17:17:46 +02:00
radius
15815caf36
try to fix per-core savedirs for content that needs_fullpath
2015-05-25 19:03:39 -05:00
twinaphex
8fb8887c34
Create new playlist format
2015-05-26 00:12:49 +02:00
twinaphex
cf2c0f6930
Rename rarch_render_cached_frame to video_driver_cached_frame
2015-05-20 21:06:44 +02:00
twinaphex
a053b41223
Create video_viewport_get_system_av_info and video_viewport_get_custom -
...
move custom viewport and system av info outside of global state
2015-05-20 18:57:17 +02:00
Twinaphex
337b37fc49
Merge pull request #1709 from heuripedes/master
...
stuff
2015-05-19 20:16:20 +02:00
Twinaphex
10e66028e0
Remove some unused variables
2015-05-19 20:13:26 +02:00
twinaphex
375c49b6c8
Move is_menu out of runloop struct and create get/set functions in menu_driver.c
...
and make the underlying variable static to make it thread-safe
2015-05-19 20:11:57 +02:00
Higor Eurípedes
027b0d4ddd
(retroarch.c) Fix uninitialized variable usage error
2015-05-19 14:55:21 -03:00
twinaphex
f525899e0e
Create menu_set_refresh/menu_unset_refresh
2015-05-15 21:39:13 +02:00
twinaphex
29a10e5cb3
Create menu_setting_apply_deferred
2015-05-15 00:22:26 +02:00
twinaphex
1c903ad7cd
Start creating retroarch_info.c
2015-05-13 13:21:43 +02:00
twinaphex
07e5ce86b5
menu_entry_iterate - use menu_list_get_last_stack_actiondata
2015-05-11 18:11:11 +02:00
Twinaphex
32873de0ce
Should not needlessly flag menu->need_refresh = true when we
...
toggle the menu
2015-05-11 01:47:19 +02:00
radius
c6d344bb13
fix data saving in the wrong location for subsystem
2015-05-09 23:46:45 -05:00
radius
336e28fc34
add comments and make it create the directories if they don't exist
2015-05-07 20:16:51 -05:00
radius
90b0136e06
fix nits
2015-05-07 20:02:22 -05:00
radius
38a9d66299
fix nits
2015-05-07 20:01:01 -05:00
radius
d8f95bf84a
fix nits
2015-05-07 20:00:08 -05:00
radius
c68c93fa79
fix save sorting for cores that do not use the sram interface and make the process more reliable
2015-05-07 19:59:06 -05:00
radius
d7eab06939
remove variable from log
2015-05-07 18:07:32 -05:00
radius
8c09578f51
make it possible to sort savestates/savefiles without overrides too
2015-05-07 18:06:14 -05:00
radius
f057b7f8df
fix nits
2015-05-07 00:38:13 -05:00
radius
7a44fd49c2
make overrides work with custom save dir and custom state dir
2015-05-07 00:36:29 -05:00
twinaphex
2580a2676a
Add features
2015-04-19 20:42:54 +02:00
twinaphex
455005454c
Cleanup some feature descriptors
2015-04-19 18:44:28 +02:00
twinaphex
79d57de207
Cleanups to 'features'
2015-04-19 18:41:11 +02:00
twinaphex
5105519d8d
HAVE_ZLIB is now divorced from HAVE_RPNG
2015-04-19 18:32:26 +02:00
twinaphex
ee7ce9659b
Create more features
2015-04-19 18:30:49 +02:00
twinaphex
182c4e5e37
Add _opengles_supp to config.features.h
2015-04-16 22:13:16 +02:00
twinaphex
d9f5f7c457
Add more entries to System Information
2015-04-16 21:58:19 +02:00
twinaphex
3c498eb505
Add HAVE_GLSL/HAVE_HLSL to config.features.h
2015-04-16 20:59:55 +02:00
Twinaphex
cb03dcc58f
Cleanups
2015-04-16 20:19:53 +02:00
twinaphex
6c8fb89773
Refactor print_compiler
2015-04-16 20:17:05 +02:00
twinaphex
eaea065199
Move some functions around to command_event.c - make some functions static
2015-04-13 11:37:38 +02:00
twinaphex
0818b178f9
Rename rarch_main_command to event_command
2015-04-13 11:26:02 +02:00
twinaphex
7b44f2d158
retroarch.c - cut down on header dependencies
2015-04-13 11:18:34 +02:00
twinaphex
61e33300b7
Create command_event.c
2015-04-13 11:15:40 +02:00
Twinaphex
de2eb5f972
Rename RARCH_CMD_* to EVENT_CMD_*
2015-04-13 10:29:15 +02:00
twinaphex
40c64b3302
Move init_rewind to rewind.c
2015-04-11 13:36:33 +02:00
twinaphex
7f56e5c214
Move deinit_netplay to netplay.c
2015-04-11 13:31:33 +02:00
twinaphex
a150cb84bd
Move init_netplay to netplay.c
2015-04-11 13:29:40 +02:00
radius
3dc163f885
revert this since it's not needed
2015-04-06 22:41:33 -05:00
radius
e71940ff34
revert saving the core_options_path since it was causing a lot of incosistencies
2015-04-06 22:31:07 -05:00
radius
70a54e6fcb
make sure remap path is cleared if an auto remap file is not found
2015-04-06 21:54:59 -05:00
radius
45040cd29b
fix some warnings
2015-04-06 20:22:33 -05:00
radius
507ec17261
make the override function smarter, now it will return true if overrides have loaded and false otherwise (including on error)
...
move pretro_set_environment(rarch_environment_cb); further down since it wouldn't have achieved the desired effect in that location
added a function to restore the original configuration when unloading the core so overrides won't affect the main config
2015-04-06 19:54:58 -05:00
radius
599d09c7ce
move pretro_set_environment(rarch_environment_cb); after init_libretro_sym so core_options and libretro_path can be overriden
2015-04-06 00:01:33 -05:00
radius
dd8a45c9eb
implement auto-load for remap files
2015-04-05 15:41:24 -05:00
radius
d4c52008a0
Add additional checks and logging
2015-04-05 13:58:59 -05:00
radius
f92aecd28b
Overrides:
...
- renamed the function to something more suitable and cleaned up the comments a bit
- moved back !global->system.info.library_name check, this shouldn't return false, this is not an error but an early return condition
2015-04-05 13:52:43 -05:00
radius
8ad303d066
readded per-game/per-core overrides, this works exactly the same as appendconfig and with the same limitations (if you append a config and config autosave is
...
enabled if will propagate to your main config)
Had to change the delimiter for appendconfig to "|" so users can load configs with filenames including ,
2015-04-05 11:14:24 -05:00
twinaphex
31a5c4a1bf
rarch_main_set_state - prevent more null pointer dereferences
2015-03-29 19:03:46 +02:00
neville
9a8a20e85a
(OSX PPC) Prevent one null pointer dereference
2015-03-29 19:00:57 +02:00
twinaphex
80d8607fd2
(retroarch.c) Remove file_ops.h header include
2015-03-28 21:16:21 +01:00
twinaphex
4c40ff37c2
(Unload Core) Release system info on core unload too
2015-03-24 14:43:27 +01:00
twinaphex
ca8e38fa18
Add 'Unload Core' option
2015-03-24 14:32:42 +01:00
twinaphex
c7e78d48d5
Create runloop_data.h
2015-03-24 13:45:53 +01:00
twinaphex
ba938da348
Fixes segfault with environ SHUTDOWN with prboom
2015-03-23 23:40:36 +01:00
twinaphex
b21c3c460a
Move rarch_main_data_free to RARCH_CMD_PREPARE_DUMMY
2015-03-23 06:54:39 +01:00
twinaphex
0d164162fc
Create input_driver_grab_mouse
2015-03-23 04:31:11 +01:00
twinaphex
71e927020c
Create input_driver_poll
2015-03-23 03:17:43 +01:00
twinaphex
dc46785c14
Create more audio wrapper functions
2015-03-23 02:44:49 +01:00
twinaphex
4a3507adc1
Create audio_driver_alive
2015-03-23 02:36:13 +01:00
twinaphex
724c809ca5
Create video_driver_apply_state_changes
2015-03-23 00:42:55 +01:00
twinaphex
636fd426f6
Create set_texture_enable wrapper function
2015-03-22 18:59:16 +01:00
twinaphex
6e91eed664
Create more wrapper functions
2015-03-22 18:48:24 +01:00
twinaphex
71dcc021a7
Create wrapper functions for video driver functions
2015-03-22 18:38:11 +01:00
twinaphex
4a46a8c5d7
Create video_driver_set_nonblock_state
2015-03-22 10:25:51 +01:00
twinaphex
3a31d67fae
(retroarch.c) Style nits
2015-03-22 08:39:26 +01:00
twinaphex
b6106fc50f
Cleanups
2015-03-22 07:28:45 +01:00
twinaphex
c4afb2a154
Create video_driver_has_windowed
2015-03-22 07:20:55 +01:00
twinaphex
67c8c3a5e7
Create menu_driver_toggle
2015-03-22 06:02:02 +01:00
twinaphex
4b8de58878
Rename functions
2015-03-22 03:41:20 +01:00
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