Commit Graph

1805 Commits

Author SHA1 Message Date
twinaphex 386657a366 (menu widgets backport) Re-commit task queue changes 2019-02-08 08:00:32 +01:00
twinaphex 7022786f34 Revert parts of menu_widgets that were causing breakage, but leave
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
natinusala 8f3c77f719 ui_companion: fix status message 2019-02-07 11:49:07 +01:00
Twinaphex fa4494ff8b
Merge pull request #8203 from fr500/master
[discord] party & ask to join refinements
2019-02-07 05:06:30 +01:00
radius 671e90a415 [discord] party & ask to join refinements 2019-02-06 22:45:05 -05:00
Twinaphex 136193ab8d Buildfix 2019-02-07 04:09:08 +01:00
twinaphex cbfe33c579 Ifdef this 2019-02-06 23:38:54 +01:00
natinusala c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
Twinaphex 7fedabee4b
Merge pull request #8163 from orbea/cleanup
Cleanup
2019-02-04 23:19:05 +01:00
twinaphex ebce936557 Fix UWP builds 2019-02-04 23:14:20 +01:00
orbea 28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
twinaphex 6aca340927 (OSX) Add CoreAudio V3 driver from stuartcarnie 2019-01-31 23:14:56 +01:00
twinaphex 37102a8e16 * Header include optimization
* Silence warning with CXX_BUILD (retroarch.c)
2019-01-31 20:12:41 +01:00
Brad Parker 5ea97cccb9 win32: force video driver to gdi if no accelerated graphics driver is found 2019-01-31 09:48:10 -05:00
Rob Loach fa875692c3
Added menu toggle for 'Down+Select' 2019-01-28 11:43:57 -05:00
Brad Parker 90db5e7e27 Implement in-menu sound effects 2019-01-27 11:22:16 -05:00
twinaphex b13777e9fc Header cleanups 2019-01-20 03:16:58 +01:00
orbea 8787f46c59 Fix conflicting types.
Fixes conflicting types after PR https://github.com/libretro/RetroArch/pull/8006
2019-01-17 20:02:49 -08:00
orbea b3157c14e8 Fix wimp ui.
Fixes https://github.com/libretro/RetroArch/issues/8005
2019-01-14 00:37:52 -08:00
twinaphex f0994a0502 retroarch.c - some cleanups 2019-01-14 05:25:04 +01:00
twinaphex 7cb84245b7 Simplify runloop 2019-01-14 04:39:58 +01:00
twinaphex 5b88685448 Unroll this 2019-01-13 07:46:35 +01:00
orbea d86fe8d6e6 Don't disable the Qt frontend when started from the commandline.
Fixes https://github.com/libretro/RetroArch/issues/7962.
2019-01-12 09:40:05 -08:00
twinaphex 6048eba78a Move static variable around 2019-01-12 18:10:22 +01:00
twinaphex d95b4b70e7 Some cleanups to runloop - should not affect anything functionality-wise 2019-01-12 17:58:35 +01:00
twinaphex c98b2e2292 Buildfixes and more static code analysis warning fixes 2019-01-10 22:24:43 +01:00
twinaphex e13a142bae Wrap access to runloop_key_event 2019-01-10 02:49:25 +01:00
twinaphex 90ad541413 Typo fix 2019-01-10 02:35:35 +01:00
twinaphex d3f58bb65c Wrap all access of runloop_shutdown_initiated 2019-01-10 02:35:03 +01:00
orbea 7eead5c59f Fix crashes with '--disable-menu' and the Qt frontend.
When failing to load content in the companion ui when HAVE_MENU is not
defined RetroArch will crash in just about every input and video driver.
Even if several sanity checks are added the dummy core will immediately
exit.

Now it will print that it failed to load the core in the companion ui
and reinit the dummy core to match the behavior with the null menu
driver.
2019-01-09 10:02:32 -08:00
Twinaphex 40997473ed
Merge branch 'master' into orbis2 2019-01-08 20:18:08 +01:00
orbea bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
twinaphex 93346fed6b Buildfix 2019-01-08 17:53:58 +01:00
orbea d37547e6fd menu: Fix quick menu toggle crash with the null menu driver. 2019-01-07 11:42:48 -08:00
Brad Parker 13ee5ccfdf init core info when menu is disabled, remove more menu dependance from Qt 2019-01-06 22:04:23 -05:00
orbea 5428d2a833 Fix warning with '--disable-rgui' and '--disable-easteregg'. (#7908)
Fixes:

retroarch.c: In function ‘runloop_check_state’:
retroarch.c:2593:20: warning: variable ‘seq’ set but not used [-Wunused-but-set-variable]
    static uint64_t seq              = 0;
                    ^~~
2019-01-06 17:21:15 -05:00
twinaphex 2686cf1498 Fix disable-rgui 2019-01-06 17:04:28 +01:00
Twinaphex d1a65f15cc
Merge pull request #7899 from orbea/command
Remove duplicate command.h includes.
2019-01-06 09:15:24 +01:00
Andrés 714631b38d Discord ask-to-join fixes (#7903)
* C89 Fix

* use strlcat instead

* declare i on top

* declare buf on top
2019-01-05 19:16:28 -05:00
Brad Parker bbfbefa9dd easter egg 2019-01-05 18:33:29 -05:00
orbea 2081346358 Remove duplicate command.h includes. 2019-01-05 13:55:07 -08:00
Twinaphex 90baac517d
Merge pull request #7732 from fr500/discord
WIP: Discord ask-to-join
2019-01-05 22:31:21 +01:00
radius ec53480a66 [discord] let's rewrite this to do the same but different 2019-01-05 15:11:58 -05:00
Francisco José García García 433ae4d7fc [ORBIS] Fix for loading content 2019-01-03 21:46:29 +01:00
radius 0b13cba4ea add drmingw's exchndl support 2018-12-30 12:12:55 -05:00
radius 325d85ed4b [discord] nasty hack to register the application with the current runtime args
basically saves the whole argv string to reuse it on game launch

Not working due to:
https://github.com/discordapp/discord-rpc/issues/240
https://github.com/discordapp/discord-rpc/issues/163
2018-12-28 17:16:14 -05:00
Brad Parker d41bb64d17 remove unused code 2018-12-20 09:00:48 -05:00
Brad Parker 458bb9fbb5 add option to toggle menu by holding down start button 2018-12-19 14:53:17 -05:00
radius a7e4d8359b fix fullscreen=>windowed when remember window positions is on 2018-12-11 19:34:12 -05:00
Tatsuya79 d52b38eadc Add FPS counter hotkey. 2018-11-29 13:12:11 +01:00
natinusala 9cad7135a9 libnx: implement focus gain and loss callbacks 2018-11-28 14:11:42 +01:00
twinaphex a25ec048d4 Fix library version string 2018-11-04 15:14:08 +01:00
twinaphex 51430e9e5f Add runloop_get_libretro_system_info 2018-10-30 08:21:32 +01:00
twinaphex 6c51c4458b Cleanups 2018-10-29 07:38:26 +01:00
twinaphex 0782c3c820 Cleanups 2018-10-11 03:26:39 +02:00
twinaphex 527228e571 Add L + R Menu toggle 2018-10-01 01:36:53 +02:00
twinaphex 4f2c108088 Add another toggle 2018-10-01 00:21:07 +02:00
twinaphex 519cd84265 Fix hotkeys for streaming toggle/recording toggle 2018-09-27 19:06:39 +02:00
twinaphex 67fdd53263 implement recording/streaming hotkeys 2018-09-27 18:58:41 +02:00
twinaphex 9dde33b5c1 Cleanups 2018-09-27 14:02:11 +02:00
twinaphex fb0c816110 Cleanups 2018-09-26 14:03:29 +02:00
twinaphex 7aea66677b Merge menu_input.c and menu_event.c 2018-09-25 16:46:15 +02:00
radius c07744564a prevent retroachievements cheating exploit
Revert "prevent retroachievements cheating exploit" and reimplement it in a better way

This reverts commit d323338caa4882925d184f5ee7a506bfa8c78c1e.
2018-09-22 11:43:34 -05:00
twinaphex cb8148878c Add hotkeys for 'Toggle Recording' / 'Toggle Streaming' 2018-09-18 08:52:09 +02:00
radius 1c85058e72 [recording] rename bsv recording from movie to input replay 2018-09-15 21:47:23 -05:00
radius 16bd85b118 [recording] refactor recording_is_enabled no need to use a pointer for all of this 2018-09-15 21:09:41 -05:00
radius 49214de125 [record] start whipping some sense into this feature 2018-09-15 17:49:39 -05:00
twinaphex 73e01b64ba Should fix non-HAVE_DISCORD path 2018-09-15 07:17:29 +02:00
radius 4d0729187f [discord] start getting ready for ask-to-join functionality, cleanup some of the mess 2018-09-12 01:45:27 -05:00
twinaphex df059c585f Implement RETRO_ENVIRONMENT_GET_FASTFORWARDING 2018-09-08 02:19:05 +02:00
Brad Parker b1dde87ce5 add --max-frames-ss and --max-frames-ss-path parameters for taking a screenshot after max_frames is reached 2018-08-18 23:09:40 -04:00
Dwedit f01894ebe4 Attach console before displaying Version information, Help, or Features. 2018-08-18 12:43:49 -05:00
twinaphex f9e8737476 Remove libui - we don't need it anymore now that we have the Qt desktop
UI
2018-08-16 21:34:20 +02:00
twinaphex 2cfae2a6e7 C89 buildfix 2018-08-11 00:15:32 +02:00
Tatsuya79 bd4d462170 VRR runloop Option. 2018-08-05 00:34:10 +02:00
twinaphex 5b9115c848 C89_BUILD fixes 2018-08-01 01:27:30 +02:00
twinaphex 89083fd093 C89 buildfixes 2018-07-28 22:11:56 +02:00
Sven 5f35249216 Implement robust cheat searching interface with rumble features 2018-07-25 19:19:14 -04:00
Dwedit fa00eda625 Relocation of Win32 Message Loop Fix is now tied to whether threaded video is enabled or not
Menu bar is removed if threaded video is enabled, due to code currently being unsafe when using threaded video.
2018-07-13 22:34:03 -05:00
twinaphex abc6eb7d8c Revert "Re-revert this - causes issues with toggling fullscreen with threaded"
This reverts commit 52a55695ce.
2018-07-14 00:22:52 +02:00
twinaphex 52a55695ce Re-revert this - causes issues with toggling fullscreen with threaded
video mode and GL driver
2018-07-14 00:10:21 +02:00
twinaphex 38a35e53fd Revert "Move Message loop call to right before `video_driver_get_status` call"
This reverts commit 838dcc8a5a.
2018-07-14 00:01:25 +02:00
Rob Loach 0f39ef4247
[#6955] Update hexspeak magic pointer code
Fixes #6955
2018-07-06 23:03:15 -04:00
Dwedit 838dcc8a5a Move Message loop call to right before `video_driver_get_status` call 2018-07-05 20:07:01 -05:00
David Walters 70eda90d03 more accurate rarch_timer 2018-06-29 21:12:46 -05:00
Stuart Carnie 411bcf8bdd feat(apple): Metal support for macOS
* includes rgui
* shader support

This is a work-in-progress and there are some bugs and visual artifacts
still to be fixed.
2018-06-20 21:33:45 -07:00
twinaphex 0286829348 Start adding HAVE_MPV ifdefs 2018-06-20 04:29:31 +02:00
Gregor Richards 2c07561fc1 Fix compatibility between netplay and runahead
Unsurprisingly, netplay and runahead are wildly incompatible; both rely
on internal rewinding, without communicating this fact to each other.
Somewhat more surprisingly, netplay already has all the infrastructure
for negative input latency, as it's structurally the same as receiving
delayed input from a peer. This patch makes the two features
"compatible" by disabling runahead per se when netplay is active, and
using runahead's configuration to adjust netplay's own input latency
feature, which is now allowed to be negative. The effect is mostly the
same (modulo the second core support), and it doesn't confuse netplay
peers.
2018-05-30 22:01:02 -04:00
twinaphex ddbc0d53c0 Add Discord Enable option to Settings -> Privacy 2018-05-29 12:41:13 +02:00
twinaphex 1fb57857ea Add discord_is_inited 2018-05-29 11:06:43 +02:00
radius d5c2bc90c1 add discord files 2018-05-28 23:46:36 -05:00
radius f81ea09f20 add saving, deletion options for per-dir remaps 2018-05-13 23:17:44 -05:00
twinaphex 1a55d4309c Fix --disable-cheevos 2018-05-14 01:44:08 +02:00
radius aa86d78183 add quick menu action to pause / resume hardcore mode for current session 2018-05-13 13:40:30 -05:00
radius 1037093d45 cleanup cheevos hardcore conditions 2018-05-13 13:40:30 -05:00
radius 504317ac7e cheevos fixes, reenable menu entries if cheevos are disabled on the fly 2018-05-13 13:40:29 -05:00
Brad Parker a1aefc901c Qt WIMP GUI 2018-04-30 14:33:05 -04:00
meleu e57d0049f3
disable slow motion if cheevos enabled 2018-04-30 12:27:35 -03:00
twinaphex 91fcb49270 (Menu audio) Fix situation where a libretro core is running
in the background and menu audio is playing - we don't want
audio_driver_menu_sample called then
2018-04-29 01:05:04 +02:00
twinaphex b0ef193117 Add 'Enable menu audio' setting 2018-04-29 00:41:53 +02:00
twinaphex 773fc1ebad Create audio_driver_menu_sample 2018-04-29 00:06:54 +02:00
twinaphex ac511120d4 (retroarch.c) Cleanups 2018-04-10 07:19:27 +02:00
twinaphex 7b5a0bf706 Move clear operation outside of keys_pressed functions 2018-04-09 00:31:03 +02:00
twinaphex a82bb0ec94 Create special type input_bits_t 2018-04-08 20:21:12 +02:00
twinaphex c041470bb0 Add HAVE_RUNAHEAD ifdef 2018-03-29 15:38:22 +02:00
twinaphex 4372db491a Cleanup some warnings for C89_BUILD 2018-03-29 15:20:43 +02:00
Dwedit f5e0346fc2 Runahead system 2018-03-28 14:22:07 -05:00
Dwedit 86d24a0fc4 Fix invalid long command line options causing infinite loop on Windows (issue #6477) 2018-03-28 10:08:57 -05:00
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