Commit Graph

50 Commits

Author SHA1 Message Date
GABO1423 baaf8e03fa
(UWP) Another Buildfix (#14501) 2022-10-10 00:06:49 +02:00
LibretroAdmin 6be8dccd46 (UWP) Style nits/cleanups 2022-10-01 15:46:09 +02:00
Bashar Astifan b93599c7e0
UWP OnSuspending and save on quit fix (#14452)
* Update uwp_main.cpp

* Update retroarch.c
2022-10-01 14:28:23 +02:00
LibretroAdmin 5bfe70221c Revert "UWP OnSuspending crash fix (#14372)"
This reverts commit 6226d0442f.
2022-10-01 00:27:22 +02:00
Bashar Astifan 6226d0442f
UWP OnSuspending crash fix (#14372) 2022-09-02 13:26:11 +02:00
GABO1423 bcd921b012
(UWP) Build Fix (#14241) 2022-07-29 07:21:47 +02:00
Sean O'Neil b999eaa4c9
Update uwp_main.cpp (#14239)
Added launch protocol arg 'forceExit' so a frontend can tell an already-running RetroArch UWP instance to quit.
2022-07-28 23:56:55 +02:00
Autechre 4c3a4d66df
Cxx buildfixes (#13803)
* CXX_BUILD buildfixes
* (D3D11) Buildfixes for CXX_BUILD
* (Linux/qb) Disable KMS for Linux when building for C89, headers use inline which is not
available for C89
2022-03-30 17:30:20 +02:00
dbaronica 2febc16e2e
(UWP) - Implemented activation/starting of retroarch using URI activa… (#13563)
* (UWP) - Implemented activation/starting of retroarch using URI activation.

* Removed try-catch blocks, refactored argument parsing, ignore driver reset if content starting directly from arguments

Co-authored-by: Domagoj Baronica <domagoj@morpholineinteractive.com>
2022-02-05 12:46:42 +01:00
tunip3 a28e226ef4
Make resolution switching automatic and fix angle output issues [UWP/XBOX] (#13406)
* force angle to render at 1080p regardless of screensize as the output is 1080p regardless of screensize.
This fixes an issue where at 4k any angle output would be zoomed into a corner

* set resolution based on display resolution (auto 4k)

* set driver to d3d11 if booting with opengl

* reset width and height of output on boot to match display

Co-authored-by: Tunip3 <tunip3@users.noreply.github.com>
2021-12-24 14:34:30 +01:00
tunip3 fb6bf6023a
Move roms copied to localstate to a dedicated dir and clear on start up [XBOX/UWP] (#13392)
* make roms copy to a specific cache dir in the localstate folder when its copied

* auto delete vfs cache dir on start up

Co-authored-by: Tunip3 <tunip3@users.noreply.github.com>
2021-12-22 12:55:33 +01:00
twinaphex a93a2e3366 (MSVC2019 UWP) Buildfix 2021-11-07 05:54:23 +01:00
MajorPainTheCactus 536d18778b
Fixed up HDR for UWP/WinRT builds (#12936)
Fixed D3D11 validation warnings
Fixed up technically incorrect labels

Co-authored-by: Autechre <libretro@gmail.com>
2021-09-04 21:13:24 +02:00
Tunip3 9228a6f8ab disable cpu model check on xbox as it doesn't work and can even crash the app for some users 2021-09-02 18:21:16 +01:00
twinaphex 462137305b Simplify win32_get_metrics 2021-08-21 02:24:32 +02:00
twinaphex eb50d7dbb4 (UWP) Push temporary fixes for issue that happens when resizing on UWP
with latest Xbox Series dashboard; DXGIResizeBuffers passing 0, 0 as
width/height is apparently problematic as it changes 0, 0 to 8,8
instead,
breaking the program
2021-08-20 23:16:01 +02:00
LazyFunker c5e5cf28af Force resolution on UWP 2021-04-20 11:47:32 +02:00
twinaphex a05e16e398 (UWP) uwp_input_next_frame - change function signature so we
can diretly insert this into the input driver's 'poll' function
callback
2020-09-05 07:23:49 +02:00
twinaphex 662e37f670 Replace more instances of string_split 2020-08-26 13:35:05 +02:00
twinaphex fe5307c4ac Use string_split_noalloc instead of string_split 2020-08-26 12:54:51 +02:00
twinaphex 07244d484c (UWP) Buildfix 2020-08-19 03:44:24 +02:00
twinaphex ed52146f8c Cleanups 2020-08-18 15:48:13 +02:00
twinaphex 7c66f0adbc Simplify win32_check_window 2020-07-18 17:09:07 +02:00
twinaphex 0ef1b342e4 settings Cleanups 2020-03-02 20:10:24 +01:00
twinaphex 64c515bac4 Turn while (true) into for (;;) for easier MSVC backwards compatibility 2020-02-01 04:15:22 +01:00
twinaphex 982e35db45 Use strlcat instead of strcat 2020-01-30 22:20:18 +01:00
twinaphex 3e1f56d57f Change function signature of win32_has_focus 2020-01-04 15:49:23 +01:00
twinaphex 91baea201a Change function signature of win32_show_cursor 2020-01-04 15:40:02 +01:00
GH Cao f2a64aa8e7 UWP: Save config on exit 2020-01-03 08:21:58 +08:00
GH Cao 090919490a UWP: Remove uwp_egl_create_surface
Because of 0e2265, this is not doing anything special anymore.
Remove it entirely and use common EGL surface creation instead.
2020-01-03 06:07:05 +08:00
twinaphex 0e22651c48 (UWP) Not setting EGLRenderResolutionScaleProperty fixes DPI scaling issues 2020-01-01 00:21:06 +01:00
twinaphex 3e22d7bbd5 (UWP) Cleanups/build fixes 2019-12-10 06:03:25 +01:00
driver1998 105fadd668 [ANGLE] Add HAVE_ANGLE 2019-12-06 15:43:19 +08:00
driver1998 bfe167fae8 [UWP] Add ANGLE context 2019-12-06 13:24:18 +08:00
driver1998 bb6f13a725 [UWP] Fix keyboard input hang 2019-12-05 17:15:02 +08:00
driver1998 004d782323 [UWP] Mouse fix on high DPI, multi touch support 2019-12-05 16:32:38 +08:00
driver1998 83cb526153 [UWP] Add get_user_language and get_cpu_model_name 2019-12-05 16:32:38 +08:00
twinaphex ca3a80091a Cleanup runloop_iterate
NOTE/CHECK: Hopefully wiiu is unaffected by the change
in sleeping
2019-08-11 19:39:48 +02:00
orbea e13ec54dc6 Fix --disable-overlay. 2019-07-21 10:26:42 -07:00
OsirizX ba69056361
UWP: CoreWindow NULL check
We need to make sure CoreWindow isn't NULL before checking key states otherwise access violation will occur and cause the app to crash. This commit fixes running Dolphin core in particular and tested on both desktop UWP and Xbox One.
2019-06-29 00:21:59 -07:00
twinaphex d1a831e6ec (UWP) Buildfix 2019-02-11 23:15:11 +01:00
krzys-h 9188cc1a73 (UWP) Add broadFileSystemAccess support 2019-01-17 11:08:02 +01:00
krzys-h 48d82929ff (UWP) Add support for loading cores from optional packages 2019-01-01 16:21:47 +01:00
twinaphex 556bcc18e4 Find different ifdef for Windows Phone 2019-01-01 03:57:37 +01:00
twinaphex 99e5791ae4 Style nits 2018-12-31 04:40:10 +01:00
twinaphex 44ebcbd044 Some buildfixes for MSVC 2012 2018-12-31 04:34:55 +01:00
twinaphex c6ba5d9ebc (UWP) Start adding some Windows Phone 8.1 ifdefs 2018-12-31 01:38:45 +01:00
twinaphex 65cc022c31 Update uwp_main.cpp 2018-12-29 03:20:50 +01:00
krzys-h f6c8a0c5c2 Add UWP input driver
Keyboard, mouse and touch support: done
2018-12-28 22:09:30 +01:00
krzys-h b201d669b5 First iteration of UWP support
Enough to kind of run

Working drivers: xinput, d3d11
Still missing: input driver with keyboard support, audio driver
2018-12-28 22:09:22 +01:00