This repository has been archived by the owner on Oct 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
System.listCIA() causes a crash #24
Labels
Comments
Are you using a CIA version of the interpreter? |
Yep |
Tried right now with latest nightly build and it works fine. Something is wrong in the rest of your code. (Also you should properly ident code since it's really hard to read atm). `y = System.listCIA() while true do
end` |
Created a blank lua with: |
Looks like a problem in A9LH? Gonna do more tests and see what happens. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
System.listCIA() causes a crash, the app exits and the 3DS restarts.
function checkntr()
local cias = System.listCIA()
local v
local installed = false
local updated = true
local count = 0
if (System.doesFileExist(System.currentDirectory().."ntr/ntr.cia")) then
updated = false
end
for _ in pairs(cias) do count = count + 1 end
for v = 1, count, 1 do
if (cias[v].unique_id == 0x00b00000) then
installed = true
break
else
installed = false
end
end
return installed, updated
end
This script was working correctly before, not on lastest release.
The text was updated successfully, but these errors were encountered: