Could you comment on what changes did you do for the GCW ports? That might be useful for other people who want to port stuff from Dingoo into the GCW...
Sure, if you are porting a previous OpenDingux app it was basicaly two things:
1) Change and create the save file directory, as squashfs is readonly:
system("mkdir -p /boot/local/home/.zeldaROTH_US/save/");
ofstream f(("/boot/local/home/.zeldaROTH_US/save/roth" + im.str() + ".dat").c_str(),ios::out | ios::binary);
ofstream f(("data/save/roth" + im.str() + ".dat").c_str(),ios::out | ios::binary);
2) Remap X/Y buttons due GCW-Zero layout:
#ifdef GCWZERO //GCW-Zero's X/Y
#define SDLK_p 304 //X USE ITEM
#define SDLK_x 32 //Y MAP
#else //DINGOO Y/X
#define SDLK_p 32 //X USE ITEM
#define SDLK_x 304 //Y MAP
If you're porting a Dingux Legacy app, maybe you have to do some adjusts at SDL_SetVideoMode flags before.
Thanks again for your effort Shin-NiL
You're welcome, my friend