mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-29 20:44:16 +01:00
mouse fixed
This commit is contained in:
parent
3aebd965c1
commit
caa61ad10b
@ -73,7 +73,9 @@ typedef struct
|
|||||||
}
|
}
|
||||||
psGlobalType;
|
psGlobalType;
|
||||||
|
|
||||||
static psGlobalType PsGlobal;
|
//static psGlobalType PsGlobal;
|
||||||
|
static psGlobalType &PsGlobal = *(psGlobalType*)0x72CF60;
|
||||||
|
|
||||||
|
|
||||||
#define PSGLOBAL(var) (((psGlobalType *)(RsGlobal.ps))->var)
|
#define PSGLOBAL(var) (((psGlobalType *)(RsGlobal.ps))->var)
|
||||||
|
|
||||||
@ -99,6 +101,8 @@ static psGlobalType PsGlobal;
|
|||||||
#include "PCSave.h"
|
#include "PCSave.h"
|
||||||
#include "Sprite2D.h"
|
#include "Sprite2D.h"
|
||||||
|
|
||||||
|
VALIDATE_SIZE(psGlobalType, 0x28);
|
||||||
|
|
||||||
// DirectShow interfaces
|
// DirectShow interfaces
|
||||||
IGraphBuilder *pGB = NULL;
|
IGraphBuilder *pGB = NULL;
|
||||||
IMediaControl *pMC = NULL;
|
IMediaControl *pMC = NULL;
|
||||||
@ -575,8 +579,6 @@ psInitialise(void)
|
|||||||
{
|
{
|
||||||
PsGlobal.lastMousePos.x = PsGlobal.lastMousePos.y = 0.0;
|
PsGlobal.lastMousePos.x = PsGlobal.lastMousePos.y = 0.0;
|
||||||
|
|
||||||
PsGlobal.fullScreen = FALSE;
|
|
||||||
|
|
||||||
RsGlobal.ps = &PsGlobal;
|
RsGlobal.ps = &PsGlobal;
|
||||||
|
|
||||||
PsGlobal.fullScreen = FALSE;
|
PsGlobal.fullScreen = FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user