mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-09 22:54:03 +09:00
working HSDPA impl with driver -- this time
This commit is contained in:
@@ -131,9 +131,11 @@ for (let tapeIndex = 0; tapeIndex < 4; tapeIndex++) {
|
||||
|
||||
try {
|
||||
// If offset specified, rewind and skip to position
|
||||
if (offset && offset > 0) {
|
||||
if (offset !== undefined && offset >= 0) {
|
||||
hsdpa.rewind()
|
||||
hsdpa.skip(offset)
|
||||
if (offset > 0) {
|
||||
hsdpa.skip(offset)
|
||||
}
|
||||
}
|
||||
|
||||
// Read data to VM memory
|
||||
|
||||
Reference in New Issue
Block a user