mirror of
https://github.com/irmen/ksim65.git
synced 2024-09-27 07:54:29 +00:00
added default vice rom path to search list
This commit is contained in:
parent
0670a85f88
commit
c2d6954327
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user