Fix Resolution Scale

This commit is contained in:
Stossy11 2024-12-09 19:38:50 +11:00
parent b089fda22d
commit 9e09cb5767
4 changed files with 40 additions and 2 deletions

View File

@ -8,7 +8,7 @@
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent <BreakpointContent
uuid = "1F3099D0-0456-4AD5-8EA1-52BABAF2AA89" uuid = "1F3099D0-0456-4AD5-8EA1-52BABAF2AA89"
shouldBeEnabled = "Yes" shouldBeEnabled = "No"
nameForDebugger = "Ignore-SIGUSR" nameForDebugger = "Ignore-SIGUSR"
ignoreCount = "0" ignoreCount = "0"
continueAfterRunningActions = "Yes" continueAfterRunningActions = "Yes"
@ -35,5 +35,37 @@
</Actions> </Actions>
</BreakpointContent> </BreakpointContent>
</BreakpointProxy> </BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "499F5405-B63B-4623-9332-1E44FC449FD0"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "MeloNX/Views/GamesList/GameListView.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "224"
endingLineNumber = "224"
landmarkName = "loadGames()"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "0BB7C122-8933-48E8-ABA3-1ABB39594258"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "MeloNX/Models/Game.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "37"
endingLineNumber = "37"
landmarkName = "createImage(from:)"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints> </Breakpoints>
</Bucket> </Bucket>

View File

@ -143,8 +143,8 @@ class Ryujinx {
args.append("--graphics-backend") args.append("--graphics-backend")
args.append("Vulkan") args.append("Vulkan")
// Fixes the Stubs.DispatchLoop Crash
args.append(contentsOf: ["--memory-manager-mode", config.memoryManagerMode]) args.append(contentsOf: ["--memory-manager-mode", config.memoryManagerMode])
args.append(contentsOf: ["--exclusive-fullscreen", String(config.fullscreen)]) args.append(contentsOf: ["--exclusive-fullscreen", String(config.fullscreen)])
args.append(contentsOf: ["--exclusive-fullscreen-width", "\(Int(UIScreen.main.bounds.width))"]) args.append(contentsOf: ["--exclusive-fullscreen-width", "\(Int(UIScreen.main.bounds.width))"])
args.append(contentsOf: ["--exclusive-fullscreen-height", "\(Int(UIScreen.main.bounds.height))"]) args.append(contentsOf: ["--exclusive-fullscreen-height", "\(Int(UIScreen.main.bounds.height))"])
@ -157,6 +157,11 @@ class Ryujinx {
args.append("--disable-vsync") args.append("--disable-vsync")
if config.resscale != 1.0 {
args.append(contentsOf: ["--resolution-scale", String(config.resscale)])
}
if config.disableShaderCache { if config.disableShaderCache {
args.append("--disable-shader-cache") args.append("--disable-shader-cache")
} }

View File

@ -15,6 +15,7 @@ struct SelectControllerView: View {
@Binding var onscreencontroller: Controller @Binding var onscreencontroller: Controller
var body: some View { var body: some View {
List { List {
Section { Section {