mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 22:55:40 +12:00
Fix lock placement
This commit is contained in:
parent
69ef842e36
commit
74bbc6c7b2
1 changed files with 1 additions and 1 deletions
|
@ -22,8 +22,8 @@ class DocumentViewController: UIViewController, DocumentDelegate {
|
||||||
if let pickedDoc = document {
|
if let pickedDoc = document {
|
||||||
let fileURL = pickedDoc.fileURL
|
let fileURL = pickedDoc.fileURL
|
||||||
|
|
||||||
emulatorLock.lock()
|
|
||||||
print("Loading ROM", fileURL)
|
print("Loading ROM", fileURL)
|
||||||
|
emulatorLock.lock()
|
||||||
iosLoadROM(fileURL.path(percentEncoded: false))
|
iosLoadROM(fileURL.path(percentEncoded: false))
|
||||||
emulatorLock.unlock()
|
emulatorLock.unlock()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue