mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
Lua: Basic groundwork. Needs a lot more.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4364 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -24,8 +24,8 @@
|
||||
// Per-(video )Frame actions
|
||||
|
||||
namespace Frame {
|
||||
|
||||
|
||||
// Enumerations and structs
|
||||
enum PlayMode {
|
||||
MODE_NONE = 0,
|
||||
MODE_RECORDING,
|
||||
@ -43,6 +43,18 @@ typedef struct {
|
||||
bool reserved[6]; // Reserved bits, 6 bits
|
||||
} ControllerState; // Total: 58 + 6 = 64 bits per frame
|
||||
|
||||
|
||||
// Global declarations
|
||||
extern bool g_bFrameStep, g_bAutoFire, g_bFirstKey, g_bPolled;
|
||||
extern u32 g_autoFirstKey, g_autoSecondKey;
|
||||
extern PlayMode g_playMode;
|
||||
|
||||
extern int g_framesToSkip, g_frameSkipCounter, g_numPads;
|
||||
extern ControllerState *g_padStates;
|
||||
extern FILE *g_recordfd;
|
||||
|
||||
extern u64 g_frameCounter, g_lagCounter;
|
||||
|
||||
typedef struct {
|
||||
u8 filetype[4]; // Unique Identifier (always "DTM"0x1A)
|
||||
|
||||
|
Reference in New Issue
Block a user