Homebrew RELEASE [Not really a release]DeSmuME with JIT

catlover007

Developer
OP
Developer
Joined
Oct 23, 2015
Messages
722
Trophies
1
XP
3,957
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,957
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,957
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,957
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
  • Psionic Roshambo @ Psionic Roshambo:
    So are you playing Mario on your Xbox online on that PlayStation Network?
    +2
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, on that android PC?
    +2
  • BigOnYa @ BigOnYa:
    I'd consider Chromebooks an Android PC.
    +2
  • BigOnYa @ BigOnYa:
    Damn, new Doctor Who is on tomorrow... Hopefully this season is better than the last.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, never watched doctor who
  • BakerMan @ BakerMan:
    well guys, i went to the library today
  • BigOnYa @ BigOnYa:
    What did you learn?
  • BakerMan @ BakerMan:
    since my sister said manga was a good gateway into anime, i decided to get a manga, i was going to get one punch man, but volume 1 wasn't there
  • AncientBoi @ AncientBoi:
    Well, what about Dr. What? Don't leave him out. @BigOnYa
    +2
  • BakerMan @ BakerMan:
    and so i got mashle instead, which is actually quite good
  • O @ OhHiNick:
    GUYS YOU CAN LAUNCH HEALTH AND SAFETY INFO IN AROMA NOW
  • Xdqwerty @ Xdqwerty:
    @BakerMan,i only watched anime
  • BakerMan @ BakerMan:
    for anyone wondering what that is, basically, it's about the one person in the world without magic, instead he's just dummy strong
  • BigOnYa @ BigOnYa:
    Dr. What and Dr. Where got lost together somewhere in time, Dr. When is looking for them
    +1
  • BakerMan @ BakerMan:
    What about Dr. How?
  • BakerMan @ BakerMan:
    OR DR. WHY?
  • O @ OhHiNick:
    @Xdqwerty sorry i get excited when i get to see what type of laser the wii u uses
  • AncientBoi @ AncientBoi:
    They ALL went to Nurse Why's house
  • BakerMan @ BakerMan:
    fun fact: SCPs started from some Dr. Who fanfic or smth on 4chan
  • BigOnYa @ BigOnYa:
    Dr How and Why, will be in the prequel
    +2
  • Xdqwerty @ Xdqwerty:
    @BakerMan, or dr when
  • O @ OhHiNick:
    dr what
    +1
  • AncientBoi @ AncientBoi:
    ooohhh the steamy scene with Nurse Why. omg :blush:
    +1
  • BigOnYa @ BigOnYa:
    @Xdqwerty is Dr. Wut
    +2
    BigOnYa @ BigOnYa: @Xdqwerty is Dr. Wut +2