| View previous topic :: View next topic |
| Author |
Message |
DAanDASja
Joined: 14 Oct 2007 Posts: 17
|
Posted: Mon Sep 07, 2009 1:33 am Post subject: [Solved] Problem with oslAddVirtualFileList |
|
|
Solved.
Last edited by DAanDASja on Mon Sep 07, 2009 5:39 am; edited 1 time in total |
|
| Back to top |
|
 |
jojojoris
Joined: 30 Mar 2008 Posts: 261
|
Posted: Mon Sep 07, 2009 3:37 am Post subject: |
|
|
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 |
|
 |
DAanDASja
Joined: 14 Oct 2007 Posts: 17
|
Posted: Mon Sep 07, 2009 4:04 am Post subject: |
|
|
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 |
|
 |
|