From c5bbf9a2c2a8b03f3c9d3c6a7f93f4354eb9661a Mon Sep 17 00:00:00 2001 From: tomcw Date: Sat, 30 Sep 2017 09:47:48 +0100 Subject: [PATCH] Cmd-line: Remove old -fs8bit switch --- source/Applewin.cpp | 4 ---- source/Frame.cpp | 10 ---------- source/Frame.h | 2 -- 3 files changed, 16 deletions(-) diff --git a/source/Applewin.cpp b/source/Applewin.cpp index 7fcea1d5..2c56fc02 100644 --- a/source/Applewin.cpp +++ b/source/Applewin.cpp @@ -989,10 +989,6 @@ int APIENTRY WinMain(HINSTANCE passinstance, HINSTANCE, LPSTR lpCmdLine, int) else LogFileOutput("Failed to set parameter for -fs-height=x switch\n"); } - else if (strcmp(lpCmdLine, "-fs8bit") == 0) - { - SetFullScreen32Bit(false); // Support old v1.24 fullscreen 8-bit palette mode - } else if (strcmp(lpCmdLine, "-no-di") == 0) { g_bDisableDirectInput = true; diff --git a/source/Frame.cpp b/source/Frame.cpp index bb69ef19..ab5bdce1 100644 --- a/source/Frame.cpp +++ b/source/Frame.cpp @@ -2107,16 +2107,6 @@ void CtrlReset() //=========================================================================== -bool GetFullScreen32Bit(void) -{ - return g_bFullScreen32Bit; -} - -void SetFullScreen32Bit(bool b32Bit) -{ - g_bFullScreen32Bit = b32Bit; -} - int GetFullScreenOffsetX(void) { return g_win_fullscreen_offsetx; diff --git a/source/Frame.h b/source/Frame.h index 4abb05ac..387a5ff2 100644 --- a/source/Frame.h +++ b/source/Frame.h @@ -66,8 +66,6 @@ int GetViewportScale(void); int SetViewportScale(int nNewScale, bool bForce = false); void GetViewportCXCY(int& nViewportCX, int& nViewportCY); - bool GetFullScreen32Bit(void); - void SetFullScreen32Bit(bool b32Bit); void FrameUpdateApple2Type(void); bool GetBestDisplayResolutionForFullScreen(UINT& bestWidth, UINT& bestHeight, UINT userSpecifiedHeight=0);