assets are no longer required to be under ./assets/

This commit is contained in:
minjaesong
2021-12-04 13:59:11 +09:00
parent 1165a83708
commit 93ae80adba
6 changed files with 13 additions and 13 deletions

View File

@@ -108,7 +108,7 @@ class VMGUI(val loaderInfo: EmulInstance, val viewportWidth: Int, val viewportHe
Gdx.input.inputProcessor = vm.getIO()
vmRunner = VMRunnerFactory(vm, "js")
vmRunner = VMRunnerFactory("./assets", vm, "js")
coroutineJob = GlobalScope.launch {
vmRunner.executeCommand(vm.roms[0]!!.readAll())
}