mirror of
https://github.com/irmen/ksim65.git
synced 2024-06-10 02:29:35 +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 {
|
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 {
|
candidates.forEach {
|
||||||
val path = Paths.get(expandUser(it))
|
val path = Paths.get(expandUser(it))
|
||||||
if (path.toFile().isDirectory) return path
|
if (path.toFile().isDirectory) return path
|
||||||
|
|
Loading…
Reference in New Issue
Block a user