From c3ee03d092fac9d9fec8dc8d88f28b908f8c0c1c Mon Sep 17 00:00:00 2001 From: Sergey Lipskiy Date: Sun, 25 Feb 2024 12:59:14 +0700 Subject: [PATCH] Fix loading of txForce16bpp setting for mupen64plus config. --- src/mupenplus/Config_mupenplus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mupenplus/Config_mupenplus.cpp b/src/mupenplus/Config_mupenplus.cpp index c937a25d7..f3bac1692 100644 --- a/src/mupenplus/Config_mupenplus.cpp +++ b/src/mupenplus/Config_mupenplus.cpp @@ -465,7 +465,7 @@ void Config_LoadCustomConfig() if (result == M64ERR_SUCCESS) config.textureFilter.txHiresFullAlphaChannel = atoi(value); result = ConfigExternalGetParameter(fileHandle, sectionName, "textureFilter\\txHresAltCRC", value, sizeof(value)); if (result == M64ERR_SUCCESS) config.textureFilter.txHresAltCRC = atoi(value); - result = ConfigExternalGetParameter(fileHandle, sectionName, "textureFilter\\txDump", value, sizeof(value)); + result = ConfigExternalGetParameter(fileHandle, sectionName, "textureFilter\\txForce16bpp", value, sizeof(value)); if (result == M64ERR_SUCCESS) config.textureFilter.txForce16bpp = atoi(value); result = ConfigExternalGetParameter(fileHandle, sectionName, "textureFilter\\txCacheCompression", value, sizeof(value)); if (result == M64ERR_SUCCESS) config.textureFilter.txCacheCompression = atoi(value);