directory listing freeze in luaplayer-windows

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

directory listing freeze in luaplayer-windows

Post by LuMo »

is it just me or...
when i try the cmd
contents = System.listDirectory()
lp-win32 does not continue

function listSchemes()
print('contents')
contents = System.listDirectory()
print('cwd')
cwd = System.currentDirectory()
end

output is the following:
contents

(how) can i test it without copying the lua files to psp?
Giuliano
Posts: 78
Joined: Tue Sep 13, 2005 10:26 am

Post by Giuliano »

...
Last edited by Giuliano on Wed Sep 14, 2005 12:30 pm, edited 1 time in total.
Shine
Posts: 728
Joined: Fri Dec 03, 2004 12:10 pm
Location: Germany

Re: directory listing freeze in luaplayer-windows

Post by Shine »

LuMo wrote:is it just me or...
when i try the cmd
contents = System.listDirectory()
lp-win32 does not continue
You are right, this is a bug, the directory functions don't work on Windows. I'll fix it in the next release.
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Post by LuMo »

well thats no serious problem for testing, just good to know :)
(just create a table by hand and test the rest of the code)

greets
Lumo

PS: thanks for your work and fixes
Post Reply