mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-13 14:36:06 +09:00
more chdir wip
This commit is contained in:
@@ -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>()
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user