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
  • NinStar @ NinStar:
    never heard of that developer
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, was my anti hate trolling shitbox messages recorded
  • AncientBoi @ AncientBoi:
    :O Holy Cow 60 Miles !
  • NinStar @ NinStar:
    why people use miles
  • K3Nv2 @ K3Nv2:
    At 60 miles I'd just use instacart
    +1
  • K3Nv2 @ K3Nv2:
    @NinStar, cause 8 miles and runnin
  • RedColoredStars @ RedColoredStars:
    LOL! I'd lmao if they put a gay ride in the little arcade section they have in this walmart. It could be like the horses rides you put quarters in, except it would be like the ambiguously gay duo cartoon & you sit on top of the other guy thats in a "flying" position. LMAO!
    +1
  • K3Nv2 @ K3Nv2:
    I'm pretty sure parents would have an issue with gay rides
    +1
  • RedColoredStars @ RedColoredStars:
    There is zero instacart delivery to here. No door dash. No Uber. Notta. Its a small farming community
    +1
  • Sicklyboy @ Sicklyboy:
    eagerly awaiting 4x 8TB HDDs to get delivered today
  • RedColoredStars @ RedColoredStars:
    So I drive the 30 miles there, spend $100-$150 on groceries, and drive back home. Still saved $$$ after gas over shopping locally.
    +1
  • K3Nv2 @ K3Nv2:
    You'd think you could make deals with local farmers
  • AncientBoi @ AncientBoi:
    :unsure::unsure::unsure: I could make a killing there doing instcart there :D @RedColoredStars
  • RedColoredStars @ RedColoredStars:
    It makes the trip even more worth it if I'm out of my medication and need to stop by the medical dispensary. I try to line the two up to avoid extra trips.
    +1
  • RedColoredStars @ RedColoredStars:
    @AncientBoi, Except the town is pretty MAGA infested. People still flying TRUMP 2016 flags all over. They didnt get the memo the year changed since then. lol.
    +1
  • RedColoredStars @ RedColoredStars:
    They passed a city ordinance last month. No smoking cannabis in public. Not even eating gummies. $300 fine and misdemeanor charge if caught. People can walk down the street smoking cigs and tossing the butts all over, but God forbit someone take a couple puffs of their medication.
    +1
  • RedColoredStars @ RedColoredStars:
    First off, it's recreationally legal here. Secondly, I have a prescription from my doctor and approved by the state. But still a fucking criminal.
    +1
  • RedColoredStars @ RedColoredStars:
    Like at bars. Cant sit outside even in the smoking section and take a few puffs. Yet I have to breath the cig smoke from 20 people chain smoking all night in every direction around me.
  • K3Nv2 @ K3Nv2:
    Honestly I feel like Trump is going to crush Biden just because of the trial
  • RedColoredStars @ RedColoredStars:
    They cite
    public health and safety concerns" LMAO!!! Yet they do nothing about the poison drinking water quality.
  • K3Nv2 @ K3Nv2:
    The look at how they treated me card is powerful within dumb voters
  • RedColoredStars @ RedColoredStars:
    A Trump win is certainly a possibility. If he's reelected, 4 more years then no one has to worry about him being president ever again. I survived last time, I'll survive it if there's a next time. Don't know how anyone could vote for the guy, but I'm also not anyone else but me.
  • K3Nv2 @ K3Nv2:
    Honestly things were cheaper with Trump but that's tounge and cheek could be exactly the same outcome if he won reelection
  • RedColoredStars @ RedColoredStars:
    All of the fake "Christians" vote for him even though he's broken like 8 of the 10 commandments... that we know of. Maybe all 10. LOL
  • K3Nv2 @ K3Nv2:
    A president is just a public figure within America
    K3Nv2 @ K3Nv2: A president is just a public figure within America