This commit is contained in:
elasota
2019-12-30 01:25:16 -05:00
parent fb105bd338
commit 349680840b
2 changed files with 4 additions and 1 deletions

View File

@@ -7,6 +7,7 @@
#include "PLQDOffscreen.h"
#include "GpVOSEvent.h"
#include "ByteSwap.h"
typedef struct
{
@@ -346,7 +347,7 @@ typedef struct
typedef struct
{
Int32 frame;
BEInt32_t frame;
char key;
char padding;
} demoType, *demoPtr;

View File

@@ -288,6 +288,8 @@ void CreatePointers (void)
RedAlert(kErrNoMemory);
else
{
PL_STATIC_ASSERT(sizeof(demoType) == 6);
BlockMove(*tempHandle, demoData, kDemoLength);
tempHandle.Dispose();
}