mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
Compare commits
8 commits
b1dcf754fc
...
7fd8b676b2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7fd8b676b2 | ||
|
|
67f7119717 | ||
|
|
133b19f205 | ||
|
|
fce393024a | ||
|
|
7d3cf831d5 | ||
|
|
dc27047ed4 | ||
|
|
b9a9c1af07 | ||
|
|
0a2ff4f630 |
|
|
@ -38,17 +38,14 @@ if [ ! -d "/tmp/Qt/$QT_VER" ]; then
|
||||||
git clone https://github.com/engnr/qt-downloader.git
|
git clone https://github.com/engnr/qt-downloader.git
|
||||||
cd qt-downloader
|
cd qt-downloader
|
||||||
git checkout f52efee0f18668c6d6de2dec0234b8c4bc54c597
|
git checkout f52efee0f18668c6d6de2dec0234b8c4bc54c597
|
||||||
# nested Qt 6.10.1 URL workaround
|
sed -i '' "s/'qt{0}_{0}{1}{2}'.format(major, minor, patch)]))/'qt{0}_{0}{1}{2}'.format(major, minor, patch), 'qt{0}_{0}{1}{2}'.format(major, minor, patch)]))/g" qt-downloader
|
||||||
# sed -i '' "s/'qt{0}_{0}{1}{2}'.format(major, minor, patch)]))/'qt{0}_{0}{1}{2}'.format(major, minor, patch), 'qt{0}_{0}{1}{2}'.format(major, minor, patch)]))/g" qt-downloader
|
sed -i '' "s/'{}\/{}\/qt{}_{}\/'/'{0}\/{1}\/qt{2}_{3}\/qt{2}_{3}\/'/g" qt-downloader
|
||||||
# sed -i '' "s/'{}\/{}\/qt{}_{}\/'/'{0}\/{1}\/qt{2}_{3}\/qt{2}_{3}\/'/g" qt-downloader
|
|
||||||
# archived Qt 6.7.3 URL workaround
|
|
||||||
sed -i '' "s/official_releases/archive/g" qt-downloader
|
|
||||||
cd "/tmp/Qt"
|
cd "/tmp/Qt"
|
||||||
"$BREW_PATH/bin/pipenv" run pip3 uninstall py7zr requests semantic_version lxml
|
"$BREW_PATH/bin/pipenv" run pip3 uninstall py7zr requests semantic_version lxml
|
||||||
"$BREW_PATH/bin/pipenv" run pip3 install py7zr requests semantic_version lxml --no-cache
|
"$BREW_PATH/bin/pipenv" run pip3 install py7zr requests semantic_version lxml --no-cache
|
||||||
mkdir -p "$QT_VER/macos" ; ln -s "macos" "$QT_VER/clang_64"
|
mkdir -p "$QT_VER/macos" ; ln -s "macos" "$QT_VER/clang_64"
|
||||||
# sed -i '' 's/args\.version \/ derive_toolchain_dir(args) \/ //g' "$WORKDIR/qt-downloader/qt-downloader" # Qt 6.10.1 workaround
|
sed -i '' 's/args\.version \/ derive_toolchain_dir(args) \/ //g' "$WORKDIR/qt-downloader/qt-downloader"
|
||||||
"$BREW_PATH/bin/pipenv" run "$WORKDIR/qt-downloader/qt-downloader" macos desktop "$QT_VER" clang_64 --opensource --addons qtmultimedia qtimageformats # -o "$QT_VER/clang_64"
|
"$BREW_PATH/bin/pipenv" run "$WORKDIR/qt-downloader/qt-downloader" macos desktop "$QT_VER" clang_64 --opensource --addons qtmultimedia qtimageformats -o "$QT_VER/clang_64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd "$WORKDIR"
|
cd "$WORKDIR"
|
||||||
|
|
|
||||||
|
|
@ -38,16 +38,13 @@ if [ ! -d "/tmp/Qt/$QT_VER" ]; then
|
||||||
git clone https://github.com/engnr/qt-downloader.git
|
git clone https://github.com/engnr/qt-downloader.git
|
||||||
cd qt-downloader
|
cd qt-downloader
|
||||||
git checkout f52efee0f18668c6d6de2dec0234b8c4bc54c597
|
git checkout f52efee0f18668c6d6de2dec0234b8c4bc54c597
|
||||||
# nested Qt 6.10.1 URL workaround
|
sed -i '' "s/'qt{0}_{0}{1}{2}'.format(major, minor, patch)]))/'qt{0}_{0}{1}{2}'.format(major, minor, patch), 'qt{0}_{0}{1}{2}'.format(major, minor, patch)]))/g" qt-downloader
|
||||||
# sed -i '' "s/'qt{0}_{0}{1}{2}'.format(major, minor, patch)]))/'qt{0}_{0}{1}{2}'.format(major, minor, patch), 'qt{0}_{0}{1}{2}'.format(major, minor, patch)]))/g" qt-downloader
|
sed -i '' "s/'{}\/{}\/qt{}_{}\/'/'{0}\/{1}\/qt{2}_{3}\/qt{2}_{3}\/'/g" qt-downloader
|
||||||
# sed -i '' "s/'{}\/{}\/qt{}_{}\/'/'{0}\/{1}\/qt{2}_{3}\/qt{2}_{3}\/'/g" qt-downloader
|
|
||||||
# archived Qt 6.7.3 URL workaround
|
|
||||||
sed -i '' "s/official_releases/archive/g" qt-downloader
|
|
||||||
cd "/tmp/Qt"
|
cd "/tmp/Qt"
|
||||||
"/opt/homebrew/bin/pipenv" --python "/opt/homebrew/bin/python3" run pip3 install py7zr requests semantic_version lxml
|
"/opt/homebrew/bin/pipenv" --python "/opt/homebrew/bin/python3" run pip3 install py7zr requests semantic_version lxml
|
||||||
mkdir -p "$QT_VER/macos" ; ln -s "macos" "$QT_VER/clang_64"
|
mkdir -p "$QT_VER/macos" ; ln -s "macos" "$QT_VER/clang_64"
|
||||||
# sed -i '' 's/args\.version \/ derive_toolchain_dir(args) \/ //g' "$WORKDIR/qt-downloader/qt-downloader" # Qt 6.10.1 workaround
|
sed -i '' 's/args\.version \/ derive_toolchain_dir(args) \/ //g' "$WORKDIR/qt-downloader/qt-downloader"
|
||||||
"/opt/homebrew/bin/pipenv" --python "/opt/homebrew/bin/python3" run "$WORKDIR/qt-downloader/qt-downloader" macos desktop "$QT_VER" clang_64 --opensource --addons qtmultimedia qtimageformats # -o "$QT_VER/clang_64"
|
"/opt/homebrew/bin/pipenv" --python "/opt/homebrew/bin/python3" run "$WORKDIR/qt-downloader/qt-downloader" macos desktop "$QT_VER" clang_64 --opensource --addons qtmultimedia qtimageformats -o "$QT_VER/clang_64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd "$WORKDIR"
|
cd "$WORKDIR"
|
||||||
|
|
|
||||||
6
.github/workflows/rpcs3.yml
vendored
6
.github/workflows/rpcs3.yml
vendored
|
|
@ -134,7 +134,7 @@ jobs:
|
||||||
runs-on: macos-14
|
runs-on: macos-14
|
||||||
env:
|
env:
|
||||||
CCACHE_DIR: /tmp/ccache_dir
|
CCACHE_DIR: /tmp/ccache_dir
|
||||||
QT_VER: '6.7.3'
|
QT_VER: '6.10.1'
|
||||||
QT_VER_MAIN: '6'
|
QT_VER_MAIN: '6'
|
||||||
LLVM_COMPILER_VER: '21'
|
LLVM_COMPILER_VER: '21'
|
||||||
RELEASE_MESSAGE: ../GitHubReleaseMessage.txt
|
RELEASE_MESSAGE: ../GitHubReleaseMessage.txt
|
||||||
|
|
@ -215,7 +215,7 @@ jobs:
|
||||||
QT_VER: '6.10.1'
|
QT_VER: '6.10.1'
|
||||||
QT_VER_MSVC: 'msvc2022'
|
QT_VER_MSVC: 'msvc2022'
|
||||||
QT_DATE: '202511161843'
|
QT_DATE: '202511161843'
|
||||||
LLVM_VER: '19.1.7'
|
LLVM_VER: '21.1.7'
|
||||||
VULKAN_VER: '1.3.268.0'
|
VULKAN_VER: '1.3.268.0'
|
||||||
VULKAN_SDK_SHA: '8459ef49bd06b697115ddd3d97c9aec729e849cd775f5be70897718a9b3b9db5'
|
VULKAN_SDK_SHA: '8459ef49bd06b697115ddd3d97c9aec729e849cd775f5be70897718a9b3b9db5'
|
||||||
CCACHE_SHA: '1f39f3ad5aae3fe915e99ad1302633bc8f6718e58fa7c0de2b0ba7e080f0f08c'
|
CCACHE_SHA: '1f39f3ad5aae3fe915e99ad1302633bc8f6718e58fa7c0de2b0ba7e080f0f08c'
|
||||||
|
|
@ -413,7 +413,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CCACHE_DIR: ${{ github.workspace }}/ccache
|
CCACHE_DIR: ${{ github.workspace }}/ccache
|
||||||
QT_VER_MAIN: '6'
|
QT_VER_MAIN: '6'
|
||||||
LLVM_COMPILER_VER: '19'
|
LLVM_COMPILER_VER: '21'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@main
|
uses: actions/checkout@main
|
||||||
|
|
|
||||||
2
3rdparty/llvm/CMakeLists.txt
vendored
2
3rdparty/llvm/CMakeLists.txt
vendored
|
|
@ -51,7 +51,7 @@ if(WITH_LLVM)
|
||||||
|
|
||||||
set(STATIC_LINK_LLVM ON CACHE BOOL "Link against LLVM statically. This will get set to ON if you build LLVM from the submodule." FORCE)
|
set(STATIC_LINK_LLVM ON CACHE BOOL "Link against LLVM statically. This will get set to ON if you build LLVM from the submodule." FORCE)
|
||||||
|
|
||||||
find_package(LLVM 19.1 CONFIG)
|
find_package(LLVM 21.1 CONFIG)
|
||||||
if(NOT LLVM_FOUND)
|
if(NOT LLVM_FOUND)
|
||||||
message(FATAL_ERROR "Couldn't build LLVM from the submodule. You might need to run `git submodule update --init`")
|
message(FATAL_ERROR "Couldn't build LLVM from the submodule. You might need to run `git submodule update --init`")
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
2
3rdparty/llvm/llvm
vendored
2
3rdparty/llvm/llvm
vendored
|
|
@ -1 +1 @@
|
||||||
Subproject commit cd708029e0b2869e80abe31ddb175f7c35361f90
|
Subproject commit 292dc2b86f66e39f4b85ec8b185fd8b60f5213ce
|
||||||
|
|
@ -131,7 +131,7 @@ Start **Visual Studio**, click on `Open a project or solution` and select the `r
|
||||||
**NOTE:** The recommended build configuration is `Release`. (On older revisions: `Release - LLVM`)
|
**NOTE:** The recommended build configuration is `Release`. (On older revisions: `Release - LLVM`)
|
||||||
|
|
||||||
To speed up the compilation time, you may want to download and extract to `<rpcs3_root>\build\lib_ext\<$(Configuration)>-x64` (e.g. `c:\rpcs3\build\lib_ext\Release-x64`; the path needs to be created) the following precompiled lib:
|
To speed up the compilation time, you may want to download and extract to `<rpcs3_root>\build\lib_ext\<$(Configuration)>-x64` (e.g. `c:\rpcs3\build\lib_ext\Release-x64`; the path needs to be created) the following precompiled lib:
|
||||||
- [LLVM libs](https://github.com/RPCS3/llvm-mirror/releases/download/custom-build-win-19.1.7/llvmlibs_mt.7z)
|
- [LLVM libs](https://github.com/RPCS3/llvm-mirror/releases/download/custom-build-win-21.1.7/llvmlibs_mt.7z)
|
||||||
|
|
||||||
**NOTES:**
|
**NOTES:**
|
||||||
- `<$(Configuration)>` can assume values `Release` or `Debug`.
|
- `<$(Configuration)>` can assume values `Release` or `Debug`.
|
||||||
|
|
|
||||||
|
|
@ -43,8 +43,8 @@
|
||||||
LLVMBitstreamReader.lib;
|
LLVMBitstreamReader.lib;
|
||||||
LLVMBitWriter.lib;
|
LLVMBitWriter.lib;
|
||||||
LLVMCFGuard.lib;
|
LLVMCFGuard.lib;
|
||||||
|
LLVMCGData.lib;
|
||||||
LLVMCodeGen.lib;
|
LLVMCodeGen.lib;
|
||||||
LLVMCodeGenData.lib;
|
|
||||||
LLVMCodeGenTypes.lib;
|
LLVMCodeGenTypes.lib;
|
||||||
LLVMCore.lib;
|
LLVMCore.lib;
|
||||||
LLVMCoroutines.lib;
|
LLVMCoroutines.lib;
|
||||||
|
|
@ -53,12 +53,14 @@
|
||||||
LLVMDebugInfoCodeView.lib;
|
LLVMDebugInfoCodeView.lib;
|
||||||
LLVMDebuginfod.lib;
|
LLVMDebuginfod.lib;
|
||||||
LLVMDebugInfoDWARF.lib;
|
LLVMDebugInfoDWARF.lib;
|
||||||
|
LLVMDebugInfoDWARFLowLevel.lib;
|
||||||
LLVMDebugInfoGSYM.lib;
|
LLVMDebugInfoGSYM.lib;
|
||||||
LLVMDebugInfoLogicalView.lib;
|
LLVMDebugInfoLogicalView.lib;
|
||||||
LLVMDebugInfoMSF.lib;
|
LLVMDebugInfoMSF.lib;
|
||||||
LLVMDebugInfoPDB.lib;
|
LLVMDebugInfoPDB.lib;
|
||||||
LLVMDemangle.lib;
|
LLVMDemangle.lib;
|
||||||
LLVMDlltoolDriver.lib;
|
LLVMDlltoolDriver.lib;
|
||||||
|
LLVMDWARFCFIChecker.lib;
|
||||||
LLVMDWARFLinker.lib;
|
LLVMDWARFLinker.lib;
|
||||||
LLVMDWARFLinkerClassic.lib;
|
LLVMDWARFLinkerClassic.lib;
|
||||||
LLVMDWARFLinkerParallel.lib;
|
LLVMDWARFLinkerParallel.lib;
|
||||||
|
|
@ -66,6 +68,8 @@
|
||||||
LLVMExecutionEngine.lib;
|
LLVMExecutionEngine.lib;
|
||||||
LLVMExtensions.lib;
|
LLVMExtensions.lib;
|
||||||
LLVMFileCheck.lib;
|
LLVMFileCheck.lib;
|
||||||
|
LLVMFrontendAtomic.lib;
|
||||||
|
LLVMFrontendDirective.lib;
|
||||||
LLVMFrontendDriver.lib;
|
LLVMFrontendDriver.lib;
|
||||||
LLVMFrontendHLSL.lib;
|
LLVMFrontendHLSL.lib;
|
||||||
LLVMFrontendOffloading.lib;
|
LLVMFrontendOffloading.lib;
|
||||||
|
|
@ -118,6 +122,7 @@
|
||||||
LLVMTableGenCommon.lib;
|
LLVMTableGenCommon.lib;
|
||||||
LLVMTarget.lib;
|
LLVMTarget.lib;
|
||||||
LLVMTargetParser.lib;
|
LLVMTargetParser.lib;
|
||||||
|
LLVMTelemetry.lib;
|
||||||
LLVMTextAPI.lib;
|
LLVMTextAPI.lib;
|
||||||
LLVMTextAPIBinaryReader.lib;
|
LLVMTextAPIBinaryReader.lib;
|
||||||
LLVMTransformUtils.lib;
|
LLVMTransformUtils.lib;
|
||||||
|
|
|
||||||
|
|
@ -1149,7 +1149,7 @@ struct llvm_fshl
|
||||||
static llvm::Function* get_fshl(llvm::IRBuilder<>* ir)
|
static llvm::Function* get_fshl(llvm::IRBuilder<>* ir)
|
||||||
{
|
{
|
||||||
const auto _module = ir->GetInsertBlock()->getParent()->getParent();
|
const auto _module = ir->GetInsertBlock()->getParent()->getParent();
|
||||||
return llvm::Intrinsic::getDeclaration(_module, llvm::Intrinsic::fshl, {llvm_value_t<T>::get_type(ir->getContext())});
|
return llvm::Intrinsic::getOrInsertDeclaration(_module, llvm::Intrinsic::fshl, {llvm_value_t<T>::get_type(ir->getContext())});
|
||||||
}
|
}
|
||||||
|
|
||||||
static llvm::Value* fold(llvm::IRBuilder<>* ir, llvm::Value* v1, llvm::Value* v2, llvm::Value* v3)
|
static llvm::Value* fold(llvm::IRBuilder<>* ir, llvm::Value* v1, llvm::Value* v2, llvm::Value* v3)
|
||||||
|
|
@ -1221,7 +1221,7 @@ struct llvm_fshr
|
||||||
static llvm::Function* get_fshr(llvm::IRBuilder<>* ir)
|
static llvm::Function* get_fshr(llvm::IRBuilder<>* ir)
|
||||||
{
|
{
|
||||||
const auto _module = ir->GetInsertBlock()->getParent()->getParent();
|
const auto _module = ir->GetInsertBlock()->getParent()->getParent();
|
||||||
return llvm::Intrinsic::getDeclaration(_module, llvm::Intrinsic::fshr, {llvm_value_t<T>::get_type(ir->getContext())});
|
return llvm::Intrinsic::getOrInsertDeclaration(_module, llvm::Intrinsic::fshr, {llvm_value_t<T>::get_type(ir->getContext())});
|
||||||
}
|
}
|
||||||
|
|
||||||
static llvm::Value* fold(llvm::IRBuilder<>* ir, llvm::Value* v1, llvm::Value* v2, llvm::Value* v3)
|
static llvm::Value* fold(llvm::IRBuilder<>* ir, llvm::Value* v1, llvm::Value* v2, llvm::Value* v3)
|
||||||
|
|
@ -2220,7 +2220,7 @@ struct llvm_add_sat
|
||||||
static llvm::Function* get_add_sat(llvm::IRBuilder<>* ir)
|
static llvm::Function* get_add_sat(llvm::IRBuilder<>* ir)
|
||||||
{
|
{
|
||||||
const auto _module = ir->GetInsertBlock()->getParent()->getParent();
|
const auto _module = ir->GetInsertBlock()->getParent()->getParent();
|
||||||
return llvm::Intrinsic::getDeclaration(_module, intr, {llvm_value_t<T>::get_type(ir->getContext())});
|
return llvm::Intrinsic::getOrInsertDeclaration(_module, intr, {llvm_value_t<T>::get_type(ir->getContext())});
|
||||||
}
|
}
|
||||||
|
|
||||||
llvm::Value* eval(llvm::IRBuilder<>* ir) const
|
llvm::Value* eval(llvm::IRBuilder<>* ir) const
|
||||||
|
|
@ -2303,7 +2303,7 @@ struct llvm_sub_sat
|
||||||
static llvm::Function* get_sub_sat(llvm::IRBuilder<>* ir)
|
static llvm::Function* get_sub_sat(llvm::IRBuilder<>* ir)
|
||||||
{
|
{
|
||||||
const auto _module = ir->GetInsertBlock()->getParent()->getParent();
|
const auto _module = ir->GetInsertBlock()->getParent()->getParent();
|
||||||
return llvm::Intrinsic::getDeclaration(_module, intr, {llvm_value_t<T>::get_type(ir->getContext())});
|
return llvm::Intrinsic::getOrInsertDeclaration(_module, intr, {llvm_value_t<T>::get_type(ir->getContext())});
|
||||||
}
|
}
|
||||||
|
|
||||||
llvm::Value* eval(llvm::IRBuilder<>* ir) const
|
llvm::Value* eval(llvm::IRBuilder<>* ir) const
|
||||||
|
|
@ -3592,7 +3592,7 @@ public:
|
||||||
llvm::Function* get_intrinsic(llvm::Intrinsic::ID id)
|
llvm::Function* get_intrinsic(llvm::Intrinsic::ID id)
|
||||||
{
|
{
|
||||||
const auto _module = m_ir->GetInsertBlock()->getParent()->getParent();
|
const auto _module = m_ir->GetInsertBlock()->getParent()->getParent();
|
||||||
return llvm::Intrinsic::getDeclaration(_module, id, {get_type<Types>()...});
|
return llvm::Intrinsic::getOrInsertDeclaration(_module, id, {get_type<Types>()...});
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T1, typename T2>
|
template <typename T1, typename T2>
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ struct cfg_root : cfg::node
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
fifo_setting rsx_fifo_accuracy{this, "RSX FIFO Accuracy", rsx_fifo_mode::fast };
|
fifo_setting rsx_fifo_accuracy{this, "RSX FIFO Fetch Accuracy", rsx_fifo_mode::atomic };
|
||||||
cfg::_bool spu_verification{ this, "SPU Verification", true }; // Should be enabled
|
cfg::_bool spu_verification{ this, "SPU Verification", true }; // Should be enabled
|
||||||
cfg::_bool spu_cache{ this, "SPU Cache", true };
|
cfg::_bool spu_cache{ this, "SPU Cache", true };
|
||||||
cfg::_bool spu_prof{ this, "SPU Profiler", false };
|
cfg::_bool spu_prof{ this, "SPU Profiler", false };
|
||||||
|
|
|
||||||
|
|
@ -435,6 +435,12 @@ QCoreApplication* create_application(std::span<char* const> qt_argv)
|
||||||
{
|
{
|
||||||
qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "0");
|
qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "0");
|
||||||
}
|
}
|
||||||
|
#elif __APPLE__
|
||||||
|
// set the QT_MTL_NO_TRANSACTION variable in order to prevent Qt GUI freeze
|
||||||
|
qputenv("QT_MTL_NO_TRANSACTION", "1");
|
||||||
|
|
||||||
|
// set the QT_MAC_NO_CONTAINER_LAYER variable in order to prevent swapchain crash
|
||||||
|
qputenv("QT_MAC_NO_CONTAINER_LAYER", "1");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool use_high_dpi = true;
|
bool use_high_dpi = true;
|
||||||
|
|
|
||||||
|
|
@ -1198,10 +1198,10 @@ QString emu_settings::GetLocalizedSetting(const QString& original, emu_settings_
|
||||||
case emu_settings_type::FIFOAccuracy:
|
case emu_settings_type::FIFOAccuracy:
|
||||||
switch (static_cast<rsx_fifo_mode>(index))
|
switch (static_cast<rsx_fifo_mode>(index))
|
||||||
{
|
{
|
||||||
case rsx_fifo_mode::fast: return tr("Fast", "RSX FIFO Accuracy");
|
case rsx_fifo_mode::fast: return tr("Fast", "RSX FIFO Fetch Accuracy");
|
||||||
case rsx_fifo_mode::atomic: return tr("Atomic", "RSX FIFO Accuracy");
|
case rsx_fifo_mode::atomic: return tr("Atomic", "RSX FIFO Fetch Accuracy");
|
||||||
case rsx_fifo_mode::atomic_ordered: return tr("Ordered & Atomic", "RSX FIFO Accuracy");
|
case rsx_fifo_mode::atomic_ordered: return tr("Ordered & Atomic", "RSX FIFO Fetch Accuracy");
|
||||||
case rsx_fifo_mode::as_ps3: return tr("PS3", "RSX FIFO Accuracy");
|
case rsx_fifo_mode::as_ps3: return tr("PS3", "RSX FIFO Fetch Accuracy");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case emu_settings_type::PerfOverlayDetailLevel:
|
case emu_settings_type::PerfOverlayDetailLevel:
|
||||||
|
|
|
||||||
|
|
@ -235,7 +235,7 @@ inline static const std::map<emu_settings_type, cfg_location> settings_location
|
||||||
{ emu_settings_type::AccurateSpuDMA, { "Core", "Accurate SPU DMA"}},
|
{ emu_settings_type::AccurateSpuDMA, { "Core", "Accurate SPU DMA"}},
|
||||||
{ emu_settings_type::AccurateClineStores, { "Core", "Accurate Cache Line Stores"}},
|
{ emu_settings_type::AccurateClineStores, { "Core", "Accurate Cache Line Stores"}},
|
||||||
{ emu_settings_type::AccurateRSXAccess, { "Core", "Accurate RSX reservation access"}},
|
{ emu_settings_type::AccurateRSXAccess, { "Core", "Accurate RSX reservation access"}},
|
||||||
{ emu_settings_type::FIFOAccuracy, { "Core", "RSX FIFO Accuracy"}},
|
{ emu_settings_type::FIFOAccuracy, { "Core", "RSX FIFO Fetch Accuracy"}},
|
||||||
{ emu_settings_type::XFloatAccuracy, { "Core", "XFloat Accuracy"}},
|
{ emu_settings_type::XFloatAccuracy, { "Core", "XFloat Accuracy"}},
|
||||||
{ emu_settings_type::MFCCommandsShuffling, { "Core", "MFC Commands Shuffling Limit"}},
|
{ emu_settings_type::MFCCommandsShuffling, { "Core", "MFC Commands Shuffling Limit"}},
|
||||||
{ emu_settings_type::SetDAZandFTZ, { "Core", "Set DAZ and FTZ"}},
|
{ emu_settings_type::SetDAZandFTZ, { "Core", "Set DAZ and FTZ"}},
|
||||||
|
|
|
||||||
|
|
@ -2340,6 +2340,12 @@ void main_window::RetranslateUI(const QStringList& language_codes, const QString
|
||||||
|
|
||||||
ui->retranslateUi(this);
|
ui->retranslateUi(this);
|
||||||
|
|
||||||
|
// Refresh game list first to prevent localization mismatches in further Refresh calls
|
||||||
|
if (m_game_list_frame)
|
||||||
|
{
|
||||||
|
m_game_list_frame->Refresh(true);
|
||||||
|
}
|
||||||
|
|
||||||
// Update menu bar size (needed if the corner widget changes its size)
|
// Update menu bar size (needed if the corner widget changes its size)
|
||||||
ui->menuBar->adjustSize();
|
ui->menuBar->adjustSize();
|
||||||
|
|
||||||
|
|
@ -2354,11 +2360,6 @@ void main_window::RetranslateUI(const QStringList& language_codes, const QString
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_game_list_frame)
|
|
||||||
{
|
|
||||||
m_game_list_frame->Refresh(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
Q_EMIT RequestDialogRepaint();
|
Q_EMIT RequestDialogRepaint();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,15 +3,12 @@
|
||||||
|
|
||||||
movie_item::movie_item() : QTableWidgetItem(), movie_item_base()
|
movie_item::movie_item() : QTableWidgetItem(), movie_item_base()
|
||||||
{
|
{
|
||||||
setData(Qt::UserRole, {}); // Set any value to UserRole for proper indexing (e.g. for multiselection)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
movie_item::movie_item(const QString& text, int type) : QTableWidgetItem(text, type), movie_item_base()
|
movie_item::movie_item(const QString& text, int type) : QTableWidgetItem(text, type), movie_item_base()
|
||||||
{
|
{
|
||||||
setData(Qt::UserRole, {}); // Set any value to UserRole for proper indexing (e.g. for multiselection)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
movie_item::movie_item(const QIcon& icon, const QString& text, int type) : QTableWidgetItem(icon, text, type), movie_item_base()
|
movie_item::movie_item(const QIcon& icon, const QString& text, int type) : QTableWidgetItem(icon, text, type), movie_item_base()
|
||||||
{
|
{
|
||||||
setData(Qt::UserRole, {}); // Set any value to UserRole for proper indexing (e.g. for multiselection)
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -71,14 +71,10 @@ bool qt_camera_video_sink::present(const QVideoFrame& frame)
|
||||||
// Flip image if necessary
|
// Flip image if necessary
|
||||||
if (flip_horizontally || flip_vertically)
|
if (flip_horizontally || flip_vertically)
|
||||||
{
|
{
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 9, 0)
|
|
||||||
Qt::Orientations orientation {};
|
Qt::Orientations orientation {};
|
||||||
orientation.setFlag(Qt::Orientation::Horizontal, flip_horizontally);
|
orientation.setFlag(Qt::Orientation::Horizontal, flip_horizontally);
|
||||||
orientation.setFlag(Qt::Orientation::Vertical, flip_vertically);
|
orientation.setFlag(Qt::Orientation::Vertical, flip_vertically);
|
||||||
image.flip(orientation);
|
image.flip(orientation);
|
||||||
#else
|
|
||||||
image.mirror(flip_horizontally, flip_vertically);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (image.format() != QImage::Format_RGBA8888)
|
if (image.format() != QImage::Format_RGBA8888)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue