From 74bbc6c7b2986bcd8f85ea49dadb5059e58eb403 Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Mon, 17 Mar 2025 02:49:26 +0200 Subject: [PATCH] Fix lock placement --- src/pandios/Pandios/ContentView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pandios/Pandios/ContentView.swift b/src/pandios/Pandios/ContentView.swift index 0f8528f5..16a64f7c 100644 --- a/src/pandios/Pandios/ContentView.swift +++ b/src/pandios/Pandios/ContentView.swift @@ -22,8 +22,8 @@ class DocumentViewController: UIViewController, DocumentDelegate { if let pickedDoc = document { let fileURL = pickedDoc.fileURL - emulatorLock.lock() print("Loading ROM", fileURL) + emulatorLock.lock() iosLoadROM(fileURL.path(percentEncoded: false)) emulatorLock.unlock() }