mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-07 05:24:46 +01:00
add PilotMain params
This commit is contained in:
parent
2c5a1d4c40
commit
92433cbbfa
1 changed files with 10 additions and 4 deletions
|
@ -4,6 +4,7 @@
|
||||||
#define _PNOSTATE_H_
|
#define _PNOSTATE_H_
|
||||||
|
|
||||||
#include <PceNativeCall.h>
|
#include <PceNativeCall.h>
|
||||||
|
#include <MemoryMgr.h>
|
||||||
|
|
||||||
/* This gets written into the code by the callback below. */
|
/* This gets written into the code by the callback below. */
|
||||||
typedef struct PNOState {
|
typedef struct PNOState {
|
||||||
|
@ -12,16 +13,21 @@ typedef struct PNOState {
|
||||||
void* gotTable;
|
void* gotTable;
|
||||||
} PNOState;
|
} PNOState;
|
||||||
|
|
||||||
typedef struct PnoletUserData PnoletUserData;
|
/* I can't get the circular decls to work now */
|
||||||
typedef void StorageCallback(PnoletUserData* dataP);
|
typedef void StorageCallback(/*PnoletUserData*/void* dataP);
|
||||||
|
|
||||||
/* This is how armlet and 68K stub communicate on startup */
|
/* This is how armlet and 68K stub communicate on startup */
|
||||||
struct PnoletUserData {
|
typedef struct PnoletUserData {
|
||||||
unsigned long* pnoletEntry;
|
unsigned long* pnoletEntry;
|
||||||
unsigned long* gotTable;
|
unsigned long* gotTable;
|
||||||
StorageCallback* storageCallback; /* armlet calls this */
|
StorageCallback* storageCallback; /* armlet calls this */
|
||||||
PNOState* stateSrc; /* armlet fills in */
|
PNOState* stateSrc; /* armlet fills in */
|
||||||
PNOState* stateDest; /* armlet fills in */
|
PNOState* stateDest; /* armlet fills in */
|
||||||
};
|
|
||||||
|
/* PilotMain params */
|
||||||
|
MemPtr cmdPBP;
|
||||||
|
UInt16 cmd;
|
||||||
|
UInt16 launchFlags;
|
||||||
|
} PnoletUserData;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue