[Solved] Problem with oslAddVirtualFileList

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
DAanDASja
Posts: 17
Joined: Sun Oct 14, 2007 8:58 am

[Solved] Problem with oslAddVirtualFileList

Post by DAanDASja »

Solved.
Last edited by DAanDASja on Mon Sep 07, 2009 5:39 am, edited 1 time in total.
jojojoris
Posts: 255
Joined: Sun Mar 30, 2008 4:06 am

Post by jojojoris »

why:

Code: Select all

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: Select all

int main(){
     SetupCallbacks();
     makeNiceGame();
     sceKernelExitGame();
}
DAanDASja
Posts: 17
Joined: Sun Oct 14, 2007 8:58 am

Post by DAanDASja »

It does not matter. It also won't work with only 2 brackets.
Ok, new problem, now I get this error:
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.
Post Reply