diff --git a/source/linux/data.cpp b/source/linux/data.cpp index ac7c3f16..eee6c9e4 100644 --- a/source/linux/data.cpp +++ b/source/linux/data.cpp @@ -52,8 +52,6 @@ static IPropertySheet * sg = NULL; IPropertySheet& sg_PropertySheet = *sg; static double g_fMHz = 1.0; // Affected by Config dialog's speed slider bar -DWORD g_uHalfScanLines = 1; // drop 50% scan lines for a more authentic look - void SetCurrentCLK6502(void) { static DWORD dwPrevSpeed = (DWORD) -1; diff --git a/source/linux/dummies.cpp b/source/linux/dummies.cpp index 7e04914e..b31da74e 100644 --- a/source/linux/dummies.cpp +++ b/source/linux/dummies.cpp @@ -12,6 +12,7 @@ #include "NTSC.h" static bool bVideoScannerNTSC = true; // NTSC video scanning (or PAL) +static VideoStyle_e g_eVideoStyle = VS_HALF_SCANLINES; // video scanner constants int const kHBurstClock = 53; // clock when Color Burst starts @@ -147,6 +148,11 @@ UINT GetFrameBufferWidth(void) return 0; } +bool IsVideoStyle(VideoStyle_e mask) +{ + return (g_eVideoStyle & mask) != 0; +} + bool VideoGetVblBar(DWORD uExecutedCycles) { // get video scanner position diff --git a/source/linux/state.cpp b/source/linux/state.cpp index 9f8dc0f0..2b9043df 100644 --- a/source/linux/state.cpp +++ b/source/linux/state.cpp @@ -23,6 +23,7 @@ bool CSuperSerialCard::LoadSnapshot(YamlLoadHelper&, unsigned int, unsigned int) std::string CSuperSerialCard::GetSnapshotCardName() { return ""; } std::string MB_GetSnapshotCardName() { return ""; } void MB_Reset() { } +void MB_InitializeForLoadingSnapshot() { } void Phasor_LoadSnapshot(YamlLoadHelper&, unsigned int, unsigned int) { } void Phasor_SaveSnapshot(YamlSaveHelper&, unsigned int) { } std::string Phasor_GetSnapshotCardName() { return ""; }