mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-10 15:04:03 +09:00
getting rid of old filesystem functions
This commit is contained in:
@@ -21,9 +21,11 @@ _fsh.brandLogoTexSmall = new GL.Texture(24, 14, gzip.decomp(base64.atob(
|
||||
_fsh.scrlayout = ["com.fsh.clock","com.fsh.calendar","com.fsh.todo_list", "com.fsh.quick_access"];
|
||||
|
||||
_fsh.drawWallpaper = function() {
|
||||
filesystem.open("A", "/tvdos/wall.bytes", "R")
|
||||
let wp = files.open("A:/tvdos/wall.bytes")
|
||||
// filesystem.open("A", "/tvdos/wall.bytes", "R")
|
||||
let b = sys.malloc(250880)
|
||||
dma.comToRam(0, 0, b, 250880)
|
||||
// dma.comToRam(0, 0, b, 250880)
|
||||
wp.pread(b, 250880, 0)
|
||||
dma.ramToFrame(b, 0, 250880)
|
||||
sys.free(b)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user