[SWITCH] VBA-Next Switch v0.6

Avatar du membre
Messages : 8306
Enregistré le : 07 août 2007 9:04
Localisation : Maubeuge

[SWITCH] VBA-Next Switch v0.6

Message par Cid2Mizard » 06 juin 2018 7:15

RSDuck porpose la version 0.6 de "VBA-NEXT Switch", portage de l'émulateur Gameboy Advance "VBA-Next" pour la nintendo Switch.

A VBA-M port for Nintendo Switch. It's based of the libretro port(the actual emulator) and 3DSGBA(the GUI, although heavily refactored).

After porting 3DSGBA(which often crashed probably because of a huge amount of memory leaks), I tried porting mGBA which ran not so well. That's why I decided to experiment with a lighter less accurate emulator, which lead to this port.

Needs libnx and devkitPro to build. Just run make.

Quite high compability(haven't tried many games)
Save games and save states


In rare occasions the audio has problems
Video and Input not frame accurate(see Speed hack)

Speed hack

Before implementing this "speed hack" the emulator had regular slowdowns. Although I found out about these things by myself, these things might be common knowledge to emulator devs. These were the things which apparently slowed the emulator down:

The thread/core it's running on
The VSync

The first problem was solved by running the whole emulator in a second thread with a very high priority pinned to a core not used by the system.

Omitting the wait for vertical synchronisation lead naturally to artefacts. So I decided on only running the emulator inside the second thread, locked using sleep thread to 60 Hz. At the same time the main thread is locked by the vsync and only receives the framebuffer while sending the input. I left the audio in the emulator thread.

This leads of course to the problem that both threads, although locked to 60 Hz, may not run in sync, so the input or the graphics of a frame may be skipped or out of sync sometimes.


Complete UI overhaul. Now it looks almost native!
Setting to offset the real time clock

Again thanks to @dene-, who's responsible for the UI improvements and @jakibaki who's our expert for RTC and saving.
Téléchargement :
(NRO) : vba-next v0.6.zip
Source : gbatemp.net
Site Officiel : github.com


Retourner vers « HOMEBREWS SWITCH »