diff --git a/src/ios/Eden/AppUI-Bridging-Header.h b/src/ios/Eden/AppUI-Bridging-Header.h index a75f43550d..091fe7117f 100644 --- a/src/ios/Eden/AppUI-Bridging-Header.h +++ b/src/ios/Eden/AppUI-Bridging-Header.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + // // AppUI-Bridging-Header.h - Sudachi // Created by Jarrod Norwell on 4/3/2024. diff --git a/src/ios/Eden/AppUI.swift b/src/ios/Eden/AppUI.swift index 6bd4544b0d..0dd7ac4dd8 100644 --- a/src/ios/Eden/AppUI.swift +++ b/src/ios/Eden/AppUI.swift @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + // // AppUI.swift - Sudachi // Created by Jarrod Norwell on 4/3/2024. diff --git a/src/ios/Eden/Wrapper/AppUIGameInformation/AppUIGameInformation.h b/src/ios/Eden/Wrapper/AppUIGameInformation/AppUIGameInformation.h index 5040775ad0..ef8537faee 100644 --- a/src/ios/Eden/Wrapper/AppUIGameInformation/AppUIGameInformation.h +++ b/src/ios/Eden/Wrapper/AppUIGameInformation/AppUIGameInformation.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + // // AppUIGameInformation.h - Sudachi // Created by Jarrod Norwell on 1/20/24. diff --git a/src/ios/Eden/Wrapper/AppUIGameInformation/AppUIGameInformation.mm b/src/ios/Eden/Wrapper/AppUIGameInformation/AppUIGameInformation.mm index ef65c723f8..33ff14a875 100644 --- a/src/ios/Eden/Wrapper/AppUIGameInformation/AppUIGameInformation.mm +++ b/src/ios/Eden/Wrapper/AppUIGameInformation/AppUIGameInformation.mm @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project +# SPDX-License-Identifier: GPL-3.0-or-later + // // AppUIGameInformation.mm - Sudachi // Created by Jarrod Norwell on 1/20/24. diff --git a/src/ios/Eden/Wrapper/AppUIObjC.h b/src/ios/Eden/Wrapper/AppUIObjC.h index d3594d74d1..1a79babf4f 100644 --- a/src/ios/Eden/Wrapper/AppUIObjC.h +++ b/src/ios/Eden/Wrapper/AppUIObjC.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + // // AppUIObjC.h - Sudachi // Created by Jarrod Norwell on 1/8/24. diff --git a/src/ios/Eden/Wrapper/AppUIObjC.mm b/src/ios/Eden/Wrapper/AppUIObjC.mm index 065ce6d046..81070bb3fb 100644 --- a/src/ios/Eden/Wrapper/AppUIObjC.mm +++ b/src/ios/Eden/Wrapper/AppUIObjC.mm @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + // // AppUIObjC.mm - Sudachi // Created by Jarrod Norwell on 1/8/24. @@ -79,12 +82,12 @@ EmulationSession::GetInstance().InitializeGpuDriver(); - YuzuSettings::values.dump_shaders.SetValue(true); - YuzuSettings::values.use_asynchronous_shaders.SetValue(true); - // YuzuSettings::values.astc_recompression.SetValue(YuzuSettings::AstcRecompression::Bc3); - YuzuSettings::values.shader_backend.SetValue(YuzuSettings::ShaderBackend::SpirV); - // YuzuSettings::values.resolution_setup.SetValue(YuzuSettings::ResolutionSetup::Res1X); - // YuzuSettings::values.scaling_filter.SetValue(YuzuSettings::ScalingFilter::Bilinear); + Settings::values.dump_shaders.SetValue(true); + Settings::values.use_asynchronous_shaders.SetValue(true); + // Settings::values.astc_recompression.SetValue(Settings::AstcRecompression::Bc3); + Settings::values.shader_backend.SetValue(Settings::ShaderBackend::SpirV); + // Settings::values.resolution_setup.SetValue(Settings::ResolutionSetup::Res1X); + // Settings::values.scaling_filter.SetValue(Settings::ScalingFilter::Bilinear); } return self; } diff --git a/src/ios/Eden/Wrapper/Config/Config.mm b/src/ios/Eden/Wrapper/Config/Config.mm index 0a01d234df..5b063d79f9 100644 --- a/src/ios/Eden/Wrapper/Config/Config.mm +++ b/src/ios/Eden/Wrapper/Config/Config.mm @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + #include "Config.h" diff --git a/src/ios/Eden/Wrapper/DirectoryManager/DirectoryManager.h b/src/ios/Eden/Wrapper/DirectoryManager/DirectoryManager.h index 3965b6c2bb..0fc74a4a93 100644 --- a/src/ios/Eden/Wrapper/DirectoryManager/DirectoryManager.h +++ b/src/ios/Eden/Wrapper/DirectoryManager/DirectoryManager.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + // // DirectoryManager.h - Sudachi // Created by Jarrod Norwell on 1/18/24. diff --git a/src/ios/Eden/Wrapper/DirectoryManager/DirectoryManager.mm b/src/ios/Eden/Wrapper/DirectoryManager/DirectoryManager.mm index 857002adfc..ad8b37c932 100644 --- a/src/ios/Eden/Wrapper/DirectoryManager/DirectoryManager.mm +++ b/src/ios/Eden/Wrapper/DirectoryManager/DirectoryManager.mm @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + // // DirectoryManager.mm - Sudachi // Created by Jarrod Norwell on 1/18/24. diff --git a/src/ios/Eden/Wrapper/EmulationSession/EmulationSession.h b/src/ios/Eden/Wrapper/EmulationSession/EmulationSession.h index 291d414b37..c3692eede6 100644 --- a/src/ios/Eden/Wrapper/EmulationSession/EmulationSession.h +++ b/src/ios/Eden/Wrapper/EmulationSession/EmulationSession.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + // // EmulationSession.h - Sudachi // Created by Jarrod Norwell on 1/20/24. diff --git a/src/ios/Eden/Wrapper/EmulationSession/EmulationSession.mm b/src/ios/Eden/Wrapper/EmulationSession/EmulationSession.mm index 18793ca9fe..2575f053e2 100644 --- a/src/ios/Eden/Wrapper/EmulationSession/EmulationSession.mm +++ b/src/ios/Eden/Wrapper/EmulationSession/EmulationSession.mm @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + // // EmulationSession.m - Sudachi // Created by Jarrod Norwell on 1/20/24. @@ -204,7 +207,7 @@ Core::SystemResultStatus EmulationSession::InitializeEmulation(const std::string // Initialize system. m_system.SetShuttingDown(false); m_system.ApplySettings(); - YuzuSettings::LogSettings(); + Settings::LogSettings(); m_system.HIDCore().ReloadInputDevices(); m_system.SetFrontendAppletSet({ nullptr, // Amiibo Settings @@ -238,7 +241,7 @@ Core::SystemResultStatus EmulationSession::InitializeEmulation(const std::string m_system.GetCpuManager().OnGpuReady(); m_system.RegisterExitCallback([&] { HaltEmulation(); }); - if (YuzuSettings::values.use_disk_shader_cache.GetValue()) { + if (Settings::values.use_disk_shader_cache.GetValue()) { m_system.Renderer().ReadRasterizer()->LoadDiskResources( m_system.GetApplicationProcessProgramID(), std::stop_token{}, [](VideoCore::LoadCallbackStage, size_t value, size_t total) {}); @@ -265,7 +268,7 @@ Core::SystemResultStatus EmulationSession::BootOS() { // Initialize system. m_system.SetShuttingDown(false); m_system.ApplySettings(); - YuzuSettings::LogSettings(); + Settings::LogSettings(); m_system.HIDCore().ReloadInputDevices(); m_system.SetFrontendAppletSet({ nullptr, // Amiibo Settings @@ -305,7 +308,7 @@ Core::SystemResultStatus EmulationSession::BootOS() { m_system.GetCpuManager().OnGpuReady(); m_system.RegisterExitCallback([&] { HaltEmulation(); }); - if (YuzuSettings::values.use_disk_shader_cache.GetValue()) { + if (Settings::values.use_disk_shader_cache.GetValue()) { m_system.Renderer().ReadRasterizer()->LoadDiskResources( m_system.GetApplicationProcessProgramID(), std::stop_token{}, [](VideoCore::LoadCallbackStage, size_t value, size_t total) {}); @@ -377,7 +380,7 @@ void EmulationSession::RunEmulation() { } // Load the disk shader cache. - if (YuzuSettings::values.use_disk_shader_cache.GetValue()) { + if (Settings::values.use_disk_shader_cache.GetValue()) { LoadDiskCacheProgress(VideoCore::LoadCallbackStage::Prepare, 0, 0); m_system.Renderer().ReadRasterizer()->LoadDiskResources( m_system.GetApplicationProcessProgramID(), std::stop_token{}, LoadDiskCacheProgress); @@ -484,7 +487,7 @@ bool EmulationSession::IsHandheldOnly() { return false; } - return !YuzuSettings::IsDockedMode(); + return !Settings::IsDockedMode(); } void EmulationSession::SetDeviceType([[maybe_unused]] int index, int type) { diff --git a/src/ios/Eden/Wrapper/EmulationWindow/EmulationWindow.h b/src/ios/Eden/Wrapper/EmulationWindow/EmulationWindow.h index d099c88c55..4d8b0b888f 100644 --- a/src/ios/Eden/Wrapper/EmulationWindow/EmulationWindow.h +++ b/src/ios/Eden/Wrapper/EmulationWindow/EmulationWindow.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + // // EmulationWindow.h - Sudachi // Created by Jarrod Norwell on 1/18/24. diff --git a/src/ios/Eden/Wrapper/EmulationWindow/EmulationWindow.mm b/src/ios/Eden/Wrapper/EmulationWindow/EmulationWindow.mm index a0e388e751..a82c5b5a7f 100644 --- a/src/ios/Eden/Wrapper/EmulationWindow/EmulationWindow.mm +++ b/src/ios/Eden/Wrapper/EmulationWindow/EmulationWindow.mm @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + // // EmulationWindow.mm - Sudachi // Created by Jarrod Norwell on 1/18/24.