forked from MeloNX/MeloNX
pushed idk
This commit is contained in:
parent
b41251e360
commit
748236311d
Binary file not shown.
@ -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)
|
||||||
|
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user