X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fuiq3%2FEngine.h;h=b81b6af2661504181a8404bc8d9cc8b4a5aebeec;hb=ca482e5de8bacb70db55f43afe02f93fe6fe3f16;hp=19bd84ea0950bfe914c873bb3b36862bb81c68c8;hpb=a6e5aa41816d1d46889012331eeeee6c5ba1dd1e;p=picodrive.git diff --git a/platform/uiq3/Engine.h b/platform/uiq3/Engine.h index 19bd84e..b81b6af 100644 --- a/platform/uiq3/Engine.h +++ b/platform/uiq3/Engine.h @@ -28,6 +28,7 @@ enum TPicoGameState { PGS_Quit, PGS_KeyConfig, PGS_DebugHeap, + PGS_ReloadRom, }; enum TPicoServRqst { @@ -81,9 +82,9 @@ struct TPicoKeyConfigEntry class TPicoConfig { public: - void SetDefaults(); - void InternalizeL(RReadStream &aStream); - void ExternalizeL(RWriteStream &aStream) const; +// void SetDefaults(); +// void InternalizeL(RReadStream &aStream); +// void ExternalizeL(RWriteStream &aStream) const; enum TPicoScreenRotation { PRot0, @@ -102,18 +103,7 @@ public: }; public: - TFileName iLastROMFile; - - TInt32 iScreenRotation; - TInt32 iScreenMode; - TUint32 iFlags; // LSb->MSb: use_sram, show_fps, enable_sound, sound_rate(3bits), gzip_saves{=0x40}, dont_use_mot_vol - // enable_ym2612&dac, enable_sn76496, enable_z80, stereo_sound; - // alt_renderer, 6button_gamepad, accurate_timing - TInt32 iPicoOpt; - TInt32 iFrameskip; - TUint32 iKeyBinds[256]; // a binding for every keycode - TUint32 iAreaBinds[19]; - TInt32 PicoRegion; + TFileName iLastROMFile; // used as tmp only }; @@ -141,7 +131,7 @@ public: static void freeResources(); static TBool iEmuRunning; - static TBuf<0x30> iRomInternalName; + static TBuf<150> iRomInternalName; private: // services available @@ -153,7 +143,4 @@ private: static CThreadWatcher *iThreadWatcher; }; -// global -int saveLoadGame(int load, int sram=0); - #endif