2243 Commits

Author SHA1 Message Date
Twinaphex
ddd9fbf6ae
Merge pull request #9734 from Aethyrion/rotation_fixing
Rotation fixing
2019-11-17 22:53:12 +01:00
twinaphex
934697b0da Buildfix for no menu 2019-11-17 22:42:15 +01:00
twinaphex
cbe68cbf88 Turn the find_handle/find_ident functions static 2019-11-17 22:31:57 +01:00
twinaphex
f9bc57bcf8 Merge list_special.c into retroarch.c 2019-11-17 21:07:56 +01:00
twinaphex
8c799f978b Merge paths.c - this is one of the last file we merge - not long after this
we can start splitting up retroarch.c into several files
2019-11-17 21:00:15 +01:00
Rémi
154c2d388d Fix CI compilation issues 2019-11-17 20:18:42 +01:00
Nikos Chantziaras
e8c027cbc3
Do not reinit video driver on SET_SYSTEM_AV_INFO unless needed
Video reinit causes the core to freeze momentarily, freezing audio and
flashing the window. Cores like dosbox-svn need to change fps quite often
(some DOS games even change fps mid-gameplay) and the video reinit becomes
very annoying.

Change this to not reinit the video driver unless CRT SwitchRes is enabled
or a max width/height change was requested.
2019-11-17 20:29:42 +02:00
Rémi
1c9d0dbf48 Refactoring (still trying to fix CI compilation issue) 2019-11-17 18:03:57 +01:00
Jamiras
939770929f hardcore mode is not dependent on having achievement data 2019-11-17 09:36:39 -07:00
Twinaphex
b6aa9f2fd1
Revert "Refactor RetroArch input polling settings" 2019-11-17 16:45:40 +01:00
Rémi
f804e0738f Fix Integer Scaling when rotating 2019-11-17 13:52:28 +01:00
Rémi
a28e57e42d Fixing Integer Scaling for Custom Viewport (when rotating) 2019-11-17 13:21:50 +01:00
Rémi
7088281b52 Fixing 1:1 PAR for 270 degree rotation 2019-11-16 23:18:56 +01:00
Rémi
ba183cf7a6 Refactoring (get_rotation) 2019-11-16 23:03:15 +01:00
Rémi
9df755bdb4 Fixing 1:1 PAR aspect ratio when video rotated 2019-11-16 22:13:12 +01:00
Twinaphex
0d284c42bc
Merge pull request #9714 from rz5/master
Refactor RetroArch input polling settings
2019-11-15 17:18:30 +01:00
jdgleaver
7eefec6945 (GLUI) Navigation improvements 2019-11-15 14:53:00 +00:00
rz5
82898ea194 Cast arg to rarch_set_in_put from what it is to enum rarch_poll_type.
Might fix building under clang 6.0
2019-11-15 00:47:46 +00:00
Rinnegatamante
d7572399cc [VITA] Make (for now) vita2d renderer the default one. 2019-11-13 09:05:57 +01:00
rz5
2678789bd8 Refactor RetroArch input polling settings
* Refactored the way RetroArch sets the input state/poll callbacks, hopefully it's clearer now.

* The unnamed enum of poll type behaviors in core.h was moved to retroarch.h and is now named rarch_poll_type.
It represents polling behaviors implemented specifically by RetroArch.
First element starts at 1 to match the data encoding of RETRO_ENVIRONMENT_POLL_TYPE_OVERRIDE.

* Created rarch_set_input_cbs - sets different input state/poll callbacks based on a
rarch_poll_type parameter.

* Replaced the static variable core_poll_type_override in retroarch.c with a poll_type_lock flag
inside global_t's menu struct;
RETRO_ENVIRONMENT_POLL_TYPE_OVERRIDE will now call rarch_set_input_cbs and set poll_type_lock,
which blocks the user from changing behaviors from the menu.

* To follow the RETRO_ENVIRONMENT_POLL_TYPE_OVERRIDE spec, we now set poll_type_lock and call
rarch_set_input_cbs after calling unload_game.

* core_set/unset_netplay_callbacks will now set/unset poll_type_lock, preventing the
poll type from being changed by the user;

* The MENU_ENUM_LABEL_INPUT_POLL_TYPE_BEHAVIOR action will now call rarch_set_input_cbs if poll_type_lock
isn't set, which means poll type is changed on-the-fly.
2019-11-13 00:11:05 +00:00
Rinnegatamante
f3ca57e6f0 [VITA] Add vita video driver context. 2019-11-12 16:33:36 +01:00
twinaphex
455982da91 Silence warning 2019-11-09 18:01:13 +01:00
twinaphex
0c83d2a7cf (Libnx) RETRO_ENVIRONMENT_SET_HW_SHARED_CONTEXT - return false for libnx 2019-11-09 17:29:49 +01:00
twinaphex
dbd1e70410 RETRO_ENVIRONMENT_SET_HW_SHARED_CONTEXT - turn this off for now
for Switch
2019-11-09 17:16:29 +01:00
Barry Rowe
a247ee14cd Added fix for ai service overlay still showing when opening the menu. 2019-11-06 09:52:26 -08:00
jdgleaver
6afd684ae5 (GLUI) Halt scrolling when pointer is pressed/stationary 2019-11-05 12:23:09 +00:00
Barry Rowe
d641e67876 AI Service overlay. 2019-10-28 16:48:05 -07:00
rz5
a723a833a8 (video_driver_frame) Cache frame before converting 0RGB1555 (#9629)
* (video_driver_frame) Don't convert 0RGB1555 when menu is active

Fixes the color cycling that happens when the menu is up and the core's internal pixel format is 0RGB1555.

This happened because video_driver_scaler would keep converting from 0RGB1555 to RGB565, even when the core was paused.

* Update retroarch.c

* Update retroarch.c
2019-10-25 02:15:07 +02:00
Rinnegatamante
24c798f550 Implement the driver switch enable setting. 2019-10-18 23:39:13 +02:00
Rinnegatamante
3cfde6cc45 Re-initializing menu display driver even when widgets are not supported. 2019-10-18 19:58:37 +02:00
jdgleaver
37d12c3859 (GLUI) Menu improvements (Round 2) 2019-10-18 17:56:43 +01:00
Rinnegatamante
011078f991 Fix for cached driver not restoring back to old one with vulkan override. 2019-10-16 14:31:56 +02:00
Twinaphex
4ac264b1d0
Merge pull request #9591 from Rinnegatamante/videodrivers2
Graceful switching between videodrivers #2.
2019-10-15 22:49:17 +02:00
Rinnegatamante
4d9fb951df Make code C90 compliant. 2019-10-15 19:31:27 +02:00
orbea
14308e0b98 Remove redundant conditionals.
HAVE_NETWORK_CMD should never be true when HAVE_NETWORKING is
false.
2019-10-15 08:15:37 -07:00
orbea
70fd455b13 qb: Fix --disable-networking.
Fixes https://github.com/libretro/RetroArch/issues/9580.
2019-10-15 07:37:24 -07:00
Rinnegatamante
839747f420 Added RETRO_ENVIRONMENT_GET_PREFERRED_HW_RENDER. 2019-10-15 14:53:10 +02:00
Twinaphex
92272fe01e
Merge pull request #9556 from ToKe79/lakka_wifi_ap
[Lakka] Wi-Fi Access Point in RetroArch Settings
2019-10-12 14:52:12 +02:00
Twinaphex
5340387164
Merge pull request #9584 from jdgleaver/menu-scaling
(GLUI) Menu scaling improvements
2019-10-12 14:46:36 +02:00
Twinaphex
7bed40d17b
Merge pull request #9547 from Rinnegatamante/videodrivers
Graceful switch between video drivers.
2019-10-12 14:21:33 +02:00
Rinnegatamante
ff726d212c Fix for video driver config overwrite when video driver was forced by core on exit. 2019-10-11 15:15:18 +02:00
Joe Osborn
ef0eba5c5f
Fix BSV recording/playback
Inputs are 16-bit numbers, but the file writing routines were called with just one byte lengths.  This change fixes BSV recording and playback for me.
2019-10-11 07:37:58 -04:00
Rinnegatamante
77d185ba8b Fix video submenu not updating when a driver swap happens.
Thanks to jdgleaver for this.
2019-10-11 13:05:32 +02:00
jdgleaver
e47e055508 (GLUI) Menu scaling improvements 2019-10-10 10:01:46 +01:00
Barry Rowe
778571e3d0 Added in fix for bmp returns to ai service. Added in label passing to
ai service call.
2019-10-09 12:41:31 -07:00
natinusala
e394b439a8 osd: fix fast forward indicator 2019-10-08 10:42:13 +02:00
Rob Loach
c41e2218f7
Fix minus character 2019-10-07 22:16:50 -04:00
Rob Loach
f7dba5d331
Fix window title missing space 2019-10-07 22:15:07 -04:00
twinaphex
0da68dacf5 Silence unused variable warning 2019-10-05 19:01:05 +02:00
twinaphex
7e9e330e99 Add another HAVE_AUDIOMIXER ifdef - use string_is_equal instead
of strcmp
2019-10-05 18:50:28 +02:00