diff --git a/CMakeLists.txt b/CMakeLists.txt
index 91f08e233b..25505d597c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1639,6 +1639,10 @@ set(GPU_SOURCES
GPU/Common/TextureScalerCommon.h
GPU/Common/PostShader.cpp
GPU/Common/PostShader.h
+ GPU/Common/TextureReplacer.cpp
+ GPU/Common/TextureReplacer.h
+ GPU/Common/ReplacedTexture.cpp
+ GPU/Common/ReplacedTexture.h
GPU/Debugger/Breakpoints.cpp
GPU/Debugger/Breakpoints.h
GPU/Debugger/Debugger.cpp
@@ -2047,8 +2051,6 @@ add_library(${CoreLibName} ${CoreLinkType}
Core/Screenshot.h
Core/System.cpp
Core/System.h
- Core/TextureReplacer.cpp
- Core/TextureReplacer.h
Core/ThreadPools.cpp
Core/ThreadPools.h
Core/Util/AudioFormat.cpp
diff --git a/Core/Core.vcxproj b/Core/Core.vcxproj
index 0ad2df793f..0fad6b30a7 100644
--- a/Core/Core.vcxproj
+++ b/Core/Core.vcxproj
@@ -591,7 +591,6 @@
-
@@ -1157,7 +1156,6 @@
-
diff --git a/Core/Core.vcxproj.filters b/Core/Core.vcxproj.filters
index 1fe06c2b6e..4b2b04de05 100644
--- a/Core/Core.vcxproj.filters
+++ b/Core/Core.vcxproj.filters
@@ -652,9 +652,6 @@
FileLoaders
-
- Core
-
MIPS\IR
@@ -1737,9 +1734,6 @@
FileLoaders
-
- Core
-
MIPS\IR
diff --git a/GPU/Common/ReplacedTexture.cpp b/GPU/Common/ReplacedTexture.cpp
new file mode 100644
index 0000000000..3bf7e731e0
--- /dev/null
+++ b/GPU/Common/ReplacedTexture.cpp
@@ -0,0 +1 @@
+#include "GPU/Common/ReplacedTexture.h"
diff --git a/GPU/Common/ReplacedTexture.h b/GPU/Common/ReplacedTexture.h
new file mode 100644
index 0000000000..6f70f09bee
--- /dev/null
+++ b/GPU/Common/ReplacedTexture.h
@@ -0,0 +1 @@
+#pragma once
diff --git a/GPU/Common/TextureCacheCommon.h b/GPU/Common/TextureCacheCommon.h
index da42b07de4..7db6507b13 100644
--- a/GPU/Common/TextureCacheCommon.h
+++ b/GPU/Common/TextureCacheCommon.h
@@ -23,13 +23,13 @@
#include "Common/CommonTypes.h"
#include "Common/MemoryUtil.h"
-#include "Core/TextureReplacer.h"
#include "Core/System.h"
#include "GPU/GPU.h"
#include "GPU/Common/GPUDebugInterface.h"
#include "GPU/Common/TextureDecoder.h"
#include "GPU/Common/TextureScalerCommon.h"
#include "GPU/Common/TextureShaderCommon.h"
+#include "GPU/Common/TextureReplacer.h"
class Draw2D;
diff --git a/Core/TextureReplacer.cpp b/GPU/Common/TextureReplacer.cpp
similarity index 99%
rename from Core/TextureReplacer.cpp
rename to GPU/Common/TextureReplacer.cpp
index 2ac2e23133..654a65d5e8 100644
--- a/Core/TextureReplacer.cpp
+++ b/GPU/Common/TextureReplacer.cpp
@@ -44,9 +44,9 @@
#include "Core/Config.h"
#include "Core/Host.h"
#include "Core/System.h"
-#include "Core/TextureReplacer.h"
#include "Core/ThreadPools.h"
#include "Core/ELF/ParamSFO.h"
+#include "GPU/Common/TextureReplacer.h"
#include "GPU/Common/TextureDecoder.h"
static const std::string INI_FILENAME = "textures.ini";
diff --git a/Core/TextureReplacer.h b/GPU/Common/TextureReplacer.h
similarity index 100%
rename from Core/TextureReplacer.h
rename to GPU/Common/TextureReplacer.h
diff --git a/GPU/GPU.vcxproj b/GPU/GPU.vcxproj
index 606e169859..3b6f07c66f 100644
--- a/GPU/GPU.vcxproj
+++ b/GPU/GPU.vcxproj
@@ -164,7 +164,7 @@
Level3
- ..\dx9sdk\Include\DX11;../common;..;../ext;../ext/glew;../ext/snappy;../ext/glslang;../ext/zstd/lib
+ ..\dx9sdk\Include\DX11;../common;..;../ext;../ext/glew;../ext/snappy;../ext/glslang;../ext/zstd/lib;../ext/libpng17
_CRTDBG_MAP_ALLOC;USING_WIN_UI;_CRT_SECURE_NO_WARNINGS;WIN32;_ARCH_32=1;_M_IX86=1;_DEBUG;_LIB;_UNICODE;UNICODE;%(PreprocessorDefinitions)
StreamingSIMDExtensions2
Precise
@@ -182,7 +182,7 @@
Level3
- ..\dx9sdk\Include\DX11;../common;..;../ext;../ext/glew;../ext/snappy;../ext/glslang;../ext/zstd/lib
+ ..\dx9sdk\Include\DX11;../common;..;../ext;../ext/glew;../ext/snappy;../ext/glslang;../ext/zstd/lib;../ext/libpng17
NotSet
Precise
false
@@ -202,7 +202,7 @@
Level3
- ..\dx9sdk\Include\DX11;../common;..;../ext;../ext/glew;../ext/snappy;../ext/glslang;../ext/zstd/lib
+ ..\dx9sdk\Include\DX11;../common;..;../ext;../ext/glew;../ext/snappy;../ext/glslang;../ext/zstd/lib;../ext/libpng17
NotSet
Precise
false
@@ -221,7 +221,7 @@
Level3
- ..\dx9sdk\Include\DX11;../common;..;../ext;../ext/glew;../ext/snappy;../ext/glslang;../ext/zstd/lib
+ ..\dx9sdk\Include\DX11;../common;..;../ext;../ext/glew;../ext/snappy;../ext/glslang;../ext/zstd/lib;../ext/libpng17
NotSet
Precise
false
@@ -244,7 +244,7 @@
MaxSpeed
true
true
- ..\dx9sdk\Include\DX11;../common;..;../ext;../ext/glew;../ext/snappy;../ext/glslang;../ext/zstd/lib
+ ..\dx9sdk\Include\DX11;../common;..;../ext;../ext/glew;../ext/snappy;../ext/glslang;../ext/zstd/lib;../ext/libpng17
false
StreamingSIMDExtensions2
Precise
@@ -267,7 +267,7 @@
MaxSpeed
true
true
- ..\dx9sdk\Include\DX11;../common;..;../ext;../ext/glew;../ext/snappy;../ext/glslang;../ext/zstd/lib
+ ..\dx9sdk\Include\DX11;../common;..;../ext;../ext/glew;../ext/snappy;../ext/glslang;../ext/zstd/lib;../ext/libpng17
false
NotSet
Precise
@@ -292,7 +292,7 @@
MaxSpeed
true
true
- ..\dx9sdk\Include\DX11;../common;..;../ext;../ext/glew;../ext/snappy;../ext/glslang;../ext/zstd/lib
+ ..\dx9sdk\Include\DX11;../common;..;../ext;../ext/glew;../ext/snappy;../ext/glslang;../ext/zstd/lib;../ext/libpng17
false
NotSet
Precise
@@ -317,7 +317,7 @@
MaxSpeed
true
true
- ..\dx9sdk\Include\DX11;../common;..;../ext;../ext/glew;../ext/snappy;../ext/glslang;../ext/zstd/lib
+ ..\dx9sdk\Include\DX11;../common;..;../ext;../ext/glew;../ext/snappy;../ext/glslang;../ext/zstd/lib;../ext/libpng17
false
NotSet
Precise
@@ -338,6 +338,8 @@
+
+
@@ -456,6 +458,8 @@
+
+
diff --git a/GPU/GPU.vcxproj.filters b/GPU/GPU.vcxproj.filters
index b34942e06c..6b35f8f33a 100644
--- a/GPU/GPU.vcxproj.filters
+++ b/GPU/GPU.vcxproj.filters
@@ -267,6 +267,12 @@
Common
+
+ Common
+
+
+ Common
+
@@ -530,6 +536,12 @@
Common
+
+ Common
+
+
+ Common
+
diff --git a/UI/GameSettingsScreen.cpp b/UI/GameSettingsScreen.cpp
index abf2e2034f..0ef3060135 100644
--- a/UI/GameSettingsScreen.cpp
+++ b/UI/GameSettingsScreen.cpp
@@ -66,10 +66,10 @@
#include "Core/Instance.h"
#include "Core/System.h"
#include "Core/Reporting.h"
-#include "Core/TextureReplacer.h"
#include "Core/WebServer.h"
#include "Core/HLE/sceUsbCam.h"
#include "Core/HLE/sceUsbMic.h"
+#include "GPU/Common/TextureReplacer.h"
#include "GPU/Common/PostShader.h"
#include "android/jni/TestRunner.h"
#include "GPU/GPUInterface.h"
diff --git a/UWP/CoreUWP/CoreUWP.vcxproj b/UWP/CoreUWP/CoreUWP.vcxproj
index 65b384657b..6fe4ea1320 100644
--- a/UWP/CoreUWP/CoreUWP.vcxproj
+++ b/UWP/CoreUWP/CoreUWP.vcxproj
@@ -476,7 +476,6 @@
-
@@ -739,7 +738,6 @@
-
@@ -758,459 +756,573 @@
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
-
+
+
NotUsing
diff --git a/UWP/CoreUWP/CoreUWP.vcxproj.filters b/UWP/CoreUWP/CoreUWP.vcxproj.filters
index 119c2d0936..7fead01f06 100644
--- a/UWP/CoreUWP/CoreUWP.vcxproj.filters
+++ b/UWP/CoreUWP/CoreUWP.vcxproj.filters
@@ -108,7 +108,6 @@
-
MIPS\ARM
@@ -1150,7 +1149,6 @@
-
diff --git a/UWP/GPU_UWP/GPU_UWP.vcxproj b/UWP/GPU_UWP/GPU_UWP.vcxproj
index 0448b3e1bd..0548c117a6 100644
--- a/UWP/GPU_UWP/GPU_UWP.vcxproj
+++ b/UWP/GPU_UWP/GPU_UWP.vcxproj
@@ -90,7 +90,7 @@
false
false
pch.h
- ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
+ ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;../../ext/libpng17;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
_CRT_SECURE_NO_WARNINGS;NOMINMAX;_UNICODE;UNICODE;%(PreprocessorDefinitions)
@@ -105,7 +105,7 @@
false
false
pch.h
- ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
+ ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;../../ext/libpng17;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
_CRT_SECURE_NO_WARNINGS;NOMINMAX;_UNICODE;UNICODE;%(PreprocessorDefinitions)
@@ -120,7 +120,7 @@
false
false
pch.h
- ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
+ ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;../../ext/libpng17;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
_CRT_SECURE_NO_WARNINGS;NOMINMAX;_UNICODE;UNICODE;%(PreprocessorDefinitions)
@@ -135,7 +135,7 @@
false
false
pch.h
- ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
+ ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;../../ext/libpng17;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
_CRT_SECURE_NO_WARNINGS;NOMINMAX;_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1;%(ClCompile.PreprocessorDefinitions)
@@ -150,7 +150,7 @@
false
false
pch.h
- ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
+ ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;../../ext/libpng17;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
_CRT_SECURE_NO_WARNINGS;NOMINMAX;_ARM64_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1;%(ClCompile.PreprocessorDefinitions)
@@ -165,7 +165,7 @@
false
false
pch.h
- ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
+ ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;../../ext/libpng17;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
_CRT_SECURE_NO_WARNINGS;NOMINMAX;_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1;%(ClCompile.PreprocessorDefinitions)
@@ -180,7 +180,7 @@
false
false
pch.h
- ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
+ ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;../../ext/libpng17;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
_CRT_SECURE_NO_WARNINGS;NOMINMAX;_ARM64_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1;%(ClCompile.PreprocessorDefinitions)
@@ -195,7 +195,7 @@
false
false
pch.h
- ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
+ ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;../../ext/libpng17;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
_CRT_SECURE_NO_WARNINGS;NOMINMAX;_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1;%(ClCompile.PreprocessorDefinitions)
@@ -210,7 +210,7 @@
false
false
pch.h
- ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
+ ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;../../ext/libpng17;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
_CRT_SECURE_NO_WARNINGS;NOMINMAX;_ARM64_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1;%(ClCompile.PreprocessorDefinitions)
@@ -225,7 +225,7 @@
false
false
pch.h
- ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
+ ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;../../ext/libpng17;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
_CRT_SECURE_NO_WARNINGS;NOMINMAX;_UNICODE;UNICODE;%(PreprocessorDefinitions)
@@ -240,7 +240,7 @@
false
false
pch.h
- ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
+ ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;../../ext/libpng17;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
_CRT_SECURE_NO_WARNINGS;NOMINMAX;_UNICODE;UNICODE;%(PreprocessorDefinitions)
@@ -255,7 +255,7 @@
false
false
pch.h
- ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
+ ../..;../../ext/snappy;../../ext/native;../../Common;../../ext;../../ext/glslang;../../ext/zstd/lib;../../ext/libpng17;$(ProjectDir);$(GeneratedFilesDir);$(IntDir);%(AdditionalIncludeDirectories)
_CRT_SECURE_NO_WARNINGS;NOMINMAX;_UNICODE;UNICODE;%(PreprocessorDefinitions)
@@ -265,6 +265,8 @@
+
+
@@ -329,6 +331,8 @@
+
+
diff --git a/UWP/GPU_UWP/GPU_UWP.vcxproj.filters b/UWP/GPU_UWP/GPU_UWP.vcxproj.filters
index dc746a6f6d..314574f863 100644
--- a/UWP/GPU_UWP/GPU_UWP.vcxproj.filters
+++ b/UWP/GPU_UWP/GPU_UWP.vcxproj.filters
@@ -62,6 +62,8 @@
+
+
@@ -125,5 +127,7 @@
+
+
\ No newline at end of file
diff --git a/android/jni/Android.mk b/android/jni/Android.mk
index 3cc90b6dcf..57b695f3e5 100644
--- a/android/jni/Android.mk
+++ b/android/jni/Android.mk
@@ -389,6 +389,8 @@ EXEC_AND_LIB_FILES := \
$(SRC)/GPU/Common/ShaderUniforms.cpp \
$(SRC)/GPU/Common/VertexShaderGenerator.cpp \
$(SRC)/GPU/Common/GeometryShaderGenerator.cpp \
+ $(SRC)/GPU/Common/TextureReplacer.cpp \
+ $(SRC)/GPU/Common/ReplacedTexture.cpp \
$(SRC)/GPU/Debugger/Breakpoints.cpp \
$(SRC)/GPU/Debugger/Debugger.cpp \
$(SRC)/GPU/Debugger/GECommandTable.cpp \
@@ -456,7 +458,6 @@ EXEC_AND_LIB_FILES := \
$(SRC)/Core/SaveState.cpp \
$(SRC)/Core/Screenshot.cpp \
$(SRC)/Core/System.cpp \
- $(SRC)/Core/TextureReplacer.cpp \
$(SRC)/Core/TiltEventProcessor.cpp \
$(SRC)/Core/ThreadPools.cpp \
$(SRC)/Core/WebServer.cpp \
diff --git a/libretro/Makefile.common b/libretro/Makefile.common
index 2b3bcfed99..67149d94d4 100644
--- a/libretro/Makefile.common
+++ b/libretro/Makefile.common
@@ -386,6 +386,8 @@ SOURCES_CXX += \
$(GPUCOMMONDIR)/IndexGenerator.cpp \
$(GPUCOMMONDIR)/TextureDecoder.cpp \
$(GPUCOMMONDIR)/PostShader.cpp \
+ $(GPUCOMMONDIR)/TextureReplacer.cpp \
+ $(GPUCOMMONDIR)/ReplacedTexture.cpp \
$(COMMONDIR)/Data/Convert/ColorConv.cpp \
$(GPUDIR)/Debugger/Breakpoints.cpp \
$(GPUDIR)/Debugger/Debugger.cpp \
@@ -495,7 +497,6 @@ SOURCES_CXX += \
$(COREDIR)/AVIDump.cpp \
$(COREDIR)/Config.cpp \
$(COREDIR)/ControlMapper.cpp \
- $(COREDIR)/TextureReplacer.cpp \
$(COREDIR)/Core.cpp \
$(COREDIR)/WaveFile.cpp \
$(COREDIR)/KeyMap.cpp \