forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Loading files from RAM possible?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Tue Jan 10, 2006 2:51 pm    Post subject: Loading files from RAM possible? Reply with quote

Hi Guys,
Just wondering if there's a way to load a file from RAM to save on the
huge overhead of loading it from memory stick?
This assumes of course, that the file was preloaded when the main program started.

We know that index.lua is loaded into RAM before it is interpreted by LUAplayer,
allowing us to edit the file over USB while it is running, but if your index.lua
file contains the line: dofile "index.lua", the file is reloaded from memory
stick, even though it already exists in RAM.
Art.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group