mirror of https://github.com/snes9xgit/snes9x.git
win32: fix warnings
This commit is contained in:
parent
be53955553
commit
ba6f67510e
|
@ -139,7 +139,7 @@ bool COpenGL::Initialize(HWND hWnd)
|
||||||
{
|
{
|
||||||
auto defaults = S9xImGuiGetDefaults();
|
auto defaults = S9xImGuiGetDefaults();
|
||||||
defaults.font_size = GUI.OSDSize;
|
defaults.font_size = GUI.OSDSize;
|
||||||
defaults.spacing = defaults.font_size / 2.4;
|
defaults.spacing = static_cast<int>(defaults.font_size / 2.4);
|
||||||
S9xImGuiInit(&defaults);
|
S9xImGuiInit(&defaults);
|
||||||
ImGui_ImplOpenGL3_Init();
|
ImGui_ImplOpenGL3_Init();
|
||||||
Settings.DisplayIndicators = true;
|
Settings.DisplayIndicators = true;
|
||||||
|
|
|
@ -48,7 +48,6 @@ static int avi_image_size = 0;
|
||||||
static uint32 avi_skip_frames = 0;
|
static uint32 avi_skip_frames = 0;
|
||||||
static bool pre_avi_soundsync = true;
|
static bool pre_avi_soundsync = true;
|
||||||
static uint32 pre_avi_soundinputrate = 32000;
|
static uint32 pre_avi_soundinputrate = 32000;
|
||||||
void DoAVIOpen(const char* filename);
|
|
||||||
void DoAVIClose(int reason);
|
void DoAVIClose(int reason);
|
||||||
|
|
||||||
void S9xWinScanJoypads ();
|
void S9xWinScanJoypads ();
|
||||||
|
|
Loading…
Reference in New Issue