1
0
mirror of https://github.com/DxWnd/DxWnd.reloaded synced 2024-12-30 09:25:35 +01:00

v2_02_66_src

Former-commit-id: 9f6af11da24cc3cc1aedb8b3f4df93c1fbf00ec5
This commit is contained in:
gho tik 2014-03-29 12:39:00 -04:00 committed by Refael ACkermann
parent 60c8028a1d
commit e1d8df91d9
6 changed files with 18 additions and 4 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33ac0e7db3ed4efc6da6c4cc7f0988314aa96698631c5937ccb988ed50a82be3
oid sha256:d516b5021460103db94185c51d96111d0e1082736a7b3b0d95dcac20c555d8ff
size 466432

View File

@ -1,5 +1,5 @@
[window]
posx=1316
posy=462
posx=1403
posy=528
sizx=320
sizy=200

View File

@ -433,3 +433,6 @@ v2.02.65
added "Fine time adjust" flag to finely set timeslider by 10% steps ranging from about :2 to x2
fixed a bug in DWORD timers introduced in v2.02.60: now "Warcraft 2" timing works again
revised logit to calculate delays to emulate VSync timing - now should be more accurate and depending on actual screen refresh rate
v2.02.66
fixed palette bug: "Virtua Fighter PC" now shows correct colors.

View File

@ -2601,6 +2601,17 @@ static HRESULT BuildGenericEmu(LPDIRECTDRAW lpdd, CreateSurface_Type pCreateSurf
OutTraceDW("CreateSurface: created Emu_Generic dds=%x\n", *lplpdds);
if(IsDebug) DescribeSurface(*lplpdds, dxversion, "DDSEmu_Generic", __LINE__);
// v2.02.66: if 8BPP paletized surface and a primary palette exixts, apply.
// fixes "Virtua Fighter PC" palette bug
if(lpDDP && (ddsd.ddpfPixelFormat.dwFlags & DDPF_PALETTEINDEXED8)){
res=(*pSetPalette)(*lplpdds, lpDDP);
if(res)
OutTraceE("SetPalette: ERROR on lpdds=%x(Emu_Generic) res=%x(%s) at %d\n", *lplpdds, res, ExplainDDError(res), __LINE__);
else
OutTraceDW("CreateSurface: applied lpddp=%x to lpdds=%x\n", lpDDP, *lplpdds);
}
// diagnostic hooks ....
HookDDSurfaceGeneric(lplpdds, dxversion);

View File

@ -24,7 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "dxwnd.h"
#include "dxwcore.hpp"
#define VERSION "2.02.65"
#define VERSION "2.02.66"
#define DDTHREADLOCK 1

Binary file not shown.