Homebrew [WIP] 3DeSmume (DS emulator for 3DS)

shutterbug2000

Cubic NINJHAX!
OP
Member
Joined
Oct 11, 2014
Messages
1,088
Trophies
0
Age
29
XP
4,878
Country
United States
That's what I was thinking after posting that. It's likely the source format is not ARGB, but ABGR. Let me fiddle with my code a sec.

Try this...

Code:
unsigned int ABGR1555toRGBA8(unsigned short c)
{
    const unsigned int a = c&0x8000, b = c&0x7C00, g = c&0x03E0, r = c&0x1F;
    const unsigned int rgb = (r << 27) | (g << 14) | (b << 1);
    return ((a * 0xFF) >> 15) | rgb | ((rgb >> 5) & 0x07070700);
}

That works! WOOHOO! :D
 

shutterbug2000

Cubic NINJHAX!
OP
Member
Joined
Oct 11, 2014
Messages
1,088
Trophies
0
Age
29
XP
4,878
Country
United States
gKGSVu1.jpg

:D
 

shutterbug2000

Cubic NINJHAX!
OP
Member
Joined
Oct 11, 2014
Messages
1,088
Trophies
0
Age
29
XP
4,878
Country
United States
I noticed the bottom screen was black. Have you tried running with both screens, or has it not bee implemented yet?

No, It doesn't run with both screens yet.

Also, I JUST realized. Don't you have to specifically enable the N3DS clockspeed? If so... I've been testing ON O3DS speeds. :wtf:
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: @K3Nv2, RIP Felix does great videos on the PS3 yellow-light-of-death.