DeSmuME is a Nintendo DS emulator
Go to file
rofl0r d5693c54cf cli frontend: fix 100% cpu when using gdb stub
the emulator thread was consuming 100% cpu even when the debugger was
active and execution paused.

a second pipe was added to gdb stub, which allows communication in
direction stub -> emulator/frontend, and also to infinitely block
in the frontend until the debugger returns control, for example
by typing "c" (continue) in gdb.

the other frontends use an inefficient method of running usleep(1000)
or similar in a loop, which will cause high cpu usage too, albeit not
a full 100% but more like 10-20%.

in order not to fill up the pipe with data for frontends that don't use
this mechanism, the functionality needs to be explicitly enabled.
(see functions added to gdbstub.h)

the functions added could in theory also be used to communicate
other data to the frontend, and optimally even replace all the locking
between the 2 sides.
2021-10-24 15:38:50 +00:00
.github/workflows Github action for interface build -- Corrected windows path 2021-03-07 12:03:52 +01:00
desmume cli frontend: fix 100% cpu when using gdb stub 2021-10-24 15:38:50 +00:00
tools delete vio2sf; kode54 decided to maintain it. see https://bitbucket.org/kode54/vio2sf 2016-03-19 07:37:36 +00:00
.gitignore Cocoa Port: Fix build errors that can occur when building on Xcode versions later than 10.3. 2021-08-26 14:32:25 -07:00
README.md change readme.md link to downloads since by far the most important single piece of information about desmume in 2021 is that you should download it. 2021-01-12 22:09:12 -05:00
license.txt does github want me to add this? 2017-02-28 15:11:58 -06:00

README.md

DeSmuME

AppVeyor CI Build Status

DeSmuME is a Nintendo DS emulator.

http://desmume.org/download