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 

[Solved] Problem with oslAddVirtualFileList

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



Joined: 14 Oct 2007
Posts: 17

PostPosted: Mon Sep 07, 2009 1:33 am    Post subject: [Solved] Problem with oslAddVirtualFileList Reply with quote

Solved.

Last edited by DAanDASja on Mon Sep 07, 2009 5:39 am; edited 1 time in total
Back to top
View user's profile Send private message
jojojoris



Joined: 30 Mar 2008
Posts: 261

PostPosted: Mon Sep 07, 2009 3:37 am    Post subject: Reply with quote

why:
Code:
ram_files[] ={{"ram:/picture.png", (void*) picture_data, sizeof(picture_data), &VF_MEMORY}};

why 2 times a { and 2 times }? is one not enough?
_________________
Code:
int main(){
     SetupCallbacks();
     makeNiceGame();
     sceKernelExitGame();
}
Back to top
View user's profile Send private message
DAanDASja



Joined: 14 Oct 2007
Posts: 17

PostPosted: Mon Sep 07, 2009 4:04 am    Post subject: Reply with quote

It does not matter. It also won't work with only 2 brackets.
Ok, new problem, now I get this error:
Quote:
relocation truncated to fit: R_MIPS_GPREL16 against `VF_MEMORY'


Any idea?

EDIT: Ok, I just had to delete the .o File. It's working now.
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 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