aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdya <114347520+AdyaGMD@users.noreply.github.com>2026-10-31 10:42:43 +0000
committerSssnowyyy <78863999+Sssnowyyy@users.noreply.github.com>2026-10-31 18:16:44 -0400
commitb48afba6d34df2c820e7d51e526bf8df73301437 (patch)
tree9e8dafebda2ba5454d6b5abb5e5f712451138869 /src
parente36d46693b0cc1324861625ee90e90b4799811d4 (diff)
Fix Compilation and crash on MACOS
Diffstat (limited to 'src')
-rw-r--r--src/video_core/texture_cache/texture_cache.h4
-rw-r--r--src/yuzu/CMakeLists.txt2
-rw-r--r--src/yuzu/Info.plist4
3 files changed, 7 insertions, 3 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h
index c8aaf8dff5..3b783fc6c6 100644
--- a/src/video_core/texture_cache/texture_cache.h
+++ b/src/video_core/texture_cache/texture_cache.h
@@ -3063,6 +3063,10 @@ template <class P>
void TextureCache<P>::CopyImage(ImageId dst_id, ImageId src_id, std::vector<ImageCopy> copies) {
Image& dst = slot_images[dst_id];
Image& src = slot_images[src_id];
+ if (True(dst.flags & ImageFlagBits::UnwrittenSparse) ||
+ True(src.flags & ImageFlagBits::UnwrittenSparse)) {
+ return;
+ }
if (dst.info.astc_opaque != src.info.astc_opaque) {
// BC1 and BC3 blocks differ in size, so the host can't copy between them; both hold the
// same guest data, which is uploaded from guest memory instead.
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt
index 40ff1d45f9..c9be4ff901 100644
--- a/src/yuzu/CMakeLists.txt
+++ b/src/yuzu/CMakeLists.txt
@@ -373,7 +373,7 @@ if (APPLE)
XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED ON)
# Otherwise, we'll use our own.
else()
- set(_icons "${_dist}/eglantine.icns" "${_dist}/Assets.car")
+ set(_icons "${_dist}/eden.icns" "${_dist}/Assets.car")
endif()
set_source_files_properties(${_icons} PROPERTIES
diff --git a/src/yuzu/Info.plist b/src/yuzu/Info.plist
index cf6f597e99..5c24f27f72 100644
--- a/src/yuzu/Info.plist
+++ b/src/yuzu/Info.plist
@@ -13,11 +13,11 @@ SPDX-License-Identifier: GPL-2.0-or-later
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
- <string>${EXECUTABLE_NAME}</string>
+ <string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string>
<key>CFBundleGetInfoString</key>
<string></string>
<key>CFBundleIconFile</key>
- <string>eglantine.icns</string>
+ <string>eden.icns</string>
<key>CFBundleIconName</key>
<string>eglantine</string>
<key>CFBundleIdentifier</key>