1
0
mirror of https://github.com/narzoul/DDrawCompat synced 2024-12-30 08:55:36 +01:00

483 Commits

Author SHA1 Message Date
narzoul
bf9833946a Fixed texture stage count determination 2023-11-11 17:16:38 +01:00
narzoul
bfc5a0be24 Added ColorKeyMethod setting 2023-11-11 17:16:38 +01:00
narzoul
2248a07113 Added shader disassembler 2023-11-11 17:16:38 +01:00
narzoul
a0d7cffc07 Added P8 format support for D3D9On12 2023-11-11 17:16:38 +01:00
narzoul
0b7f4589f2 Added DesktopResolution setting 2023-11-11 17:16:38 +01:00
narzoul
defdfafe20 Fixed depth buffer issues with D3D9On12 2023-11-11 17:16:34 +01:00
narzoul
12c4f87cb6 Emulate unsupported render target formats
Fixes Midtown Madness 2 rendering on NVIDIA. See issue #159.
2023-11-05 14:21:19 +01:00
narzoul
b53678bfd4 Fixed WM_SETCURSOR handling for client areas
See issue #148.
2023-11-05 14:21:19 +01:00
narzoul
122224450a Fixed a resource leak in hardware cursor emulation
See issue #148.
2023-11-05 14:21:19 +01:00
narzoul
83941ddb8e Don't set GDI resource while primary is lost 2023-11-05 14:21:19 +01:00
narzoul
0801a74af5 Fixed occasional deadlocks when alt-tabbing 2023-11-05 14:21:19 +01:00
narzoul
d6f07bac76 Added DisplayAspectRatio setting 2023-11-05 14:21:19 +01:00
narzoul
6425c6c767 Added DepthFormat setting 2023-11-05 14:21:19 +01:00
narzoul
95ade4412b Added VertexBufferMemoryType setting 2023-11-05 14:21:18 +01:00
narzoul
c3a68620f6 Added SupportedDepthFormats setting 2023-11-05 14:21:18 +01:00
narzoul
bb0f5c53e9 Added SupportedTextureFormats setting 2023-11-05 14:21:18 +01:00
narzoul
25f325ec17 Log used resource formats 2023-11-05 14:21:18 +01:00
narzoul
15d78048d0 Disable timer resolution throttling 2023-11-05 14:21:18 +01:00
narzoul
97197dde6a Removed dependency on common config header 2023-11-05 14:21:18 +01:00
narzoul
89a16d92e8 Added CpuAffinityRotation setting 2023-11-05 14:21:18 +01:00
narzoul
0c7358b449 Added TerminateHotKey setting 2023-11-05 14:21:18 +01:00
narzoul
88708ce398 Fixed a deadlock when exiting Age of Wonders in fullscreen mode
Note that exiting with Alt+F4 still won't work. See issue #167.
2023-11-05 14:21:18 +01:00
narzoul
2b8805d9ef Improved scheduling for overlay updates 2023-11-05 14:21:18 +01:00
narzoul
08d3b95afd Fixed black screen when app resolution is higher than display resolution 2023-11-05 14:21:18 +01:00
narzoul
9068a8d9a6 Set overlay window positions based on the real primary surface 2023-11-05 14:21:18 +01:00
narzoul
483bf5f6dd Added support for CreateBitmap(Indirect)
Fixes QuickTime videos in Carmen Sandiego series (issue #156)
2023-11-05 14:21:18 +01:00
narzoul
ac1eccd79f Fixed invisible cursor when changing to native resolution in Red Alert 2 2023-11-05 14:21:18 +01:00
narzoul
8e4741ab70 Reintroduced heuristics for preferring software blitting 2023-11-05 14:21:18 +01:00
narzoul
246108bbdf Always use DDLOCK_NOSYSLOCK
Fixes presentation stuttering when a surface is locked indefinitely.
2023-11-05 14:21:18 +01:00
narzoul
66ad6db3d9 Added StatsHotKey setting 2023-11-05 14:21:18 +01:00
narzoul
07d77d09dc Added stats overlay 2023-11-05 14:21:15 +01:00
narzoul
ab443a1ac2 Remove mipmap caps from textures with single mip level
Fixes texture creation errors in Extreme-G 2 (see issue #159).
2022-11-26 14:38:23 +01:00
narzoul
113da37945 Fixed a crash caused by a clipper reference counting error 2022-10-15 15:22:07 +02:00
narzoul
b35fddad24 Fixed hooking of functions using call instruction with relative addressing
See issue #149.
2022-10-07 21:54:55 +02:00
narzoul
19899f81c9 Fixed a crash in IAT hooking when encountering imports by ordinals
See issue #149.
2022-10-05 19:38:09 +02:00
narzoul
7a59458d58 Updated the readme for v0.4.0 v0.4.0 2022-09-27 21:45:22 +02:00
narzoul
70b2e42640 Workaround for inconsistent point scaled blitting on NVIDIA 2022-09-27 21:45:22 +02:00
narzoul
c7ee5206d8 Added ResolutionScaleFilter setting 2022-09-27 21:45:22 +02:00
narzoul
13e4d90116 Added SoftwareDevice setting 2022-09-27 21:45:21 +02:00
narzoul
bb0eadc310 Added PalettizedTextures setting 2022-09-27 21:45:20 +02:00
narzoul
a775e256ea Support emulation of alpha blended cursors 2022-09-27 21:45:20 +02:00
narzoul
8419e09604 Fixed color key issues in Settlers 4 2022-09-27 21:45:19 +02:00
narzoul
ebba0ec6a4 Restore primary surface globals if create fails
Fixes error creating "second" primary in Prince of Persia 3D when
starting a new game.  First primary is not completely released because
IDirectDrawGammaControl is not released. Native ddraw still allows
creation of a second fullscreen primary in this case.

This fix replaces the previous fix for Conquest: Frontier Wars also.
2022-09-27 21:45:19 +02:00
narzoul
d4f5020e6f Disable application calls to timeBeginPeriod/timeEndPeriod
Fixes stuttering in Pacific General.
2022-09-27 21:45:18 +02:00
narzoul
3d958e5ef2 Fixed multi-threaded issues with emulated mouse cursor
Fixes invisible cursor after alt-tabbing in Beach Life.
2022-09-27 21:45:18 +02:00
narzoul
524f708a7f Handle display scaling while primary surface is lost 2022-09-27 21:45:18 +02:00
narzoul
9bca0a6ba0 Fixed alt-tabbing in Titanic: Adventure Out of Time 2022-09-27 21:45:18 +02:00
narzoul
6fdc7ad21a Prevent creating multiple primary surfaces
Fixes borderless fullscreen mode in Conquest: Frontier Wars
2022-09-27 21:45:17 +02:00
narzoul
6327bc506f Create default primary in fullscreen mode
Fixes intro videos displaying in a small window in Midtown Madness 2
2022-09-27 21:45:17 +02:00
narzoul
2099c80095 Fixed GDI display issues in Titanic: Adventure Out of Time 2022-09-27 21:45:16 +02:00