Homebrew RELEASE [Not really a release]DeSmuME with JIT

catlover007

Developer
OP
Developer
Joined
Oct 23, 2015
Messages
722
Trophies
1
XP
3,958
Country
Germany
Before this starts to rot on my hard drive, I'm going to release it.

Someone might have a use for this:
https://github.com/RSDuck/desmume-nx

Feel free to ask me any questions, but I'm probably not going to develope it further. If you're looking for a Nintendo DS emulator, you're probably better off using melonDS.
 

catlover007

Developer
OP
Developer
Joined
Oct 23, 2015
Messages
722
Trophies
1
XP
3,958
Country
Germany
It runs but really slow, I don't think the build above has JIT enabled or even OC.
It does have the JIT enabled and it overclocks the CPU to 1.2 GHz, though it currently spits tons of debug output and the JIT isn't very efficient. Also 3D games should only run marginally faster, because the main bottleneck for them is still the rasteriser and not the CPU
 

catlover007

Developer
OP
Developer
Joined
Oct 23, 2015
Messages
722
Trophies
1
XP
3,958
Country
Germany
can set it so we can pick the oc speed?
no, this isn't meant as an end user ready product. I think haven't made it clear, the developement has now come to a point where there's not much possible anymore to improve the slow emulation speed.

If you want Nintendo DS emulation on your Switch, go with melonDS
 

arianadark

Well-Known Member
Member
Joined
Nov 20, 2016
Messages
724
Trophies
0
Age
46
XP
1,825
Country
United States
no, this isn't meant as an end user ready product. I think haven't made it clear, the developement has now come to a point where there's not much possible anymore to improve the slow emulation speed.

If you want Nintendo DS emulation on your Switch, go with melonDS
ok
 

tabnk

Well-Known Member
Member
Joined
Jan 20, 2016
Messages
290
Trophies
0
Age
42
XP
1,846
Country
United States
So, I actually continued this. I optimised the JIT a bit and also ported the OpenGL renderer and it's still bad

EDIT: when I mean bad, I mean about 30 FPS with Mario Kart, full overclock and OGL renderer

3DS game maybe slow but 2D games should be fine.
 

TheMrIron2

Well-Known Member
Member
Joined
Aug 5, 2017
Messages
218
Trophies
0
XP
978
Country
Ireland
3DS game maybe slow but 2D games should be fine.
Not necessarily. As someone who worked on DSonPSP, I ran into an interesting issue where 3D games would in theory actually run better than 2D games because the 3D games can have more hardware GPU assistance than 2D games, in which the latter have everything done on the CPU because modern GPUs don't deal with sprites and the like anymore.
Edit: Not saying the Switch is this badly bottlenecked, but 2D games do not necessarily run better - the CPU does more work with 2D games, and for 3D games the GPU can take all graphics workload without breaking a sweat.
 
Last edited by TheMrIron2,

catlover007

Developer
OP
Developer
Joined
Oct 23, 2015
Messages
722
Trophies
1
XP
3,958
Country
Germany
Not necessarily. As someone who worked on DSonPSP, I ran into an interesting issue where 3D games would in theory actually run better than 2D games because the 3D games can have more hardware GPU assistance than 2D games, in which the latter have everything done on the CPU because modern GPUs don't deal with sprites and the like anymore.
Edit: Not saying the Switch is this badly bottlenecked, but 2D games do not necessarily run better - the CPU does more work with 2D games, and for 3D games the GPU can take all graphics workload without breaking a sweat.
The problem lies in the way DeSmuME handles the 3D, atleast in the newest version. It constantly transfers things from main memory to VRAM and back. And in the end it still does expensive operations like window testing are on the CPU.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    That Dell data breach is worse than people probably realize....
  • Psionic Roshambo @ Psionic Roshambo:
    When I worked for Dell we had access to data about military contracts and addresses for high ranking people.
  • Psionic Roshambo @ Psionic Roshambo:
    I personally handled a call from the second highest person at Raytheon. That call bothered me a lot... The guy was nice and smart what bothered me was the way management basically just blew him off instead of going the extra mile to help him.
  • Psionic Roshambo @ Psionic Roshambo:
    In the end that call ended up costing Dell millions in lost contracts with Raytheon, and really the issue could have been solved for like 450 bucks lol
  • NinStar @ NinStar:
    sometimes I wonder why anyone would ever buy mega man x legacy collection 2
  • NinStar @ NinStar:
    I always thought that capcom shuffled the games in these collection, but apparently they are all in chronological order, which makes legacy collection 2 worthless
  • BakerMan @ BakerMan:
    guys, i want to start singing pirate metal songs and sea shanties if i play sea of thieves
  • The Real Jdbye @ The Real Jdbye:
    find a pirate metal playlist
    +2
  • The Real Jdbye @ The Real Jdbye:
    and sing along
  • BakerMan @ BakerMan:
    nevermind i just learned swearing is against the rules in sea of thieves

    i was about to start singing the song i last put in "what song are you currently listening to" yesterday
  • BakerMan @ BakerMan:
    but yeah ig so
  • The Real Jdbye @ The Real Jdbye:
    swearing not allowed in a pirate game? what has the world come to
  • BakerMan @ BakerMan:
    (here's the song for context)
  • BigOnYa @ BigOnYa:
    Just add -izle to the end of every curse word, you will be fine.
    +2
  • The Real Jdbye @ The Real Jdbye:
    i like alestorm
    +1
  • The Real Jdbye @ The Real Jdbye:
    @BigOnYa too many syllables
    +1
  • BakerMan @ BakerMan:
    same lmao
  • BigOnYa @ BigOnYa:
    hi, welcome to the Temp!
    +1
  • BakerMan @ BakerMan:
    Welcome to the Underground!
    +1
  • BakerMan @ BakerMan:
    the booty boogie from (once again) the donkey kong country cartoon could also be a good song to sing while playing sea of thieves
  • BigOnYa @ BigOnYa:
    Please insert 25 cents for an additional 30 minutes of talk time.
    +2
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=tG7fk_DUz5g +1