Browse Source

raspberry pi is too slow for desmume

master
mortie 6 years ago
parent
commit
61ccecfd13
4 changed files with 1 additions and 56 deletions
  1. 0
    16
      emuconf/desmume/config
  2. 0
    33
      emuconf/desmume/config.cfg
  3. 0
    6
      js/emulate.js
  4. 1
    1
      server.js

+ 0
- 16
emuconf/desmume/config View File

[KEYS]
A=65293
B=65288
Select=101
Start=116
Right=65363
Left=65361
Up=65362
Down=65364
R=65366
L=65365
X=120
Y=121
Debug=49
Boost=50
Lid=51

+ 0
- 33
emuconf/desmume/config.cfg View File

[View]
ScreenLayout=2
SwapScreens=false
Rotation=0
ScreenGap=false
Filter=0
SecondaryFilter=3
ShowMenu=true
ShowToolbar=true
ShowStatusbar=true

[Window]
Scale2x=0
Fullscreen=true

[HudDisplay]
Fps=false
FrameCounter=false
LagCounter=false
Input=false
GraphicalInput=false
RTC=false
Mic=false

[Config]
FpsLimiter=true
AudoFrameskip=true
Frameskip=0

[Audio]
Enabled=true
Synchronization=0
Interpolation=1

+ 0
- 6
js/emulate.js View File

await shell.safe("vba", "--config", "emuconf/vba/vba.cfg", path); await shell.safe("vba", "--config", "emuconf/vba/vba.cfg", path);
} }


async function run_desmume(path, saves) {
await cpconf("desmume", ".config/desmume");
await shell.safe("desmume", path);
}

var emus = { var emus = {
nds: run_desmume,
gba: run_visualboy, gba: run_visualboy,
gbc: run_visualboy, gbc: run_visualboy,
}; };

+ 1
- 1
server.js View File



function updateGames() { function updateGames() {
if (driveMounted) { if (driveMounted) {
var rx = /\.(gba|gbc|nds)$/;
var rx = /\.(gba|gbc)$/;
fs.readdir(rompath, (err, list) => { fs.readdir(rompath, (err, list) => {
if (err) if (err)
throw err; throw err;

Loading…
Cancel
Save