--- hatari/src/includes/configuration.h 2019/04/09 08:47:16 1.1.1.12 +++ hatari/src/includes/configuration.h 2019/04/09 08:48:41 1.1.1.13 @@ -8,18 +8,26 @@ #ifndef HATARI_CONFIGURATION_H #define HATARI_CONFIGURATION_H -/* Logging and debugging */ +/* Logging and tracing */ typedef struct { char sLogFileName[FILENAME_MAX]; char sTraceFileName[FILENAME_MAX]; int nTextLogLevel; int nAlertDlgLogLevel; - int nNumberBase; bool bConfirmQuit; } CNF_LOG; +/* debugger */ +typedef struct +{ + int nNumberBase; + int nDisasmLines; + int nMemdumpLines; +} CNF_DEBUGGER; + + /* ROM (TOS + cartridge) configuration */ typedef struct { @@ -34,6 +42,7 @@ typedef struct bool bEnableSound; int nPlaybackFreq; char szYMCaptureFileName[FILENAME_MAX]; + int SdlAudioBufferSize; } CNF_SOUND; @@ -66,7 +75,7 @@ typedef struct typedef enum { SHORTCUT_OPTIONS, SHORTCUT_FULLSCREEN, - SHORTCUT_MOUSEMODE, + SHORTCUT_MOUSEGRAB, SHORTCUT_COLDRESET, SHORTCUT_WARMRESET, SHORTCUT_SCREENSHOT, @@ -162,14 +171,17 @@ typedef enum typedef struct { - bool bBootFromHardDisk; int nHardDiskDir; bool bUseHardDiskDirectories; bool bUseHardDiskImage; + bool bUseIdeMasterHardDiskImage; + bool bUseIdeSlaveHardDiskImage; + WRITEPROTECTION nWriteProtection; + bool bBootFromHardDisk; char szHardDiskDirectories[MAX_HARDDRIVES][FILENAME_MAX]; char szHardDiskImage[FILENAME_MAX]; - bool bUseIdeHardDiskImage; - char szIdeHardDiskImage[FILENAME_MAX]; + char szIdeMasterHardDiskImage[FILENAME_MAX]; + char szIdeSlaveHardDiskImage[FILENAME_MAX]; } CNF_HARDDISK; /* Falcon register $FFFF8006 bits 6 & 7 (mirrored in $FFFF82C0 bits 0 & 1): @@ -199,7 +211,7 @@ typedef struct int nFrameSkips; bool bFullScreen; bool bAllowOverscan; - bool bZoomLowRes; + bool bAspectCorrect; bool bUseExtVdiResolutions; int nSpec512Threshold; int nForceBpp; @@ -209,14 +221,8 @@ typedef struct bool bShowStatusbar; bool bShowDriveLed; bool bCaptureChange; - int nWindowBorderPixelsTop; - int nWindowBorderPixelsLeft; - int nWindowBorderPixelsRight; - int nWindowBorderPixelsBottom; - int nFullScreenBorderPixelsTop; - int nFullScreenBorderPixelsLeft; - int nFullScreenBorderPixelsRight; - int nFullScreenBorderPixelsBottom; + int nMaxWidth; + int nMaxHeight; } CNF_SCREEN; @@ -275,6 +281,7 @@ typedef struct { /* Configure */ CNF_LOG Log; + CNF_DEBUGGER Debugger; CNF_SCREEN Screen; CNF_JOYSTICKS Joysticks; CNF_KEYBOARD Keyboard;