mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Fix demo
This commit is contained in:
@@ -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;
|
||||
|
@@ -288,6 +288,8 @@ void CreatePointers (void)
|
||||
RedAlert(kErrNoMemory);
|
||||
else
|
||||
{
|
||||
PL_STATIC_ASSERT(sizeof(demoType) == 6);
|
||||
|
||||
BlockMove(*tempHandle, demoData, kDemoLength);
|
||||
tempHandle.Dispose();
|
||||
}
|
||||
|
Reference in New Issue
Block a user