mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
27 lines
744 B
C
27 lines
744 B
C
/* -*-mode: C; fill-column: 77; c-basic-offset: 4; -*- */
|
|
|
|
#ifndef _PNOSTATE_H_
|
|
#define _PNOSTATE_H_
|
|
|
|
#include <PceNativeCall.h>
|
|
|
|
/* This gets written into the code by the callback below. */
|
|
typedef struct PNOState {
|
|
const void* emulStateP;
|
|
Call68KFuncType* call68KFuncP;
|
|
void* gotTable;
|
|
} PNOState;
|
|
|
|
typedef struct PnoletUserData PnoletUserData;
|
|
typedef void StorageCallback(PnoletUserData* dataP);
|
|
|
|
/* This is how armlet and 68K stub communicate on startup */
|
|
struct PnoletUserData {
|
|
unsigned long* pnoletEntry;
|
|
unsigned long* gotTable;
|
|
StorageCallback* storageCallback; /* armlet calls this */
|
|
PNOState* stateSrc; /* armlet fills in */
|
|
PNOState* stateDest; /* armlet fills in */
|
|
};
|
|
|
|
#endif
|