narzoul / DDrawCompat

DirectDraw and Direct3D 1-7 compatibility, performance and visual enhancements for Windows Vista, 7, 8, 10 and 11
BSD Zero Clause License
885 stars 67 forks source link

Starcraft briefings black screen #206

Closed uzernaem closed 7 months ago

uzernaem commented 1 year ago

Starcraft version 1.16.1 DDrawCompat version 0.4.0, default settings. Briefings screens before the missions are not visible - black screen appears instead. Everything else seems to be fine. It is possible to press enter on the black screen and the mission starts normally.

narzoul commented 1 year ago

It seems that smackw32.dll creates and realizes an empty palette when the briefing begins, which is currently unintentionally applied to the hardware palette also. In DirectDraw exclusive fullscreen mode, RealizePalette is not supposed to affect the hardware palette. I'll fix it in the next release, meanwhile here is a temp fix for it: ddraw.zip (diff.txt compared to v0.4.0)

narzoul commented 7 months ago

Fixed in v0.5.0.