Commit Graph

6335 Commits

Author SHA1 Message Date
Parakoopa 7b3da44f5a ABI: Changes to the core and other modules to be buildable on Win32 2021-01-31 14:15:03 +01:00
Parakoopa c7426e24b7 Binary interface: Windows: Newer SDL 1.2 version 2021-01-31 14:15:03 +01:00
Parakoopa 10414b1f1d Binary interface: Windows building 2021-01-31 14:15:03 +01:00
Parakoopa 1f37dcc0a0 Binary interface: Posix building 2021-01-31 14:15:03 +01:00
Parakoopa 97d1613421 First incomplete version of a binary interface 2021-01-31 14:15:03 +01:00
zeromus bb5849abec
Merge pull request #421 from MaddTheSane/patch-1
Add aarch64 string
2021-01-25 20:45:48 -05:00
zeromus 0942fb5c5b
Merge pull request #422 from MaddTheSane/patch-2
Update rthreads.c
2021-01-25 17:18:34 -05:00
C.W. Betts 11fe823bbd Update rthreads.c
Make it build again on macOS.
2021-01-25 14:50:44 -07:00
C.W. Betts 7f035acdaa
Add aarch64 string
Adds aarch64 to the lists of available DESMUME_PLATFORM_STRINGs.
Cherry-picked from 0d763b350a3ce0de7ee4d965ca54c5f3af4373f8.
2021-01-25 14:12:55 -07:00
zeromus 44282bc151
Merge pull request #367 from linkmauve/thread-names
Give thread names to ease debugging
2021-01-21 11:06:28 -05:00
zeromus a04ebb8743
Merge pull request #419 from nicegamer7/github-actions
Fix GitHub Actions
2021-01-21 10:42:00 -05:00
nicegamer7 b873f898c0
fix github actions 2021-01-21 10:10:47 -05:00
zeromus 21af401263 make cheat database lookup based on crc instead of game ID, which locates the wrong file half the time when the cheat DB contains two entries with the same game ID (but differing crc). Left the serial check ADDITIONALLY as a backup in case of a crc collision 2021-01-19 22:46:00 -05:00
zeromus 9836f56312 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
zeromus dbff32fdaa dive into the N-layer muck of zip file opening and try to run amok on filenames with weird characters in them (should fix #412) 2021-01-07 16:53:59 -05:00
Emmanuel Gil Peyrot aeaf404177 Posix: Fix a few warnings in ctrlssdl.cpp 2020-12-25 03:08:16 +01:00
Emmanuel Gil Peyrot ac507ebdc0 GTK: Move more of the graphics dialog into its .ui file 2020-12-19 04:07:07 +01:00
Emmanuel Gil Peyrot 0e5dec143f GTK: Move emulation settings to a .ui file 2020-12-19 04:04:02 +01:00
Emmanuel Gil Peyrot b4b2781826 GTK: Move the menu into its .ui file 2020-12-19 03:23:54 +01:00
Emmanuel Gil Peyrot 5e051a981d GTK: Move graphics settings into its own .ui file 2020-12-19 01:44:05 +01:00
Emmanuel Gil Peyrot 21276a5a07 GTK: Move the main window into an .ui file 2020-12-19 01:35:28 +01:00
Emmanuel Gil Peyrot b568fbc5dc GTK: Move .ui string into a GResource
This makes it easier to edit those files in Glade or such, while keeping
it inside the final binary.

As a bonus, XML data is getting minified at the packing step.
2020-12-19 01:11:07 +01:00
Emmanuel Gil Peyrot 02e49123da CLI frontend: Add missing name to gdb thread
This broke in 101fa1ef58.
2020-12-16 21:55:52 +01:00
Emmanuel Gil Peyrot d503376558 filters: Fix warnings on gcc 2020-12-16 21:21:11 +01:00
zeromus 50a24fbbd7 fixed y-sorting that was messed up by the more convoluted multi-purpose indirect clipping approach that was added in early 2019 (e.g. 4cd19ce522 and e06d11f6df )
fixes SF bug 1724 (7th dragon HP renderer) but this was probably affecting many other games.
2020-12-15 00:58:19 -05:00
zeromus b138666bf6 fix misuse of SetWindowLongPtr 2020-12-14 22:32:31 -05:00
zeromus e5a7fbe634 add a log note when creating a backup state 2020-12-09 23:09:32 -05:00
Emmanuel Gil Peyrot dc60f82ace slot2: Remove bogus const on integer return type 2020-11-27 20:29:19 +01:00
Emmanuel Gil Peyrot 4d86151839 MMU: Use correct size_t type for iterations 2020-11-27 20:20:35 +01:00
Emmanuel Gil Peyrot baccf00674 Remove bogus static function declaration in header 2020-11-27 20:18:10 +01:00
Emmanuel Gil Peyrot eab1fb9583 GTK: Add debug logging on OpenGL initialisation issues
Thanks @thesourcehim for the suggestion!
2020-11-26 19:48:17 +01:00
Emmanuel Gil Peyrot 6e35440436 GTK: Set GL attributes before creating the SDL window
This apparently helps on the proprietary Nvidia driver.

Thanks @thesourcehim for debugging that!

Fixes #399.

Fixes #400.
2020-11-26 19:48:13 +01:00
Emmanuel Gil Peyrot 91f6e4a9ef Revert "Posix: Remove X11 dependencies"
This reverts commit 48d0717f82.

It was causing crashes when running on Xorg…

Fixes #398.
2020-11-20 22:01:57 +01:00
Emmanuel Gil Peyrot 49fda66b3b CI: Install SDL2 instead of SDL 1.2 2020-11-19 02:10:01 +01:00
Emmanuel Gil Peyrot 48d0717f82 Posix: Remove X11 dependencies
There is no code specific to X11 anymore, we can stop linking to it.
2020-11-19 02:05:34 +01:00
Emmanuel Gil Peyrot d319d2c6fb GTK: Use SDL2 instead of GLX for OpenGL context creation
GLX is tied to X11, while SDL2 works on many other platforms (including
native Wayland).
2020-11-19 02:04:57 +01:00
Emmanuel Gil Peyrot 101fa1ef58 Posix: Replace SDL 1.2 with SDL2
This is required for DeSmuME to start without X11, for instance on a
pure Wayland system.
2020-11-19 01:25:47 +01:00
Emmanuel Gil Peyrot 72386f28de GTK: Remove the libglade interface
It was unmaintained anyway, and the other one is a better base to start
from.  And if someone ever needs one of these files, they are preserved
in the git history anyway.
2020-11-18 23:38:29 +01:00
Emmanuel Gil Peyrot a5f13edb7f saves: Remove unused variable 2020-11-18 23:13:03 +01:00
Emmanuel Gil Peyrot c3ea512a0b saves: Remove redundant break 2020-11-18 23:12:42 +01:00
Emmanuel Gil Peyrot 02c0553977 saves: Remove noop allocation/deallocation
Compilers (at least gcc 10) were already reaching that conclusion, so
this shouldn’t change code generation at all.

This piece of code got introduced in commit
3eb9de4614 when upgrading to save state
version 1 (we’re at version 12), and commit
64073a2558 added some OOP on top of it so
that cp15 was in charge of handling that memory.  The code never got
cleaned until now.
2020-11-18 23:08:04 +01:00
Emmanuel Gil Peyrot 87cb2f648f encrypt: Simplify initialization code
This avoids destructors being even needed.
2020-11-18 22:38:36 +01:00
Emmanuel Gil Peyrot 7de7d6c1c5 GTK: Use correct icon name
a8e581dcf3 renamed it, but it never got
updated in the UI.
2020-11-18 21:28:45 +01:00
Emmanuel Gil Peyrot 8708460666 GTK: Remove unused static variable 2020-11-18 21:28:18 +01:00
Emmanuel Gil Peyrot 19147a8457 Linux: Remove the autotools build system
Fixes #394.
2020-11-07 21:02:00 +01:00
Dan Church 7ec93bce63 GTK: Use standard meson to install man pages 2020-11-07 20:52:16 +01:00
Emmanuel Gil Peyrot 25d7194779 GTK: Install the icon at its correct location 2020-11-04 12:41:11 +01:00
Emmanuel Gil Peyrot a8e581dcf3 GTK: Also rename the icon like the desktop file 2020-11-04 11:42:38 +01:00
Emmanuel Gil Peyrot 907cbf8308 Improve ARM runtime feature detection on Linux
getauxval(AT_HWCAP) is the best way to check for features on ARM and
AArch64, as it doesn’t require parsing a file, instead it just returns a
value provided by the kernel in our address space.

This commit should be synchronised with
https://github.com/libretro/libretro-common/pull/176
2020-11-04 00:34:25 +00:00
Emmanuel Gil Peyrot 7a7c1fbfc3 GTK: Add a metainfo file for Flathub 2020-11-04 01:31:17 +01:00