more chdir wip

This commit is contained in:
minjaesong
2020-11-07 17:33:54 +09:00
parent 954307a7f9
commit f01345fb6f
4 changed files with 26 additions and 1 deletions

View File

@@ -365,6 +365,8 @@ class TestDiskDrive(private val driveNum: Int, theRootPath: File? = null) : Bloc
// applies a "cap" if the path attemps to access parent directory of the root
private fun filterSuperRoot(path: String): String {
if (path.isEmpty()) return path
var parentCount = 0
val paths = path.split('/')
val newPaths = ArrayList<String>()

View File

@@ -29,7 +29,7 @@ class V2kRunTest(val appConfig: LwjglApplicationConfiguration) : ApplicationAdap
override fun create() {
super.create()
gpu = GraphicsAdapter(vm, lcdMode = false)
gpu = GraphicsAdapter(vm, theme = GraphicsAdapter.THEME_COLORCRT)
vm.peripheralTable[1] = PeripheralEntry(
VM.PERITYPE_GPU_AND_TERM,