79 Commits

Author SHA1 Message Date
libretroadmin
daa4c19d18 Style nits/minor cleanups 2022-12-05 14:24:49 +01:00
LibretroAdmin
18639cca6e (Win32) Create g_win32_flags - reduce amount of global booleans kept
around for state
2022-10-26 17:31:42 +02:00
LibretroAdmin
83c1e502ba (display servers) Use flags instead of bools 2022-10-07 02:40:19 +02:00
libretroadmin
0e85113eb3 (libretro-common) Style nits/cleanups 2022-07-10 18:13:49 +02:00
libretroadmin
e53a623f4a (dispserv_win32.c) General cleanups 2022-07-08 21:45:04 +02:00
libretroadmin
b023001d29 (Win32/taskbar) Backport m4xw commit - Release ITaskbarList3 on failed HrInit
The pointer wasn't NULL'd, thus set_window_progress would cause weird behavior
2022-07-07 17:58:48 +02:00
libretroadmin
49bf60cc90 (Win32) Cleanups 2022-05-17 13:21:56 +02:00
twinaphex
4d112da58d Silence some MSVC code analysis warnings 2022-03-07 19:02:46 +01:00
Autechre
cfcd0a7a0d
Merge pull request #12795 from sonninnos/video-rate-switch
Automatic PAL/NTSC refresh rate switch where available
2021-09-12 16:15:04 +02:00
sonninnos
22de07a662 MSVC buildfix 2021-08-24 22:28:13 +03:00
sonninnos
d5b1c3092f Screen Resolution list sanitizing 2021-08-24 20:01:19 +03:00
sonninnos
b8188baeaf Automatic refresh rate switch where available 2021-08-21 01:15:41 +03:00
sonninnos
f1c276b751 (WIN32) Remember original refresh rate 2021-08-12 19:15:55 +03:00
twinaphex
e292340ef4 (dispserv_win32.c) Fix unused variable warning 2021-03-16 13:33:24 +01:00
twinaphex
f1f66597a3 Cleanups 2020-09-20 17:57:44 +02:00
twinaphex
8eeb612493 Cleanups 2020-09-20 17:50:06 +02:00
twinaphex
ff8463ef86 Cleanup 2020-08-04 03:23:48 +02:00
twinaphex
8eb7c1d226 (Win32) Another buildfix for CRT changes 2020-07-29 04:36:29 +02:00
alphanu1
7e39a4a25c Update dispserv_win32.c 2020-07-28 22:41:56 +01:00
twinaphex
6088c3b301 (win32 display server) Turn function static 2020-07-07 00:06:46 +02:00
Hugo Hromic
2e57a690ce (Win32/DispServer) Improve video resolution switching
* Only switch to a display mode with the same current bit-depth and screen rotation
* Only switch to a display mode with default stretching mode
* Cleanup the function for consistency with other functions
2020-06-21 23:49:26 +01:00
Hugo Hromic
9ec3a5ccad (Win32/DispServer) Improve building of video resolution list
* Only use display modes with the same current bit-depth and screen rotation
* Only use display modes with default stretching mode
* Cleanup the function for consistency with other functions
2020-06-21 23:49:11 +01:00
twinaphex
3a057d594b MSVC2003 buildfix 2020-05-24 00:05:14 +02:00
twinaphex
84369cf6ba (Win32) Cleanups 2020-05-12 08:49:41 +02:00
twinaphex
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
twinaphex
0b426b2022 This should hide the CRT SwitchRes option on systems
where it's not supported
2019-05-05 16:33:25 +02:00
Brad Parker
97b7512420 restore initial screen orientation on exit for x11/win32 2019-02-23 14:15:36 -05:00
Brad Parker
4f0d61a2ac update copyright 2019-02-22 19:13:36 -05:00
Brad Parker
99f4203abf win32: implement screen orientation support 2019-02-21 14:37:24 -05:00
Brad Parker
f5f492845f add setting for screen orientation, with initial android implementation 2019-02-21 00:31:55 -05:00
alphanu1
e11c910c39 Fix native naming after new additions
CRT dynamic width changes

Change menu detection width

Using alternative variables for CRT width and height

see output

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Update video_crt_switch.c

Update video_crt_switch.c

Update video_display_server.h

Update video_display_server.c

Update dispserv_win32.c

Update dispserv_x11.c

Update menu_cbs_ok.c

X centring on the fly

X centring on the fly

Update dispserv_x11.c

X centring on the fly

Update dispserv_win32.c

Fix dispserv_win32.c

Fix dispserv_win32.c
2019-02-12 21:23:13 +00:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
alphanu1
5afcd020bd update 2019-01-30 22:17:36 +00:00
alphanu1
fa8c9d7049 new method 2019-01-30 21:55:33 +00:00
krzys-h
0cff7eefa7 Initialize COM only once, globally 2019-01-10 16:48:02 +01:00
Brad Parker
d3210b87ae proper init of ITaskbarList 2019-01-10 09:25:02 -05:00
bparker06
c7779ff046
Remove extra CoUninitialize 2019-01-09 18:51:25 -05:00
bparker06
a7a959ccba
always call CoUninitialize if we support the taskbar extensions 2019-01-09 18:49:39 -05:00
krzys-h
9c75b9cb7f Add missing CoUninitialize calls, fix COM initialization problems
It turns out, some of the CoInitialize calls were failing because they
specified conflicting threading models
2019-01-01 17:30:43 +01:00
krzys-h
13517bc226 Fix the taskbar extension not initializing properly
The COM interface is initialized a thousand times everywhere, but
apparently not before the taskbar extension is loaded ;)

Somehow this managed to work sometimes and even return a valid object,
but that object was destroyed soon afterwards causing crashes
2018-12-31 11:17:39 +01:00
twinaphex
0eb8acd766 (Win32 display server) Try to set current resolution 2018-11-24 19:50:25 +01:00
twinaphex
a561f789e2 Rename switch_resolution to set_resolution 2018-11-24 10:35:32 +01:00
twinaphex
7730828560 Start implementing dropdown list for resolution - Win32 right now at first - now need to make OK button do something 2018-11-24 10:31:41 +01:00
twinaphex
0ae3d3873d Create video_display_server_get_resolution_list 2018-11-24 02:50:04 +01:00
twinaphex
fdb4d2b6ad Add get_resolution_list for Win32 2018-11-24 02:47:22 +01:00
twinaphex
5d8666e226 Only one function calls EnumDisplaySettings now 2018-11-24 02:06:28 +01:00
twinaphex
45e075c8fe Cleanup 2018-11-24 01:54:39 +01:00
Brad Parker
826c77d523 style cleanup 2018-10-02 16:56:40 -04:00
alphanu1
e6b8dcf5b0
Added functions for new CRT SwitchRes options 2018-09-23 20:42:31 +01:00
twinaphex
2c959d8ff1 (Display server) Add get_output 2018-09-17 03:40:17 +02:00