Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
mouse fixed
  • Loading branch information
Fire-Head committed Jun 2, 2019
1 parent 3aebd96 commit caa61ad10bd9142bfa5b10bf331ce5fa76cd5680
Showing with 5 additions and 3 deletions.
  1. +5 −3 src/skel/win/win.cpp
@@ -73,7 +73,9 @@ typedef struct
}
psGlobalType;

static psGlobalType PsGlobal;
//static psGlobalType PsGlobal;
static psGlobalType &PsGlobal = *(psGlobalType*)0x72CF60;


#define PSGLOBAL(var) (((psGlobalType *)(RsGlobal.ps))->var)

@@ -99,6 +101,8 @@ static psGlobalType PsGlobal;
#include "PCSave.h"
#include "Sprite2D.h"

VALIDATE_SIZE(psGlobalType, 0x28);

// DirectShow interfaces
IGraphBuilder *pGB = NULL;
IMediaControl *pMC = NULL;
@@ -575,8 +579,6 @@ psInitialise(void)
{
PsGlobal.lastMousePos.x = PsGlobal.lastMousePos.y = 0.0;

PsGlobal.fullScreen = FALSE;

RsGlobal.ps = &PsGlobal;

PsGlobal.fullScreen = FALSE;

0 comments on commit caa61ad

Please sign in to comment.