1
0
mirror of https://github.com/irmen/ksim65.git synced 2024-06-01 21:41:31 +00:00

added default vice rom path to search list

This commit is contained in:
Irmen de Jong 2020-03-13 17:16:41 +01:00
parent 0670a85f88
commit c2d6954327

View File

@ -257,7 +257,7 @@ class C64Machine(title: String) : IVirtualMachine {
fun determineRomPath(): Path {
val candidates = listOf("./roms", "~/roms/c64", "~/roms", "~/.vice/C64")
val candidates = listOf("./roms", "~/roms/c64", "~/roms", "~/.vice/C64", "/usr/lib/vice/C64")
candidates.forEach {
val path = Paths.get(expandUser(it))
if (path.toFile().isDirectory) return path