app: Update for latest lpp-vita
This commit is contained in:
parent
50160454fc
commit
9227503bef
@ -11,7 +11,7 @@ end
|
|||||||
-- Convert a 32 bit binary string to a integer
|
-- Convert a 32 bit binary string to a integer
|
||||||
function bin2int(str)
|
function bin2int(str)
|
||||||
local b1, b2, b3, b4 = string.byte(str, 1, 4)
|
local b1, b2, b3, b4 = string.byte(str, 1, 4)
|
||||||
return (b4 << 24) + (b3 << 16) + (b2 << 8) + b1
|
return bit32.lshift(b4, 24) + bit32.lshift(b3, 16) + bit32.lshift(b2, 8) + b1
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Format raw time data
|
-- Format raw time data
|
||||||
@ -42,7 +42,7 @@ end
|
|||||||
|
|
||||||
-- Extracts title name from an SFO file
|
-- Extracts title name from an SFO file
|
||||||
function extractTitle(file, tid)
|
function extractTitle(file, tid)
|
||||||
local data = System.extractSFO(file)
|
local data = System.extractSfo(file)
|
||||||
if System.doesFileExist("ux0:/data/TrackPlugArchive/" .. tid .. ".txt") then
|
if System.doesFileExist("ux0:/data/TrackPlugArchive/" .. tid .. ".txt") then
|
||||||
System.deleteFile("ux0:/data/TrackPlugArchive/" .. tid .. ".txt")
|
System.deleteFile("ux0:/data/TrackPlugArchive/" .. tid .. ".txt")
|
||||||
end
|
end
|
||||||
@ -409,7 +409,7 @@ while #tbl > 0 do
|
|||||||
new_list_idx = #tbl
|
new_list_idx = #tbl
|
||||||
end
|
end
|
||||||
mov_y = 1
|
mov_y = 1
|
||||||
mov_step = 33
|
mov_step = 11
|
||||||
end
|
end
|
||||||
elseif Controls.check(pad, SCE_CTRL_DOWN) and mov_y == 0 then
|
elseif Controls.check(pad, SCE_CTRL_DOWN) and mov_y == 0 then
|
||||||
if freeze then
|
if freeze then
|
||||||
@ -420,7 +420,7 @@ while #tbl > 0 do
|
|||||||
new_list_idx = 1
|
new_list_idx = 1
|
||||||
end
|
end
|
||||||
mov_y = -1
|
mov_y = -1
|
||||||
mov_step = -33
|
mov_step = -11
|
||||||
end
|
end
|
||||||
elseif Controls.check(pad, SCE_CTRL_LTRIGGER) and not Controls.check(oldpad, SCE_CTRL_LTRIGGER) and not freeze then
|
elseif Controls.check(pad, SCE_CTRL_LTRIGGER) and not Controls.check(oldpad, SCE_CTRL_LTRIGGER) and not freeze then
|
||||||
order_idx = order_idx - 1
|
order_idx = order_idx - 1
|
||||||
|
Reference in New Issue
Block a user