Yeah, you read that right.
I have been working quite a bit on porting Desmume to the 3DS. As it stands, it:
Appears to run at a decent fps
Has massive graphical corruption
Can't do much of anything do to lack of input support.
Not only did I make this thread to keep people updated on the project, I also need some help.
I'm not the most experienced with sf2dlib, so I end up with graphical corruption. If anyone with experience with sf2dlib would want to provide some tips/advice as to what could be going wrong, here's the rendering code:
Code:
for(i=0; i < 256*192; i++)
{
dstA[i] = src[i]; //Screen buffer to top screen buffer
dstB[i] = src[(256*192)+i]; //Screen buffer to bottom screen buffer
}
sf2d_texture *texture = sf2d_create_texture(256, 192, TEXFMT_RGB5A1, SF2D_PLACE_RAM);
void* texturedata = texture->data;
u16* texturedata16 = (u16*)texturedata;
for(x=0; x < (256*192); x++){
texturedata16[x] = dstA[x];
}
Thanks!
BTW, please no spamming. Lets actually try to keep the discussion on topic, shall we? Thanks
.
EDIT:
http://gbatemp.net/threads/early-w-i-p-ds-emulation-on-3ds.430223/page-6#post-6430835