mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
Fix demo
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
#include "PLQDOffscreen.h"
|
#include "PLQDOffscreen.h"
|
||||||
#include "GpVOSEvent.h"
|
#include "GpVOSEvent.h"
|
||||||
|
#include "ByteSwap.h"
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
@@ -346,7 +347,7 @@ typedef struct
|
|||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
Int32 frame;
|
BEInt32_t frame;
|
||||||
char key;
|
char key;
|
||||||
char padding;
|
char padding;
|
||||||
} demoType, *demoPtr;
|
} demoType, *demoPtr;
|
||||||
|
@@ -288,6 +288,8 @@ void CreatePointers (void)
|
|||||||
RedAlert(kErrNoMemory);
|
RedAlert(kErrNoMemory);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
PL_STATIC_ASSERT(sizeof(demoType) == 6);
|
||||||
|
|
||||||
BlockMove(*tempHandle, demoData, kDemoLength);
|
BlockMove(*tempHandle, demoData, kDemoLength);
|
||||||
tempHandle.Dispose();
|
tempHandle.Dispose();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user