Homebrew RELEASE [Not really a release]DeSmuME with JIT

catlover007

Developer
OP
Developer
Joined
Oct 23, 2015
Messages
721
Trophies
1
XP
3,925
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
721
Trophies
1
XP
3,925
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
721
Trophies
1
XP
3,925
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,839
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
721
Trophies
1
XP
3,925
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.
    K3Nv2 @ K3Nv2: Nut on the hill