diff --git a/CMakeLists.txt b/CMakeLists.txt
index ebd87f6269..e833f444dd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -603,6 +603,12 @@ add_library(native STATIC
native/ui/ui.h
native/ui/ui_context.cpp
native/ui/ui_context.h
+ native/ui/ui_screen.cpp
+ native/ui/ui_screen.h
+ native/ui/view.cpp
+ native/ui/view.h
+ native/ui/viewgroup.cpp
+ native/ui/viewgroup.h
native/ui/virtual_input.cpp
native/ui/virtual_input.h
native/util/bits/bits.cpp
diff --git a/Core/Core.vcxproj b/Core/Core.vcxproj
index b55c9b4c13..d6fa017b39 100644
--- a/Core/Core.vcxproj
+++ b/Core/Core.vcxproj
@@ -83,8 +83,8 @@
Level3
Disabled
- ../common;..;../native;../native/ext/glew;../ext/zlib
- WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)
+ ..\ffmpeg\WindowsInclude;..\ffmpeg\Windows\x86_64\include;../common;..;../native;../native/ext/glew;../ext/zlib
+ USE_FFMPEG;WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)
StreamingSIMDExtensions2
Fast
false
@@ -131,13 +131,14 @@
MaxSpeed
true
true
- ../common;..;../native;../native/ext/glew;../ext/zlib
+ ..\ffmpeg\WindowsInclude;..\ffmpeg\Windows\x86_64\include;../common;..;../native;../native/ext/glew;../ext/zlib
StreamingSIMDExtensions2
Fast
false
false
Speed
true
+ USE_FFMPEG;_CRT_SECURE_NO_WARNINGS;_MBCS;%(PreprocessorDefinitions)
true
diff --git a/Windows/PPSSPP.vcxproj b/Windows/PPSSPP.vcxproj
index a2c134224a..ca84b6e9a0 100644
--- a/Windows/PPSSPP.vcxproj
+++ b/Windows/PPSSPP.vcxproj
@@ -132,7 +132,7 @@
Disabled
- WIN32;_DEBUG;%(PreprocessorDefinitions)
+ WIN32;_DEBUG;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS
true
Sync
Use
@@ -146,7 +146,7 @@
Fast
- XInput.lib;Winmm.lib;Ws2_32.lib;opengl32.lib;glu32.lib;comctl32.lib;dsound.lib;%(AdditionalDependencies)
+ XInput.lib;Winmm.lib;Ws2_32.lib;opengl32.lib;dsound.lib;glu32.lib;..\ffmpeg\Windows\x86_64\lib\avcodec.lib;..\ffmpeg\Windows\x86_64\lib\avdevice.lib;..\ffmpeg\Windows\x86_64\lib\avformat.lib;..\ffmpeg\Windows\x86_64\lib\avutil.lib;..\ffmpeg\Windows\x86_64\lib\swresample.lib;..\ffmpeg\Windows\x86_64\lib\swscale.lib;comctl32.lib;%(AdditionalDependencies)
true
$(OutDir)$(ProjectName).pdb
Windows
@@ -155,6 +155,7 @@
true
0x00400000
true
+ NotSet
@@ -203,7 +204,7 @@
true
Speed
false
- WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS
true
Sync
MultiThreadedDLL
@@ -217,7 +218,7 @@
stdafx.h
- XInput.lib;Winmm.lib;Ws2_32.lib;opengl32.lib;dsound.lib;glu32.lib;comctl32.lib;%(AdditionalDependencies)
+ XInput.lib;Winmm.lib;Ws2_32.lib;opengl32.lib;dsound.lib;glu32.lib;..\ffmpeg\Windows\x86_64\lib\avcodec.lib;..\ffmpeg\Windows\x86_64\lib\avdevice.lib;..\ffmpeg\Windows\x86_64\lib\avformat.lib;..\ffmpeg\Windows\x86_64\lib\avutil.lib;..\ffmpeg\Windows\x86_64\lib\swresample.lib;..\ffmpeg\Windows\x86_64\lib\swscale.lib;comctl32.lib;%(AdditionalDependencies)
%(AdditionalLibraryDirectories)
true
Windows
diff --git a/ffmpeg b/ffmpeg
index 75911d922f..15d1d78820 160000
--- a/ffmpeg
+++ b/ffmpeg
@@ -1 +1 @@
-Subproject commit 75911d922f8324abd9b6209d76c6ff2b4114df06
+Subproject commit 15d1d78820569d684dc5af5989c977d1436a59f8
diff --git a/headless/Headless.vcxproj b/headless/Headless.vcxproj
index 91aa2805d0..ad281e7c8b 100644
--- a/headless/Headless.vcxproj
+++ b/headless/Headless.vcxproj
@@ -109,7 +109,7 @@
Console
true
- Winmm.lib;Ws2_32.lib;opengl32.lib;dsound.lib;glu32.lib;comctl32.lib;%(AdditionalDependencies)
+ XInput.lib;Winmm.lib;Ws2_32.lib;opengl32.lib;dsound.lib;glu32.lib;..\ffmpeg\Windows\x86_64\lib\avcodec.lib;..\ffmpeg\Windows\x86_64\lib\avdevice.lib;..\ffmpeg\Windows\x86_64\lib\avformat.lib;..\ffmpeg\Windows\x86_64\lib\avutil.lib;..\ffmpeg\Windows\x86_64\lib\swresample.lib;..\ffmpeg\Windows\x86_64\lib\swscale.lib;comctl32.lib;%(AdditionalDependencies)
0x00400000
false
true
@@ -160,7 +160,7 @@
true
true
true
- Winmm.lib;Ws2_32.lib;opengl32.lib;dsound.lib;glu32.lib;comctl32.lib;%(AdditionalDependencies)
+ XInput.lib;Winmm.lib;Ws2_32.lib;opengl32.lib;dsound.lib;glu32.lib;..\ffmpeg\Windows\x86_64\lib\avcodec.lib;..\ffmpeg\Windows\x86_64\lib\avdevice.lib;..\ffmpeg\Windows\x86_64\lib\avformat.lib;..\ffmpeg\Windows\x86_64\lib\avutil.lib;..\ffmpeg\Windows\x86_64\lib\swresample.lib;..\ffmpeg\Windows\x86_64\lib\swscale.lib;comctl32.lib;%(AdditionalDependencies)
0x00400000
false
true
diff --git a/lang b/lang
index 66d786b95f..a2f8b62322 160000
--- a/lang
+++ b/lang
@@ -1 +1 @@
-Subproject commit 66d786b95f0d6c82d3126fe77a61f4069cfd84ea
+Subproject commit a2f8b62322a1d0551d965f22ca6dab7d8dab8a27
diff --git a/native b/native
index b7a01dc2fe..c87fe2f782 160000
--- a/native
+++ b/native
@@ -1 +1 @@
-Subproject commit b7a01dc2fee6866c6f9e41b04c0cf3705e0f7343
+Subproject commit c87fe2f782652e34b157dc9f1bddfe1df4d1fc7e