Porting an SDL game from Linux to the Wii May 04, 2009 08:18PM | Registered: 15 years ago Posts: 3 |
Re: Porting an SDL game from Linux to the Wii May 04, 2009 11:04PM | Registered: 15 years ago Posts: 2 |
Re: Porting an SDL game from Linux to the Wii May 05, 2009 12:03AM | Registered: 15 years ago Posts: 3 |
Re: Porting an SDL game from Linux to the Wii May 05, 2009 12:19AM | Registered: 15 years ago Posts: 3 |
Re: Porting an SDL game from Linux to the Wii May 05, 2009 12:26AM | Registered: 15 years ago Posts: 703 |
Quote
Is the root directory the default location where the wii will look for any files, then? I thought it was the folder where the dol is loaded from. It might just be a case of me sticking those files in the root folder :s
char* make_path(const char* path_rel) { #ifdef _WII_ static char abs_path[100] = {0}; sprintf(abs_path,"sd:/apps/radiow/%s",path_rel); return abs_path; #else return (char*)path_rel; #endif } ..... image = IMG_Load(make_path("my_image.png"));