diff --git a/win32/COpenGL.cpp b/win32/COpenGL.cpp index 389ff005..1d8567fd 100644 --- a/win32/COpenGL.cpp +++ b/win32/COpenGL.cpp @@ -139,7 +139,7 @@ bool COpenGL::Initialize(HWND hWnd) { auto defaults = S9xImGuiGetDefaults(); defaults.font_size = GUI.OSDSize; - defaults.spacing = defaults.font_size / 2.4; + defaults.spacing = static_cast(defaults.font_size / 2.4); S9xImGuiInit(&defaults); ImGui_ImplOpenGL3_Init(); Settings.DisplayIndicators = true; diff --git a/win32/win32.cpp b/win32/win32.cpp index 28e71e8c..682492e8 100644 --- a/win32/win32.cpp +++ b/win32/win32.cpp @@ -48,7 +48,6 @@ static int avi_image_size = 0; static uint32 avi_skip_frames = 0; static bool pre_avi_soundsync = true; static uint32 pre_avi_soundinputrate = 32000; -void DoAVIOpen(const char* filename); void DoAVIClose(int reason); void S9xWinScanJoypads ();