mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 05:28:56 +02:00
loicense
This commit is contained in:
parent
e35252f0d3
commit
cbdeb74342
13 changed files with 51 additions and 12 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
||||||
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
//
|
//
|
||||||
// AppUI-Bridging-Header.h - Sudachi
|
// AppUI-Bridging-Header.h - Sudachi
|
||||||
// Created by Jarrod Norwell on 4/3/2024.
|
// Created by Jarrod Norwell on 4/3/2024.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
||||||
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
//
|
//
|
||||||
// AppUI.swift - Sudachi
|
// AppUI.swift - Sudachi
|
||||||
// Created by Jarrod Norwell on 4/3/2024.
|
// Created by Jarrod Norwell on 4/3/2024.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
||||||
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
//
|
//
|
||||||
// AppUIGameInformation.h - Sudachi
|
// AppUIGameInformation.h - Sudachi
|
||||||
// Created by Jarrod Norwell on 1/20/24.
|
// Created by Jarrod Norwell on 1/20/24.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
# SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
//
|
//
|
||||||
// AppUIGameInformation.mm - Sudachi
|
// AppUIGameInformation.mm - Sudachi
|
||||||
// Created by Jarrod Norwell on 1/20/24.
|
// Created by Jarrod Norwell on 1/20/24.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
||||||
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
//
|
//
|
||||||
// AppUIObjC.h - Sudachi
|
// AppUIObjC.h - Sudachi
|
||||||
// Created by Jarrod Norwell on 1/8/24.
|
// Created by Jarrod Norwell on 1/8/24.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
||||||
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
//
|
//
|
||||||
// AppUIObjC.mm - Sudachi
|
// AppUIObjC.mm - Sudachi
|
||||||
// Created by Jarrod Norwell on 1/8/24.
|
// Created by Jarrod Norwell on 1/8/24.
|
||||||
|
|
@ -79,12 +82,12 @@
|
||||||
EmulationSession::GetInstance().InitializeGpuDriver();
|
EmulationSession::GetInstance().InitializeGpuDriver();
|
||||||
|
|
||||||
|
|
||||||
YuzuSettings::values.dump_shaders.SetValue(true);
|
Settings::values.dump_shaders.SetValue(true);
|
||||||
YuzuSettings::values.use_asynchronous_shaders.SetValue(true);
|
Settings::values.use_asynchronous_shaders.SetValue(true);
|
||||||
// YuzuSettings::values.astc_recompression.SetValue(YuzuSettings::AstcRecompression::Bc3);
|
// Settings::values.astc_recompression.SetValue(Settings::AstcRecompression::Bc3);
|
||||||
YuzuSettings::values.shader_backend.SetValue(YuzuSettings::ShaderBackend::SpirV);
|
Settings::values.shader_backend.SetValue(Settings::ShaderBackend::SpirV);
|
||||||
// YuzuSettings::values.resolution_setup.SetValue(YuzuSettings::ResolutionSetup::Res1X);
|
// Settings::values.resolution_setup.SetValue(Settings::ResolutionSetup::Res1X);
|
||||||
// YuzuSettings::values.scaling_filter.SetValue(YuzuSettings::ScalingFilter::Bilinear);
|
// Settings::values.scaling_filter.SetValue(Settings::ScalingFilter::Bilinear);
|
||||||
} return self;
|
} return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
||||||
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
||||||
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
//
|
//
|
||||||
// DirectoryManager.h - Sudachi
|
// DirectoryManager.h - Sudachi
|
||||||
// Created by Jarrod Norwell on 1/18/24.
|
// Created by Jarrod Norwell on 1/18/24.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
||||||
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
//
|
//
|
||||||
// DirectoryManager.mm - Sudachi
|
// DirectoryManager.mm - Sudachi
|
||||||
// Created by Jarrod Norwell on 1/18/24.
|
// Created by Jarrod Norwell on 1/18/24.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
||||||
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
//
|
//
|
||||||
// EmulationSession.h - Sudachi
|
// EmulationSession.h - Sudachi
|
||||||
// Created by Jarrod Norwell on 1/20/24.
|
// Created by Jarrod Norwell on 1/20/24.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
||||||
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
//
|
//
|
||||||
// EmulationSession.m - Sudachi
|
// EmulationSession.m - Sudachi
|
||||||
// Created by Jarrod Norwell on 1/20/24.
|
// Created by Jarrod Norwell on 1/20/24.
|
||||||
|
|
@ -204,7 +207,7 @@ Core::SystemResultStatus EmulationSession::InitializeEmulation(const std::string
|
||||||
// Initialize system.
|
// Initialize system.
|
||||||
m_system.SetShuttingDown(false);
|
m_system.SetShuttingDown(false);
|
||||||
m_system.ApplySettings();
|
m_system.ApplySettings();
|
||||||
YuzuSettings::LogSettings();
|
Settings::LogSettings();
|
||||||
m_system.HIDCore().ReloadInputDevices();
|
m_system.HIDCore().ReloadInputDevices();
|
||||||
m_system.SetFrontendAppletSet({
|
m_system.SetFrontendAppletSet({
|
||||||
nullptr, // Amiibo Settings
|
nullptr, // Amiibo Settings
|
||||||
|
|
@ -238,7 +241,7 @@ Core::SystemResultStatus EmulationSession::InitializeEmulation(const std::string
|
||||||
m_system.GetCpuManager().OnGpuReady();
|
m_system.GetCpuManager().OnGpuReady();
|
||||||
m_system.RegisterExitCallback([&] { HaltEmulation(); });
|
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.Renderer().ReadRasterizer()->LoadDiskResources(
|
||||||
m_system.GetApplicationProcessProgramID(), std::stop_token{},
|
m_system.GetApplicationProcessProgramID(), std::stop_token{},
|
||||||
[](VideoCore::LoadCallbackStage, size_t value, size_t total) {});
|
[](VideoCore::LoadCallbackStage, size_t value, size_t total) {});
|
||||||
|
|
@ -265,7 +268,7 @@ Core::SystemResultStatus EmulationSession::BootOS() {
|
||||||
// Initialize system.
|
// Initialize system.
|
||||||
m_system.SetShuttingDown(false);
|
m_system.SetShuttingDown(false);
|
||||||
m_system.ApplySettings();
|
m_system.ApplySettings();
|
||||||
YuzuSettings::LogSettings();
|
Settings::LogSettings();
|
||||||
m_system.HIDCore().ReloadInputDevices();
|
m_system.HIDCore().ReloadInputDevices();
|
||||||
m_system.SetFrontendAppletSet({
|
m_system.SetFrontendAppletSet({
|
||||||
nullptr, // Amiibo Settings
|
nullptr, // Amiibo Settings
|
||||||
|
|
@ -305,7 +308,7 @@ Core::SystemResultStatus EmulationSession::BootOS() {
|
||||||
m_system.GetCpuManager().OnGpuReady();
|
m_system.GetCpuManager().OnGpuReady();
|
||||||
m_system.RegisterExitCallback([&] { HaltEmulation(); });
|
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.Renderer().ReadRasterizer()->LoadDiskResources(
|
||||||
m_system.GetApplicationProcessProgramID(), std::stop_token{},
|
m_system.GetApplicationProcessProgramID(), std::stop_token{},
|
||||||
[](VideoCore::LoadCallbackStage, size_t value, size_t total) {});
|
[](VideoCore::LoadCallbackStage, size_t value, size_t total) {});
|
||||||
|
|
@ -377,7 +380,7 @@ void EmulationSession::RunEmulation() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load the disk shader cache.
|
// 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);
|
LoadDiskCacheProgress(VideoCore::LoadCallbackStage::Prepare, 0, 0);
|
||||||
m_system.Renderer().ReadRasterizer()->LoadDiskResources(
|
m_system.Renderer().ReadRasterizer()->LoadDiskResources(
|
||||||
m_system.GetApplicationProcessProgramID(), std::stop_token{}, LoadDiskCacheProgress);
|
m_system.GetApplicationProcessProgramID(), std::stop_token{}, LoadDiskCacheProgress);
|
||||||
|
|
@ -484,7 +487,7 @@ bool EmulationSession::IsHandheldOnly() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return !YuzuSettings::IsDockedMode();
|
return !Settings::IsDockedMode();
|
||||||
}
|
}
|
||||||
|
|
||||||
void EmulationSession::SetDeviceType([[maybe_unused]] int index, int type) {
|
void EmulationSession::SetDeviceType([[maybe_unused]] int index, int type) {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
||||||
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
//
|
//
|
||||||
// EmulationWindow.h - Sudachi
|
// EmulationWindow.h - Sudachi
|
||||||
// Created by Jarrod Norwell on 1/18/24.
|
// Created by Jarrod Norwell on 1/18/24.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
||||||
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
//
|
//
|
||||||
// EmulationWindow.mm - Sudachi
|
// EmulationWindow.mm - Sudachi
|
||||||
// Created by Jarrod Norwell on 1/18/24.
|
// Created by Jarrod Norwell on 1/18/24.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue