--- hatari/src/includes/configuration.h 2019/04/09 08:48:41 1.1.1.13 +++ hatari/src/includes/configuration.h 2019/04/09 08:49:32 1.1.1.14 @@ -39,10 +39,12 @@ typedef struct /* Sound configuration */ typedef struct { + bool bEnableMicrophone; bool bEnableSound; int nPlaybackFreq; - char szYMCaptureFileName[FILENAME_MAX]; int SdlAudioBufferSize; + char szYMCaptureFileName[FILENAME_MAX]; + int YmVolumeMixing; } CNF_SOUND; @@ -190,7 +192,6 @@ typedef struct * 10 VGA - Colormonitor * 11 TV */ -#define FALCON_MONITOR_MASK 0x3F #define FALCON_MONITOR_MONO 0x00 /* SM124 */ #define FALCON_MONITOR_RGB 0x40 #define FALCON_MONITOR_VGA 0x80 @@ -210,6 +211,7 @@ typedef struct MONITORTYPE nMonitorType; int nFrameSkips; bool bFullScreen; + bool bKeepResolution; bool bAllowOverscan; bool bAspectCorrect; bool bUseExtVdiResolutions; @@ -220,7 +222,7 @@ typedef struct int nVdiHeight; bool bShowStatusbar; bool bShowDriveLed; - bool bCaptureChange; + bool bCrop; int nMaxWidth; int nMaxHeight; } CNF_SCREEN; @@ -250,7 +252,8 @@ typedef enum MACHINE_ST, MACHINE_STE, MACHINE_TT, - MACHINE_FALCON + MACHINE_FALCON, + MACHINE_MEGA_STE, } MACHINETYPE; typedef enum @@ -260,20 +263,43 @@ typedef enum DSP_TYPE_EMU } DSPTYPE; +#if ENABLE_WINUAE_CPU +typedef enum +{ + FPU_NONE, + FPU_68881, + FPU_68882, + FPU_CPU +} FPUTYPE; +#endif + typedef struct { int nCpuLevel; int nCpuFreq; - bool bCompatibleCpu; - /*bool bAddressSpace24;*/ + bool bCompatibleCpu; /* Prefetch mode */ MACHINETYPE nMachineType; bool bBlitter; /* TRUE if Blitter is enabled */ DSPTYPE nDSPType; /* how to "emulate" DSP */ bool bRealTimeClock; bool bPatchTimerD; bool bFastForward; + +#if ENABLE_WINUAE_CPU + bool bAddressSpace24; + bool bCycleExactCpu; + FPUTYPE n_FPUType; + bool bCompatibleFPU; /* More compatible FPU */ + bool bMMU; /* TRUE if MMU is enabled */ +#endif } CNF_SYSTEM; +typedef struct +{ + int AviRecordVcodec; + int AviRecordFps; + char AviRecordFile[FILENAME_MAX]; +} CNF_VIDEO; /* State of system is stored in this structure */ /* On reset, variables are copied into system globals and used. */ @@ -295,6 +321,7 @@ typedef struct CNF_PRINTER Printer; CNF_MIDI Midi; CNF_SYSTEM System; + CNF_VIDEO Video; } CNF_PARAMS;