diff --git a/dep/glad/glad.vcxproj b/dep/glad/glad.vcxproj
index 14c370e0d..e53be7ba2 100644
--- a/dep/glad/glad.vcxproj
+++ b/dep/glad/glad.vcxproj
@@ -189,6 +189,7 @@
false
stdcpp17
true
+ true
Windows
@@ -210,6 +211,7 @@
false
stdcpp17
true
+ true
Windows
@@ -234,6 +236,7 @@
false
true
OnlyExplicitInline
+ true
Windows
@@ -258,6 +261,7 @@
false
true
OnlyExplicitInline
+ true
Windows
@@ -278,6 +282,7 @@
false
stdcpp17
true
+ true
Windows
@@ -301,6 +306,7 @@
stdcpp17
true
true
+ true
Windows
@@ -323,6 +329,7 @@
false
stdcpp17
true
+ true
Windows
@@ -346,6 +353,7 @@
stdcpp17
true
true
+ true
Windows
diff --git a/dep/imgui/imgui.vcxproj b/dep/imgui/imgui.vcxproj
index 335204da7..779ed3899 100644
--- a/dep/imgui/imgui.vcxproj
+++ b/dep/imgui/imgui.vcxproj
@@ -200,6 +200,7 @@
$(SolutionDir)dep\msvc\include\SDL;$(SolutionDir)dep\glad\include;$(ProjectDir)include;$(ProjectDir)src;%(AdditionalIncludeDirectories)
true
stdcpp17
+ true
Windows
@@ -218,6 +219,7 @@
$(SolutionDir)dep\msvc\include\SDL;$(SolutionDir)dep\glad\include;$(ProjectDir)include;$(ProjectDir)src;%(AdditionalIncludeDirectories)
true
stdcpp17
+ true
Windows
@@ -238,6 +240,7 @@
stdcpp17
false
OnlyExplicitInline
+ true
Windows
@@ -258,6 +261,7 @@
stdcpp17
false
OnlyExplicitInline
+ true
Windows
@@ -278,6 +282,7 @@
/Zo %(AdditionalOptions)
false
stdcpp17
+ true
Windows
@@ -301,6 +306,7 @@
true
stdcpp17
true
+ true
Windows
@@ -323,6 +329,7 @@
/Zo %(AdditionalOptions)
false
stdcpp17
+ true
Windows
@@ -346,6 +353,7 @@
true
stdcpp17
true
+ true
Windows
diff --git a/dep/libcue/libcue.vcxproj b/dep/libcue/libcue.vcxproj
index 6edecf0d8..6774176b3 100644
--- a/dep/libcue/libcue.vcxproj
+++ b/dep/libcue/libcue.vcxproj
@@ -202,6 +202,7 @@
true
false
stdcpp17
+ true
Windows
@@ -223,6 +224,7 @@
true
false
stdcpp17
+ true
Windows
@@ -247,6 +249,7 @@
stdcpp17
false
OnlyExplicitInline
+ true
Windows
@@ -271,6 +274,7 @@
stdcpp17
false
OnlyExplicitInline
+ true
Windows
@@ -292,6 +296,7 @@
false
stdcpp17
false
+ true
Windows
@@ -316,6 +321,7 @@
stdcpp17
true
false
+ true
Windows
@@ -339,6 +345,7 @@
false
stdcpp17
false
+ true
Windows
@@ -363,6 +370,7 @@
stdcpp17
true
false
+ true
Windows
diff --git a/dep/nativefiledialog/nativefiledialog.vcxproj b/dep/nativefiledialog/nativefiledialog.vcxproj
index 3389f5dd3..d398e4520 100644
--- a/dep/nativefiledialog/nativefiledialog.vcxproj
+++ b/dep/nativefiledialog/nativefiledialog.vcxproj
@@ -190,6 +190,7 @@
$(ProjectDir)include;$(ProjectDir)src;%(AdditionalIncludeDirectories)
false
stdcpp17
+ true
Windows
@@ -213,6 +214,7 @@
$(ProjectDir)include;$(ProjectDir)src;%(AdditionalIncludeDirectories)
false
stdcpp17
+ true
Windows
@@ -239,6 +241,7 @@
stdcpp17
false
OnlyExplicitInline
+ true
Windows
@@ -265,6 +268,7 @@
stdcpp17
false
OnlyExplicitInline
+ true
Windows
@@ -287,6 +291,7 @@
$(ProjectDir)include;$(ProjectDir)src;%(AdditionalIncludeDirectories)
false
stdcpp17
+ true
Windows
@@ -312,6 +317,7 @@
true
stdcpp17
true
+ true
Windows
@@ -336,6 +342,7 @@
$(ProjectDir)include;$(ProjectDir)src;%(AdditionalIncludeDirectories)
false
stdcpp17
+ true
Windows
@@ -361,6 +368,7 @@
true
stdcpp17
true
+ true
Windows
diff --git a/dep/stb/stb.vcxproj b/dep/stb/stb.vcxproj
index 8b6d1192a..44a41c2d5 100644
--- a/dep/stb/stb.vcxproj
+++ b/dep/stb/stb.vcxproj
@@ -188,6 +188,7 @@
true
false
stdcpp17
+ true
Windows
@@ -209,6 +210,7 @@
true
false
stdcpp17
+ true
Windows
@@ -233,6 +235,7 @@
stdcpp17
false
OnlyExplicitInline
+ true
Windows
@@ -257,6 +260,7 @@
stdcpp17
false
OnlyExplicitInline
+ true
Windows
@@ -277,6 +281,7 @@
true
false
stdcpp17
+ true
Windows
@@ -300,6 +305,7 @@
true
stdcpp17
true
+ true
Windows
@@ -322,6 +328,7 @@
true
false
stdcpp17
+ true
Windows
@@ -345,6 +352,7 @@
true
stdcpp17
true
+ true
Windows
diff --git a/src/common/common.vcxproj b/src/common/common.vcxproj
index 2ff225f54..11fdee829 100644
--- a/src/common/common.vcxproj
+++ b/src/common/common.vcxproj
@@ -211,6 +211,7 @@
$(SolutionDir)dep\YBaseLib\Include;$(SolutionDir)dep\libsamplerate\include;$(SolutionDir)dep\glad\include;$(SolutionDir)dep\libcue\include;$(SolutionDir)src;%(AdditionalIncludeDirectories)
true
stdcpp17
+ true
Console
@@ -235,6 +236,7 @@
true
stdcpp17
OnlyExplicitInline
+ true
Console
@@ -256,6 +258,7 @@
$(SolutionDir)dep\YBaseLib\Include;$(SolutionDir)dep\libsamplerate\include;$(SolutionDir)dep\glad\include;$(SolutionDir)dep\libcue\include;$(SolutionDir)src;%(AdditionalIncludeDirectories)
true
stdcpp17
+ true
Console
@@ -280,6 +283,7 @@
true
stdcpp17
OnlyExplicitInline
+ true
Console
@@ -303,6 +307,7 @@
true
stdcpp17
false
+ true
Console
@@ -328,6 +333,7 @@
true
true
stdcpp17
+ true
Console
@@ -353,6 +359,7 @@
true
stdcpp17
false
+ true
Console
@@ -378,6 +385,7 @@
true
true
stdcpp17
+ true
Console
diff --git a/src/core/core.vcxproj b/src/core/core.vcxproj
index 04a10a9b0..c2bab1929 100644
--- a/src/core/core.vcxproj
+++ b/src/core/core.vcxproj
@@ -248,6 +248,7 @@
true
false
stdcpp17
+ true
Windows
@@ -269,6 +270,7 @@
true
false
stdcpp17
+ true
Windows
@@ -293,6 +295,7 @@
stdcpp17
false
OnlyExplicitInline
+ true
Windows
@@ -317,6 +320,7 @@
stdcpp17
false
OnlyExplicitInline
+ true
Windows
@@ -337,6 +341,7 @@
true
false
stdcpp17
+ true
Windows
@@ -360,6 +365,7 @@
true
stdcpp17
true
+ true
Windows
@@ -382,6 +388,7 @@
true
false
stdcpp17
+ true
Windows
@@ -405,6 +412,7 @@
true
stdcpp17
true
+ true
Windows
diff --git a/src/duckstation/duckstation.vcxproj b/src/duckstation/duckstation.vcxproj
index 6af7c3fe4..8ed283c7b 100644
--- a/src/duckstation/duckstation.vcxproj
+++ b/src/duckstation/duckstation.vcxproj
@@ -208,6 +208,7 @@
true
false
stdcpp17
+ true
Console
@@ -229,6 +230,7 @@
true
false
stdcpp17
+ true
Console
@@ -253,6 +255,7 @@
stdcpp17
false
OnlyExplicitInline
+ true
Console
@@ -277,6 +280,7 @@
stdcpp17
false
OnlyExplicitInline
+ true
Console
@@ -297,6 +301,7 @@
true
false
stdcpp17
+ true
Console
@@ -321,6 +326,7 @@
true
stdcpp17
true
+ true
Console
@@ -344,6 +350,7 @@
true
false
stdcpp17
+ true
Console
@@ -368,6 +375,7 @@
true
stdcpp17
true
+ true
Console
diff --git a/src/duckstation/sdl_audio_stream.cpp b/src/duckstation/sdl_audio_stream.cpp
index 093eb7c70..87c006189 100644
--- a/src/duckstation/sdl_audio_stream.cpp
+++ b/src/duckstation/sdl_audio_stream.cpp
@@ -18,9 +18,9 @@ bool SDLAudioStream::OpenDevice()
SDL_AudioSpec spec = {};
spec.freq = m_output_sample_rate;
- spec.channels = m_channels;
+ spec.channels = static_cast(m_channels);
spec.format = AUDIO_S16;
- spec.samples = m_buffer_size;
+ spec.samples = static_cast(m_buffer_size);
spec.callback = AudioCallback;
spec.userdata = static_cast(this);