Fix compilation.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
Andrea Odetti 2019-04-19 21:00:09 +01:00
parent 4373e1ac61
commit d6abf1a93a
3 changed files with 7 additions and 2 deletions

View file

@ -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;

View file

@ -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

View file

@ -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 ""; }