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

366 Commits

Author SHA1 Message Date
narzoul
ccc23c75b9 Emulate hardware cursor in scaled fullscreen mode 2022-09-27 21:44:53 +02:00
narzoul
647a4bfcff Added DisplayResolution setting 2022-09-27 21:44:53 +02:00
narzoul
62983b19fe Create helper surfaces via DirectDraw runtime 2022-09-27 21:44:53 +02:00
narzoul
51a451f424 Perform P8 to R8G8B8 conversion in pixel shader 2022-09-27 21:44:53 +02:00
narzoul
74460b2d24 Added CpuAffinity setting 2022-09-27 21:44:52 +02:00
narzoul
b3b54d5fbd Added ThreadPriorityBoost setting 2022-09-27 21:44:35 +02:00
narzoul
6f92c8ef22 Added config parser 2022-09-22 18:53:57 +02:00
narzoul
97f56131ac Fixed hooking of delay-loaded DLL functions
Fixes blank intro videos in Midtown Madness 1.
See issue #99.
2022-09-22 18:53:57 +02:00
narzoul
f1d8dbd1cb Fixed hangup while installing hooks on Windows 11 22H2 v0.3.2 2022-09-22 18:53:54 +02:00
narzoul
359256660e Fixed flickering mouse cursor in Icewind Dale 2 v0.3.1 2021-05-15 19:25:33 +02:00
narzoul
9fa1a8a047 Fixed GDI brush origin
Fixes splash window background alignment in Star Trek: Armada.
See issue #94.
2021-05-15 16:29:10 +02:00
narzoul
83143589ee Fixed crash caused by implicit release of clippers
See issues #96 and #97.
2021-05-15 16:29:10 +02:00
narzoul
dfbc27247a Fixed index buffer overflow
Fixes a crash in Laghaim.
See issue #98.
2021-05-15 16:29:10 +02:00
narzoul
af6cafd65e Fixed painting of owner-drawn buttons
Fixes invisible disabled buttons in Gangsters: Organized Crime.
See issue #95.
2021-05-15 16:28:51 +02:00
narzoul
0ada5acea7 Fixed crash at startup in Debug build
See issue #96.
2021-05-13 23:10:32 +02:00
narzoul
7c506d86c9 Support unicode file paths 2021-05-12 21:53:19 +02:00
narzoul
ded2c92c3a Updated license and readme v0.3.0 2021-04-09 00:31:40 +02:00
narzoul
1f5c86be11 Added tools 2021-04-09 00:31:32 +02:00
narzoul
87a09b12b9 Fixed occasional deadlock during Sim City 4 startup 2021-04-08 17:39:49 +02:00
narzoul
8f8eca66d3 Fixed hooking of dialog window in FF8Config 2021-04-08 13:30:48 +02:00
narzoul
fc0b904c25 Fixed resource leak in PrimarySurface::getLastSurface() 2021-04-08 10:55:29 +02:00
narzoul
6396b7420d Fixed palette issues in Deer Hunter 2 2021-04-08 00:29:51 +02:00
narzoul
c2d882fd88 Unrealize palette when it becomes a foreground palette
Fixes palette issues in Star Wars Rebellion.
2021-04-07 20:19:03 +02:00
narzoul
cb35ee4beb Fixed crash at startup in Anno 1503 AD 2021-04-07 20:19:03 +02:00
narzoul
34c5c28cec Update window visible regions during VirtualScreen::update 2021-04-07 20:19:02 +02:00
narzoul
c8723e171b Added version info to DLL 2021-04-07 20:18:59 +02:00
narzoul
148d7287e8 Fixed incompatibility with Steam overlay
See issue #68.
2021-04-02 18:04:00 +02:00
narzoul
4e00ce0447 Removed dependency on Detours 2021-03-28 20:03:55 +02:00
narzoul
ce991009be Fixed performance issue with palettized modes on Intel drivers
Fixes #89.
2021-03-28 11:51:28 +02:00
narzoul
b2c92f31da Use variable templates and auto template parameters 2021-03-28 11:19:28 +02:00
narzoul
5882ef9f9c Install window hooks from presentation window thread 2021-03-16 14:13:25 +01:00
narzoul
aecb55286a Updated project to SDK/WDK 10.0.19041.0 2021-03-16 14:13:25 +01:00
narzoul
71c67fffd4 Reworked vtable hooking 2021-03-16 14:13:20 +01:00
narzoul
35e66bd3cf Leave cleanup to process termination 2021-03-01 22:59:07 +01:00
narzoul
0d91170fb5 Use _beginthreadex instead of CreateThread 2021-03-01 22:02:31 +01:00
narzoul
75f8f7e689 Replace vtable function pointers instead of using Detours 2021-02-24 23:35:21 +01:00
narzoul
d268c51d8f Fixed clipping of monitor-specific DCs 2021-02-24 23:35:20 +01:00
narzoul
97e08f7988 Create log file in process dir instead of current working dir 2021-02-24 23:35:20 +01:00
narzoul
b4ef2a1c0c Use angle brackets in all include directives 2021-02-24 23:35:20 +01:00
narzoul
4e3debf776 Merged Gdi::DcCache into Gdi::Dc 2021-02-24 23:35:19 +01:00
narzoul
b83f7ca879 Disable DIB redirection for icon and cursor creating functions
Fixes corrupt icon in volume mixer.
2021-02-24 23:35:16 +01:00
narzoul
8b8a4e544f Redraw window frame on SWP_FRAMECHANGED 2021-02-24 23:30:53 +01:00
narzoul
205f517845 Fixed scroll bar control painting and thumb tracking 2021-02-24 23:30:48 +01:00
narzoul
27ae9affb8 Fixed deadlock in VirtualScreen::update 2021-01-31 16:25:17 +01:00
narzoul
0a39f17089 Fixed caption button positions, sizes and hit boxes 2021-01-31 16:25:13 +01:00
narzoul
4dbc7d4204 Fixed inactive window caption icon background color 2021-01-31 11:41:04 +01:00
narzoul
6e15cb7da7 Use only static colors when default palette is selected
Fixes changing window border/caption colors (issue #86).
2021-01-31 11:41:04 +01:00
narzoul
922d17d283 Track palette realization state 2021-01-31 11:41:04 +01:00
narzoul
39bb699cf7 Use RealizePalette for windowed mode palette changes 2021-01-31 11:40:43 +01:00
narzoul
950bde4161 Always take window client DCs from cache 2021-01-28 23:00:48 +01:00