Commit Graph

6548 Commits

Author SHA1 Message Date
Emmanuel Gil Peyrot 96bc8977bd GTK: Replace GtkTable with GtkGrid, in a UI string 2020-09-01 20:47:44 +02:00
Emmanuel Gil Peyrot d680c4be51 GTK: Use modern GDK accessors to its Cairo context 2020-09-01 20:47:44 +02:00
Emmanuel Gil Peyrot 13b5c0fd01 GTK: Migrate from gtk_main() to GtkApplication
This will make it possible to use GAction to replace the deprecated
GtkAction and GtkToggleAction and such.
2020-09-01 20:47:44 +02:00
Emmanuel Gil Peyrot cc9d7a1450 GTK: Replace GtkFileChooserDialog with GtkFileChooserNative
This one uses the native file chooser the user is used to, which can be
GTK’s on Linux but a more familiar one on other OSes.  If
xdg-desktop-portal is installed, it can even use the DE’s native one on
Linux.
2020-09-01 20:47:44 +02:00
Emmanuel Gil Peyrot c1efe4f475 GTK: Remove usage of deprecated GtkMisc 2020-09-01 20:47:44 +02:00
Emmanuel Gil Peyrot eabfcb71be GTK: Replace deprecated GtkVBox/GtkHBox with GtkBox 2020-09-01 20:47:44 +02:00
Emmanuel Gil Peyrot e4b07d2f4d Name various threads to ease debugging 2020-09-01 00:05:27 +02:00
Emmanuel Gil Peyrot 5428763559 task: Add the ability to name threads 2020-08-31 23:56:14 +02:00
Emmanuel Gil Peyrot e70e065ffe rthreads: Add the ability to name threads 2020-08-31 23:56:14 +02:00
Emmanuel Gil Peyrot 917db3ecac rthreads: Fix documentation (void function doesn’t return) 2020-08-31 23:56:14 +02:00
Emmanuel Gil Peyrot 4c53f62967 GTK: Remove deprecated gtk_widget_modify_bg()
If we want to change the style of a widget, we should use CSS nowadays.
2020-08-29 23:13:24 +02:00
Emmanuel Gil Peyrot e808897c47 GTK: Reenable deprecation warnings
At this point we got a fully (?) functional gtk3 port, but it uses a ton
of deprecated functions that will be removed in gtk4.  Better enable the
warnings so that we know what to fix before then.
2020-08-29 20:53:15 +02:00
Emmanuel Gil Peyrot 81f0ded5b6 GTK: Restore drawing capability
The expose_event signal has been renamed draw.
2020-08-29 20:53:15 +02:00
Emmanuel Gil Peyrot 89f5e50039 GTK: Use accessor to retrieve GtkAdjustment value 2020-08-29 20:53:15 +02:00
Emmanuel Gil Peyrot 87c2377c6a GTK: Fetch widget’s window with the relevant function
At this point, this version builds.  It is full of deprecated widgets
and functions though, which will have to be cleaned over time.  It also
doesn’t display any visuals in the DS emulation part yet.
2020-08-29 20:53:15 +02:00
Emmanuel Gil Peyrot cdbad3d05a GTK: Fetch dialogs’ content area with the relevant function 2020-08-29 20:53:15 +02:00
Emmanuel Gil Peyrot 3927aa4422 GTK: Rename GDK keys to their new name 2020-08-29 20:53:15 +02:00
Emmanuel Gil Peyrot 70733a55b4 GTK: Switch to gtk3 instead of gtk2
All deprecation warnings are disabled for now, they will be reenabled at
a later point.
2020-08-29 20:53:15 +02:00
Emmanuel Gil Peyrot 6823aed6dd GTK: Add a meson build system 2020-08-29 20:53:15 +02:00
Emmanuel Gil Peyrot 2a5150ff7d GTK: Add missing include when neither OSMesa nor GLX are enabled 2020-08-29 04:06:56 +02:00
Emmanuel Gil Peyrot 8e31ecd9c4 Remove executable bit from source files 2020-08-29 01:31:52 +02:00
zeromus f6064006d2 re-add windows specific stuff, properly ifdefing it? (should fix #360) 2020-08-19 17:11:27 -04:00
zeromus 79c6ab430a
Merge pull request #357 from Yackerw/master
Add many debugging features
2020-08-19 00:39:22 -04:00
zeromus e654d1e7e9 winport - fix OamView bug (proper obj priority wasn't being used when rendering it, causing many composite sprites to be rendered more or less in the opposite Z-order due to LATER obj drawing on top (whereas lower obj are supposed to draw on top). fixes #358 2020-08-16 19:38:58 -04:00
Yackerw 7591028509 Removed Windows specific stuff 2020-08-15 20:07:34 -04:00
Yackerw 5bd5c630f1 Added debugging tools
Breakpoints, memory breakpoints, made disassembler better in general
2020-08-15 16:02:38 -04:00
zeromus 316103d2ec
Merge pull request #352 from PypeBros/master
Fix directory crawling on symlink-capable systems
2020-08-06 14:47:48 -04:00
PypeBros 5a368922c9 Fix directory crawling on symlink-capable systems 2020-08-06 18:34:14 +02:00
zeromus 209dfca35f fix chinese filenames in savestates and dct files (fixes #343) 2020-07-12 14:33:26 -04:00
zeromus fc3d81e73a cleanups related to prior commits 2020-06-18 15:58:16 -04:00
Mattia Rombi 622b763bf1 Use DeSmuME name - but not in firmware.cpp
1. didn't like every line in the file being touched
2. DESMUME_NAME is cosmetic; it may have had special meaning in this file. I didnt feel like investigating it any more
2020-06-18 15:53:21 -04:00
Mattia Rombi ebf073e5c0 Update .gitignore for Visual Studio 2020-06-18 21:14:50 +02:00
Mattia Rombi 357843c543 winport: add title size check and fixed code style/typo 2020-06-18 21:14:50 +02:00
Mattia Rombi 3466c7f69a winport: update main window title with current game 2020-06-18 21:14:50 +02:00
zeromus 3ec927de75
Merge pull request #331 from thesourcehim/master
GTK: fix audio interpolation mode not being saved or loaded from config
2020-05-10 09:32:05 -04:00
thesource f007ef655e GTK: fix audio interpolation mode not being saved or loaded from config 2020-05-10 16:29:01 +03:00
zeromus 255f5c8b91
Merge pull request #330 from davg-qqq/feat-linux-msaa-ui
Linux GTK Port: Fix config for new MSAA options
2020-05-08 18:18:27 -04:00
davg-qqq 4186c33745 Linux GTK Port: Fix config for new MSAA options
a289055e removed the code that updated the old "multisampling enabled"
config. This fix adds a new config value for the multisampling size and
updates the old config in sync. When loading the config, the new
multisampling size value is prioritized, but if it is 0 (possibly not set)
then it falls back to the previous logic using the old boolean config
value.
2020-05-09 00:07:38 +02:00
zeromus 1305dd1e49
Merge pull request #329 from davg-qqq/feat-linux-msaa-ui
Linux GTK Port: Add more detailed MSAA options
2020-05-08 16:36:14 -04:00
davg-qqq a289055e1c Linux GTK Port: Add more detailed MSAA options 2020-05-08 22:21:18 +02:00
zeromus 76fafe0230 winport - fix drag & drop and recent roms menu so I can verify whether any of that stuff works in chinese 2020-05-05 02:00:58 -04:00
zeromus d4c17e5f8d winport - fix some unicode file opening crap 2020-05-05 01:49:14 -04:00
zeromus 1cc14031c9
Merge pull request #327 from davg-qqq/fix-osmesa-crash
Fix unhandled null causing crash when using osmesa with nvidia driver
2020-05-03 16:52:43 -04:00
davg-qqq a1791a24f0 Fix unhandled null causing crash when using osmesa with nvidia driver 2020-05-03 19:34:49 +02:00
zeromus d556c99771 Merge branch 'master' of https://github.com/TASVideos/desmume 2020-04-27 20:29:05 -04:00
zeromus 55253504e3 fix spurious warning in exporting battery save memory even when it works (fixes #325) 2020-04-27 20:28:56 -04:00
zeromus 2d1eee284c
Merge pull request #323 from lucianposton/fix-glade
Fix glade UI file path in local builds
2020-04-23 07:27:27 -04:00
Lucian Poston 827af7a494
Update GLADEUI_UNINSTALLED_DIR to current dir hierarchy 2020-04-23 05:21:15 -05:00
Lucian Poston bf5065859b
Add debug output when failing to find glade ui file 2020-04-23 05:19:50 -05:00
zeromus 7fdf800b58 fix ddraw HW breaking after windows lock screen 2020-04-22 15:47:31 -04:00