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
1 changed files with 1 additions and 1 deletions

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