summaryrefslogtreecommitdiff
path: root/src/control/Replay.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-06-22 22:23:26 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2019-06-22 22:23:26 +0300
commit4f9eff19b2edb682b91efe8d077fb12598178a20 (patch)
tree6b33a64c861d4b5de0fc792f03584558bd928e19 /src/control/Replay.cpp
parent3b4cf4f418dd94a00f09e218322ed390bea63250 (diff)
attempt to fix build error
Diffstat (limited to 'src/control/Replay.cpp')
-rw-r--r--src/control/Replay.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/control/Replay.cpp b/src/control/Replay.cpp
index beee5954..a8d87302 100644
--- a/src/control/Replay.cpp
+++ b/src/control/Replay.cpp
@@ -34,8 +34,8 @@ CReference *&CReplay::pEmptyReferences = *(CReference**)0x8F256C;
CStoredDetailedAnimationState *&CReplay::pPedAnims = *(CStoredDetailedAnimationState**)0x8F6260;
CPickup *&CReplay::pPickups = *(CPickup**)0x8F1A48;
CReference *&CReplay::pReferences = *(CReference**)0x880FAC;
-uint8(&CReplay::BufferStatus)[8] = *(uint8(*)[8])0x8804D8;
-uint8(&CReplay::Buffers)[8][100000] = *(uint8(*)[8][100000])0x779958;
+uint8(&CReplay::BufferStatus)[8] = *(uint8(*)[8])*(uintptr*)0x8804D8;
+uint8(&CReplay::Buffers)[8][100000] = *(uint8(*)[8][100000])*(uintptr*)0x779958;
bool &CReplay::bPlayingBackFromFile = *(bool*)0x95CD58;
bool &CReplay::bReplayEnabled = *(bool*)0x617CAC;
uint32 &CReplay::SlowMotion = *(uint32*)0x9414D4;
@@ -49,9 +49,6 @@ void PrintElementsInPtrList(void)
}
}
-#if 0
-WRAPPER void CReplay::Init(void) { EAXJMP(0x592FE0); }
-#else
void CReplay::Init(void)
{
pBuf0 = nil;
@@ -92,7 +89,6 @@ void CReplay::Init(void)
FramesActiveLookAroundCam = 0;
bDoLoadSceneWhenDone = false;
}
-#endif
void CReplay::DisableReplays(void)
{
@@ -104,9 +100,6 @@ void CReplay::EnableReplays(void)
bReplayEnabled = true;
}
-#if 0
-WRAPPER void CReplay::Update(void) { EAXJMP(0x593170); }
-#else
void PlayReplayFromHD(void);
void CReplay::Update(void)
{
@@ -135,7 +128,6 @@ void CReplay::Update(void)
PlayReplayFromHD();
}
}
-#endif
#if 0
WRAPPER void CReplay::RecordThisFrame(void) { EAXJMP(0x5932B0); }