diff --git a/PVLibrary/Sources/PVLibrary/Configuration/PVEmulatorConfiguration.swift b/PVLibrary/Sources/PVLibrary/Configuration/PVEmulatorConfiguration.swift index fb96bc03c5..9b9ae10327 100644 --- a/PVLibrary/Sources/PVLibrary/Configuration/PVEmulatorConfiguration.swift +++ b/PVLibrary/Sources/PVLibrary/Configuration/PVEmulatorConfiguration.swift @@ -320,10 +320,11 @@ public extension PVEmulatorConfiguration { } class func path(forGame game: PVGame) -> URL { - return URL.documentsiCloudOrLocalPath.appendingPathComponent(game.systemIdentifier).appendingPathComponent(game.file.url.lastPathComponent) + return + PVEmulatorConfiguration.romDirectory(forSystemIdentifier: game.systemIdentifier).appendingPathComponent(game.file.url.lastPathComponent) } class func path(forGame game: PVGame, url:URL) -> URL { - return URL.documentsiCloudOrLocalPath.appendingPathComponent(game.systemIdentifier).appendingPathComponent(url.lastPathComponent) + return PVEmulatorConfiguration.romDirectory(forSystemIdentifier: game.systemIdentifier).appendingPathComponent(url.lastPathComponent) } }