sys.sleep

This commit is contained in:
minjaesong
2022-01-01 19:13:03 +09:00
parent 1fb4e93ffe
commit 06d4c492da

View File

@@ -126,7 +126,11 @@ class VMJSR223Delegate(val vm: VM) {
} }
fun spin() { fun spin() {
Thread.sleep(4L); Thread.sleep(4L)
}
fun sleep(time: Long) {
Thread.sleep(time)
} }
fun waitForMemChg(addr: Int, andMask: Int, xorMask: Int) { fun waitForMemChg(addr: Int, andMask: Int, xorMask: Int) {