Commit Graph

2247 Commits

Author SHA1 Message Date
twinaphex 8a5ae0b6cf Turn wifi_driver_ctl into a static function 2019-06-18 22:14:34 +02:00
twinaphex de9f7e521b Make this function static 2019-06-18 22:01:11 +02:00
twinaphex df8d7bb5aa runloop_msg_queue now local to retroarch.c - remove
functions runloop_msg_queue_lock and runloop_msg_queue_unlock,
turn them into macros instead and only use them inside retroarch.c
2019-06-18 21:33:01 +02:00
twinaphex 10b28e5d60 runloop_msg_queue_{lock|unlock} are only referenced from retroarch.c now 2019-06-18 21:24:42 +02:00
LazyBumHorse c20c67bd3a proper shader compatibility checks
- move shader flags from the video drivers to the context drivers
 - rework config_load_shader_preset() from configuration.c into retroarch_load_shader_preset() in retroarch.c with proper compatibility check
 - implicitly call retroarch_load_shader_preset() in retroarch_get_shader_preset() once per core/content life cycle
 - use video_shader_is_supported() instead of video_driver_test_all_flags() where appropriate
 - remove GFX_CTX_FLAGS_NONE because it is meaningless
2019-06-18 13:46:41 +02:00
LazyBumHorse 692dc9f6a9 refactor shader checks affected by last commit and more:
- gl.c: refactor backend fallback into more general gl2_get_fallback_shader_type
 - d3d9-12, gl_core, gx2_gfx, gl, vulkan: more consistent shader init and `set_shader` behavior
 - configuration.c: remove check_shader_compatibility
 - shader_glsl.c, shader_gl_cg.c: use `video_shader_get_type_from_ext`
 - shader_gl_cg.c: add shader type check with fallback to stock like in shader_glsl.c
 - menu_shader.c: use `enum rarch_shader_type` instead of `unsigned`
 - video_shader_parse.c: add `video_shader_to_str` for easier logging
 - remove `type` from `struct video_shader`, which was always set to CG and wrongly used in lang_process.cpp's `slang_process()` (has no further consequences because the code is unused)
2019-06-18 13:44:19 +02:00
LazyBumHorse 42e35c825f refactor some video_shader_parse functions
- video_shader_parse_type()'s fallback only worked for NULL paths and was wrongly used, now returns RARCH_SHADER_NONE like video_shader_get_type_from_ext().
 - video_shader_get_type_from_ext() should not be checking video driver flags, this is instead done by video_shader_is_supported()
 - video_driver_get_all_flags() did not actually 'get' flags, changed to video_driver_test_all_flags()

workaround for crash due to glcore not always using at least OpenGL 3.2
2019-06-18 13:12:56 +02:00
Twinaphex da1d03bcb0
Update retroarch.c 2019-06-18 02:34:14 +02:00
twinaphex b08328897a Cleanup 2019-06-18 01:05:29 +02:00
twinaphex fd17e04bb1 Merg input_remote into retroarch.c 2019-06-18 01:03:33 +02:00
twinaphex c827e1b67f Turn into static function 2019-06-17 21:05:39 +02:00
twinaphex e011a07901 Cleanup 2019-06-17 20:16:12 +02:00
twinaphex ee37dd1953 Cleanup 2019-06-17 20:10:48 +02:00
twinaphex 7bbd927946 Merge wifi_driver.c and retroarch.c 2019-06-17 19:28:28 +02:00
twinaphex f90665526a Cleanups 2019-06-17 19:17:02 +02:00
twinaphex 491283cea1 UI Companion drivre and MIDI driver integrated into retroarch.c too 2019-06-17 19:15:35 +02:00
twinaphex b9c33713b4 Merge input_driver.c with retroarch.c 2019-06-17 18:59:56 +02:00
twinaphex 79cadc9eaf Move configuration global state to retroarch.c 2019-06-17 16:58:43 +02:00
twinaphex f061941456 Integrate record_driver.c into retroarch.c 2019-06-17 16:23:46 +02:00
twinaphex ee2745d1bd Don't directly call global_get_ptr from inside retroarch.c 2019-06-17 15:37:34 +02:00
Twinaphex 2d6e56d049 Remove some unused variables 2019-06-17 15:30:31 +02:00
twinaphex ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
twinaphex 61879bc8e0 audio_driver_dsp_filter_init - cleanup 2019-06-17 13:06:56 +02:00
twinaphex 127bf556c7 Merge audio_driver.c into retroarch.c 2019-06-17 12:49:21 +02:00
twinaphex eedc6a6092 Integrate location_driver.c into retroarch.c, get rid of
location_driver_ctl
2019-06-17 11:57:46 +02:00
twinaphex 66022c1b13 Get rid of camera_driver_ctl and bsv_movie_ctl 2019-06-17 11:38:28 +02:00
twinaphex c87344dca8 Cleanup camera_driver_ctl 2019-06-17 11:29:05 +02:00
twinaphex 3581786708 Merge camera_driver.c with retroarch.c 2019-06-17 11:18:27 +02:00
twinaphex f88e6c75d5 Cleanup 2019-06-17 10:14:41 +02:00
twinaphex ce51cf6b33 Simplify BSV code 2019-06-17 02:23:06 +02:00
twinaphex 184dc79011 Cleanups 2019-06-16 20:04:43 +02:00
twinaphex 5b6ba1acf9 Cleanups 2019-06-16 17:05:06 +02:00
twinaphex db87e050d5 Merge movie.c into retroarch.c 2019-06-16 16:52:48 +02:00
twinaphex e4b01642b9 Reimplement fullscreen toggle key 2019-06-16 16:20:43 +02:00
twinaphex 6581f4d968 Move some variables around 2019-06-16 16:06:37 +02:00
twinaphex 33d4d8b7c9 Update libretro-common 2019-06-14 13:13:49 +02:00
twinaphex 99240fe7c1 Cleanups 2019-06-14 05:08:04 +02:00
twinaphex fa55047e2e (config.features.h) Turn static const variables into macros 2019-06-13 22:34:24 +02:00
twinaphex 17cbd134d5 Reimplement take screenshot 2019-06-13 09:30:07 +02:00
twinaphex 53c91d6e56 More runloop cleanups - create HOTKEY_CHECK3 2019-06-09 08:48:59 +02:00
twinaphex 640fb3a5cb command.c / retroarch.c cleanups 2019-06-09 08:35:16 +02:00
twinaphex dc6de293ef (runloop) Cleanups 2019-06-09 06:34:01 +02:00
twinaphex 5d301f321d Refactor hotkey checks 2019-06-08 15:19:15 +02:00
twinaphex 548e1380d7 Cleanup - use HOTKEY_CHECK 2019-06-08 05:19:50 +02:00
twinaphex bb828b7396 (retroarch.c) Create HOTKEY_CHECK 2019-06-08 05:17:14 +02:00
twinaphex 8bb74d0776 Added new hotkey AI Service and added requested
variables for OCR
2019-06-06 03:41:40 +02:00
Brad Parker 2e9df1be11 typo 2019-06-02 20:25:11 -04:00
twinaphex 5a4294359a (config.def.h) Turn const variables into macros 2019-06-02 17:19:58 +02:00
twinaphex aee137eb7b (retroarch.c) Cleanups 2019-05-31 16:41:17 +02:00
twinaphex 90fab37a86 Get rid of RUNLOOP_STATE_SLEEP and reuse existing state 2019-05-31 16:38:17 +02:00
twinaphex 6048fd564d (retroarch.c) Simplify some code 2019-05-31 15:29:52 +02:00
twinaphex 9df5b731f5 Fix mistake 2019-05-31 09:06:48 +02:00
twinaphex 281630bd4f (retroarch.c) Cleanups 2019-05-31 07:02:44 +02:00
meleu 694bac565f do not use old cheevos implementation 2019-05-29 14:26:22 -03:00
natinusala 4e74e52518 menu widgets: fix rounding error with timings 2019-05-27 09:59:41 +02:00
twinaphex f88ec1e54e (MSVC 2003) Fixup MSVC 2003 solutions; fixup targets that don't have
HAVE_NETPLAY defined
2019-05-27 04:04:27 +02:00
radius 370b9681b8 fix netplay paused spam 2019-05-26 22:39:46 +02:00
twinaphex 020b714113 Refactor task_screenshot.c 2019-05-22 05:54:35 +02:00
twinaphex f117d763d6 Create path_stat and use it 2019-05-22 02:21:30 +02:00
twinaphex d2d4e11169 Fix mistake 2019-05-21 05:43:49 +02:00
twinaphex b86a9db553 Fix this 2019-05-21 05:37:21 +02:00
twinaphex 154319ba3d Only copy these launch arguments on the first run - by fr500 2019-05-21 05:36:04 +02:00
radius eef4ada025 fix #8725 again including:
- allow savestates on hardcore
- fix weird conditions happening due to having two implementations
- fix popup saying state was loaded when starting a game with achievements hardcore after a game with no achievements
- fix rewind not working when loading games with no achievements after loading games with achievements hardcore
2019-05-21 03:32:49 +02:00
twinaphex f17655f073 Revert "attempt to fix issue described in #8725"
This reverts commit 90b0afdaa7.
2019-05-21 03:32:18 +02:00
twinaphex 90b0afdaa7 attempt to fix issue described in #8725 2019-05-21 03:10:06 +02:00
radius f393898825 cheevos, fix issue described in https://github.com/libretro/RetroArch/issues/8725#issuecomment-493130218 2019-05-19 00:37:48 +02:00
jdgleaver 23ca792966 Re-enable '--log-file' command line option 2019-05-17 17:19:13 +01:00
twinaphex 62f3046f0f (localtime) Cleanups 2019-05-12 04:43:57 +02:00
plaidman b7929b4ac7 check if lang code is null before processing 2019-05-11 13:45:23 -04:00
twinaphex 5a9c0da282 Rename config_init to rarch_config_init to avoid collision
with cores that might use this symbol name
2019-05-09 06:57:18 +02:00
Twinaphex 786a5bd9a8
Merge pull request #8693 from meleu/patch-5
add "Use Old Implementation" in the Achievements menu
2019-05-05 01:19:01 +02:00
meleu 22a956f663 replace 'cheevos_rcheevos_enable' by 'cheevos_old_enable' 2019-05-04 12:52:49 -03:00
natinusala 03e3e3f520 menu_widgets: notifications duration is now framerate independent 2019-05-04 16:36:40 +02:00
natinusala 636f2ddb28 menu_widgets: implement the user setting 2019-05-03 21:25:20 +02:00
twinaphex 4c3e0d44b8 Revert "Start using string_is_equal_memcmp and"
This reverts commit 26d6aee1eb.
2019-04-29 04:04:33 +02:00
twinaphex 26d6aee1eb Start using string_is_equal_memcmp and
string_is_equal_memcmp_fast
2019-04-28 17:23:11 +02:00
twinaphex 415646111b (Settings) Libretro log level should be available again
(Logging) SET_SUBSYSTEM_INFO and GET_VARIABLE should only
do verbose logging if libretro logging level is set to DEBUG
2019-04-28 01:55:49 +02:00
twinaphex b5a7020366 Cleanups 2019-04-23 21:15:15 +02:00
twinaphex f8881f7cbe Cleanup retroarch_validate_game_options 2019-04-23 21:06:12 +02:00
twinaphex 64ee26baae More cleanups/refactors 2019-04-22 04:41:16 +02:00
twinaphex 9bd38b7011 Small style nits/cleanups 2019-04-22 04:25:43 +02:00
twinaphex 31fc95a6cf Style nits 2019-04-22 03:08:30 +02:00
twinaphex 33e5a92867 We should be able to rely on the return value of path_mkdir
instead of doing an additional negative path_is_directory check
afterwards
2019-04-22 02:33:12 +02:00
twinaphex d281e3f889 (retroarch.c) Cleanups 2019-04-21 23:42:21 +02:00
twinaphex 7372bafb44 Remove RARCH_CTL_SET_LIBRETRO_PATH 2019-04-21 06:03:02 +02:00
twinaphex 5771a7a71d Simplify some code 2019-04-21 05:24:06 +02:00
orbea 4bd3a54fbb Fix some CXX_BUILD errors. 2019-04-20 07:08:22 -07:00
meleu c2364096f3
Merge branch 'master' into runtime_rcheevos_switch 2019-04-19 21:50:00 -03:00
Brad Parker ffb07f3076 win32: set default language to OS preferred language on first start 2019-04-16 00:42:29 -04:00
Brad Parker aa588dec35 set default language on first startup according to OS setting (initial *nix implementation) 2019-04-15 23:14:49 -04:00
Twinaphex 2bab38e857
Merge pull request #8306 from CozmoP/options
WIP/PoC Qt: settings PoC
2019-04-14 05:44:02 +02:00
twinaphex 3199edcde2 (MSVC 2005) Buildfix 2019-04-08 20:48:47 +02:00
Twinaphex d6dfa240c8 Some cleanups 2019-04-08 19:36:44 +02:00
natinusala f036ce442e menu widgets: reimplement slowmotion 2019-04-08 17:06:05 +02:00
natinusala 7a7f444e55 menu widgets: reimplement fast forward widget 2019-04-08 17:06:05 +02:00
natinusala 5667c73ebf menu widgets: reimplement rewind widget 2019-04-08 17:06:04 +02:00
jdgleaver 9fff07e589 (Menu Widgets) Fix text alignment issues with Vulkan and D3D video drivers 2019-04-08 13:35:35 +01:00
twinaphex 41eab46111 (C89) Buildfixes 2019-03-29 12:39:03 +01:00
jdgleaver 4086826e92 Log to file: ensure log directory is always created 2019-03-28 11:27:26 +00:00
CozmoP bd6fedc0f2 Qt: WIP settings dialog 2019-03-27 02:37:34 +01:00
jdgleaver 2c65068be0 More 'Log to File' Additions:
- Add optional timestamped log files

- Handle errors if log file cannot be opened

- Android: flush log file immediately

- 3DS: log to file tested and fully working

- Default log paths added for all platforms
2019-03-25 17:22:59 +00:00
Twinaphex 123cd67a6a
Merge pull request #8486 from huwpascoe/rxml
Re-enable RXML and purge libxml
2019-03-23 03:25:32 +01:00
jdgleaver 93506a0d18 Log to file improvements 2019-03-21 16:57:54 +00:00
meleu a5acd559d6 namespace both cheevos implementations & add a runtime setting to allow debugging 2019-03-19 21:13:10 -03:00
radius 8fd0aedc56 add log to file settings 2019-03-17 14:28:17 -05:00
Huw Pascoe 45069537fb Re-enable RXML and purge libxml
Fixed rxml to work with griffin.c
2019-03-17 03:04:35 +00:00
twinaphex 3691f4fabf Fix CXX_BUILD errors 2019-03-13 17:00:52 +01:00
twinaphex 6ba6f9e3ec (D3D9) Some buildfixes for C89 2019-03-11 17:07:49 +01:00
twinaphex 3ddbb0bc4a Add HAVE_NETWORKING ifdefs 2019-03-11 16:59:17 +01:00
Brad Parker 19ced73596 add hotkey to toggle netplay hosting 2019-03-09 17:48:03 -05:00
Brad Parker 4bb81bbb1b add F10 hotkey to send debug info, fix F3 hotkey for FPS toggle when inside menu 2019-03-09 16:03:17 -05:00
Brad Parker 99035dbb0a debuginfo: show firmware files that exist 2019-03-09 12:57:26 -05:00
Brad Parker 9279d06f93 Merge branch 'master' into send_debug 2019-03-07 19:23:41 -05:00
Brad Parker 10df615d14 add "Send Debug Info" option under Help 2019-03-07 19:17:54 -05:00
jdgleaver 2c8d7bf5ed Add optional 'aggregate' runtime logging 2019-03-07 12:28:21 +00:00
jdgleaver 7fd71c735f Runtime logging: Fix logging redirection bug when loading consecutive content 2019-03-06 12:24:35 +00:00
jdgleaver cfbec687e5 Make runtime independent of fast forward/slow motion 2019-03-04 15:30:12 +00:00
jdgleaver 8e74ff6122 Runtime logging fixes: ensure log is generated when runahead is enabled, and when closing cores 'internally' (RETRO_ENVIRONMENT_SHUTDOWN) 2019-03-04 11:33:19 +00:00
retro-wertz dcd76a0d2d [LOG] Fix alignment 2019-03-03 06:36:53 +08:00
jdgleaver 33c27606d3 Finalise integration of per-content runtime logs (runtime sublabels on all playlists, 'last played' timestamp added to playlist sublablels,
content_runtime.lpl retired)
2019-03-01 14:06:40 +00:00
twinaphex 5cce51ed8d Move runtime_file to RetroArch 2019-03-01 01:22:35 +01:00
Twinaphex 16b30d9ae8
Merge pull request #8377 from jdgleaver/persistent-runtime-log
Add persistent content runtime logging
2019-02-28 21:59:59 +01:00
twinaphex abdbeade7b Expand some comments 2019-02-28 21:54:46 +01:00
jdgleaver 38c54eaebe Add persistent content runtime logging 2019-02-27 16:20:59 +00:00
twinaphex ebae7ebc79 Input driver - Get rid of 'own driver' mechanism 2019-02-27 17:17:34 +01:00
twinaphex 829aedc6e2 (Video/Audio) Remove 'own driver' mechanism 2019-02-27 17:09:15 +01:00
twinaphex 712115ef9d (Wifi/Location/Camera) Get rid of 'own driver' mechanism 2019-02-27 17:02:33 +01:00
twinaphex e709fd1ac6 Merge driver.c and retroarch.c 2019-02-27 16:47:39 +01:00
twinaphex d1dbf6fbe1 * The menu is now able to run at higher refresh rates than 60Hz
* Also added a new environment callback that a core can use to
query the display refresh rate
2019-02-27 04:44:04 +01:00
natinusala 6b6f9ae678 menu: add press quit twice setting 2019-02-25 19:51:39 +01:00
Brad Parker e22148fed4 show cpu model name in log, implemented for x86/64 on windows/linux so far 2019-02-23 16:50:42 -05:00
Brad Parker 97b7512420 restore initial screen orientation on exit for x11/win32 2019-02-23 14:15:36 -05:00
natinusala 42325ea368 Reintroduce menu widgets, implement new runloop_msg_queue 2019-02-21 20:58:22 +01:00
jdgleaver 1d0cee5fe5 Only parse runtime playlist when loading content history playlist (+ bugfixes to original runtime logging) 2019-02-21 15:50:48 +00:00
jdgleaver 0b04312412 Add optional playlist sublabels (associated core + play time, where available) 2019-02-21 15:50:48 +00:00
natinusala f481c594e8 menu_animation: use milliseconds as a unit 2019-02-14 19:24:31 +01:00
Twinaphex 2ccc6534ee
Merge pull request #8259 from bparker06/playtime_log
Add option to track how long content has been running over time
2019-02-12 15:06:57 +01:00
Brad Parker 44c4be1863 add option to track how long content has been running over time 2019-02-12 00:32:01 -05:00
twinaphex d70d9d35f8 (record_driver.c) Simplifications 2019-02-12 06:04:52 +01:00
twinaphex a51acb8377 Buildfix 2019-02-12 04:03:10 +01:00
twinaphex ab182cbe20 Create optimized function - menu_animation_get_time 2019-02-09 00:18:27 +01:00
natinusala f3ff7f2a89 menu_animations: make animations menu independent 2019-02-08 20:02:45 +01:00
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
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