2207 Commits

Author SHA1 Message Date
Nikos Chantziaras
376598a6e0
Fix null pointer deref 2019-11-20 00:41:38 +02:00
twinaphex
ed8e440b0d Revert "Move update_window_title to main thread - this should resolve some"
This reverts commit 442608981d2ca529ce89a6df921520e9e9d534c8.
2019-11-19 22:48:35 +01:00
twinaphex
442608981d Move update_window_title to main thread - this should resolve some
concurrency issues on OSX as well
2019-11-19 22:13:51 +01:00
Twinaphex
53b7fb2ba2 Remove unused variables 2019-11-19 06:08:54 +01:00
Nikos Chantziaras
33ab147514
Don't omit AR changes when not reinitting video in SET_SYSTEM_AV_INFO 2019-11-19 04:37:03 +02:00
twinaphex
a68e9b5014 Start passing global struct to configuration.c functions 2019-11-18 07:32:01 +01:00
twinaphex
48cca00d91 Revert "(retroarch.c) Cleanups"
This reverts commit db9a067e644229036ed70c8f78e8726b77037f14.
2019-11-18 06:43:30 +01:00
twinaphex
9555f70440 Cleanup some RARCH_CTL_ actions 2019-11-18 06:32:23 +01:00
twinaphex
db9a067e64 (retroarch.c) Cleanups 2019-11-18 06:20:47 +01:00
twinaphex
0aa9bd9c22 (retroarch.c) Cleanups - start getting rid of driver_find_ident
functions
2019-11-18 06:06:59 +01:00
Twinaphex
2a72d90e8a
Merge pull request #9715 from realnc/no-video-reinit
Do not reinit video driver on SET_SYSTEM_AV_INFO unless needed
2019-11-18 00:41:30 +01:00
Twinaphex
9c0028c1d1
Merge pull request #9739 from Jamiras/cheevos_init_load_state
(cheevos) prevent loading state while achievements are still being fetched from server
2019-11-17 23:16:21 +01:00
Twinaphex
53d18cf95e
Merge pull request #9713 from Rinnegatamante/vitagl
Added gl1 video driver support to Vita build
2019-11-17 23:14:29 +01:00
twinaphex
63e437d58f Rename get_rotation to retroarch_get_rotation 2019-11-17 22:58:52 +01:00
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