pushed idk

This commit is contained in:
stossy11 2024-10-28 17:07:05 +11:00
parent b41251e360
commit 748236311d
3 changed files with 9 additions and 4 deletions

View File

@ -62,9 +62,13 @@ func startEmulation(game: URL) {
enableKeyboard: false, enableKeyboard: false,
graphicsBackend: "Vulkan" graphicsBackend: "Vulkan"
) )
patchMakeKeyAndVisible()
SDL_SetMainReady() DispatchQueue.main.async {
SDL_iPhoneSetEventPump(SDL_TRUE) patchMakeKeyAndVisible()
SDL_SetMainReady()
SDL_iPhoneSetEventPump(SDL_TRUE)
SDL_Init(SDL_INIT_VIDEO)
}
let emulator = RyujinxEmulator() let emulator = RyujinxEmulator()
do { do {
try emulator.startWithRunLoop(config: config) try emulator.startWithRunLoop(config: config)

View File

@ -64,10 +64,11 @@ class RyujinxEmulator {
args.append(config.inputPath) args.append(config.inputPath)
args.append("--graphics-backend") args.append("--graphics-backend")
args.append(config.graphicsBackend) args.append(config.graphicsBackend)
args.append(contentsOf: ["--memory-manager-mode", "SoftwarePageTable"]) // args.append(contentsOf: ["--memory-manager-mode", "SoftwarePageTable"])
// args.append(contentsOf: ["--fullscreen", "true"]) // args.append(contentsOf: ["--fullscreen", "true"])
args.append(contentsOf: ["--enable-debug-logs", "true"]) args.append(contentsOf: ["--enable-debug-logs", "true"])
args.append(contentsOf: ["--enable-trace-logs", "true"]) args.append(contentsOf: ["--enable-trace-logs", "true"])
args.append(contentsOf: ["--input-id-1", "1-47150005-05ac-0000-0100-00004f066d01"])
// args.append("--input-path") // args.append("--input-path")
args.append(contentsOf: config.additionalArgs) args.append(contentsOf: config.additionalArgs)