Commit Graph

525 Commits

Author SHA1 Message Date
BearOso
da23559f2f Gtk: Add wayland-client as wayland dep. 2022-01-31 16:32:27 -06:00
BearOso
f56b1e7668 Gtk: Wayland: Add idle inhibitor. 2022-01-30 21:23:33 -06:00
BearOso
c8ffda83e7 Gtk: Set default background to starfield. 2022-01-30 18:34:51 -06:00
BearOso
eb2c993a91 Update version and copyright for 1.61. 2022-01-30 17:52:50 -06:00
BearOso
34b6160805 pulseaudio: Fix potential stall with Pipewire
Pipewire allows very small buffer sizes. It's possible that Snes9x
will accumulate enough samples in fast-forward to exceed this.
Instead of waiting forever for the buffer capacity to free up, just
write the number of samples for the free space after one small wait.
2021-12-20 12:21:43 -06:00
BearOso
cf2d1bf791 Gtk: OpenGL: Fix non-PBO output path. 2021-05-15 11:23:12 -05:00
BearOso
da4bd2a018 Gtk: Make sound driver check a little simpler. 2021-05-15 11:23:12 -05:00
BearOso
364aa1ba5d Gtk: OpenGL: Use correct screen for fbconfig. 2020-11-04 13:11:28 -06:00
BearOso
77fb6ff958 Gtk: Unthread preferences creation. 2020-11-04 12:55:25 -06:00
BearOso
2bab4c41b1 Revert "Gtk: OpenGL: Try to ensure window is mapped."
This reverts commit c4a269b32a.
2020-11-04 12:54:44 -06:00
BearOso
b4de90a0f1 Revert "Gtk: Reorder init."
This reverts commit a9a9b0fafb.
2020-11-04 12:41:55 -06:00
BearOso
a9a9b0fafb Gtk: Reorder init.
This should give the window time to create, and we ensure Gtk
has a main loop iteration so it's done.
2020-11-04 12:10:30 -06:00
BearOso
c4a269b32a Gtk: OpenGL: Try to ensure window is mapped. 2020-11-04 12:03:28 -06:00
BearOso
c283df610c Fix misspelling.
Complement, not compliment.
2020-11-03 10:28:01 -06:00
BearOso
bb622bdf5b Add a compat.cpp file for compatibility symbols. 2020-09-07 10:57:17 -05:00
BearOso
2fc8b40e0e Gtk: Fix '&' in rom info dialog. 2020-08-24 14:21:24 -05:00
BearOso
6d1d0ab121 Gtk: Still use theme icon if available. 2020-08-23 17:47:27 -05:00
BearOso
4c3d043880 Gtk: Update built-in mini-icon. 2020-08-23 17:46:25 -05:00
BearOso
1fc5a2d4d6 Gtk: Fix crash when no icon is found. 2020-08-23 17:17:55 -05:00
BearOso
95c7fdad1f Gtk: Thread preferences creation. 2020-08-23 16:28:01 -05:00
BearOso
a3c0c4621d Gtk: Don't pass arguments to gtkmm application.
It tries to usurp the filename argument.
2020-08-09 14:28:20 -05:00
BearOso
03d3f69a0c Gtk: Shaders: Use our copy of glslang headers
Add include to compiler command to prevent use of system headers.
2020-08-08 12:01:10 -05:00
BearOso
e705e71a97 Remove S9xChooseMovieFilename
This is integration of the frontend with the core. Disable
the button mappings that use it. The frontend should implement on
its own.
2020-08-07 14:08:51 -05:00
BearOso
f04f1bbe44 Remove S9xChooseFilename
This is integration of the frontend with the core. Disable
the snapshot button mappings that use it. Any frontend should
implement those port commands its own.
2020-08-07 14:08:51 -05:00
BearOso
063b3a959c Move _splitpath and _makepath into core. 2020-08-07 14:08:51 -05:00
BearOso
e322bbf109 Remove S9xSetPalette 2020-08-07 14:08:51 -05:00
BearOso
bdd061847e Gtk: Fix recent menu. Add game name to title. 2020-07-30 18:24:54 -05:00
BearOso
6e9cfce6f1 Gtk/Shaders: Use embedded copy of glslang. 2020-07-29 18:32:46 -05:00
Brandon Wright
fd88971598 Gtk: Don't expand shader parameter widgets. 2020-07-27 17:58:03 -05:00
Brandon Wright
a20e726ca2 Gtk: Add gthread library dependency. 2020-07-21 14:17:15 -05:00
Keith Bowes
edb4866671 Indicate Meson version 2020-07-21 13:49:13 -04:00
Brandon Wright
e17ff69533 Gtk: Switch codebase to gtkmm.
GTK: Remove support for GTK+ 2.0.

GTK 3 is stable and widespread enough now.

GTK: Rearrange headers to eliminate gtk_s9xcore.h

Gtk: Initial gtkmm conversion work.

Gtk: More gtkmm conversion and bug fixing.

Gtk: More gtkmm fixes.

Gtk: More Fixes

OpenGL no longer creates a second window.
Accelerators are fixed.

Gtk: More fixes

Removed GLX context dependency on Gtk.

Gtk: Fix formatting.

Gtk: Remove a #pragma once
2020-07-17 14:48:34 -05:00
Brandon Wright
3c3ea985ef GTK: Refactoring of display output code.
Moves buffer management to single location.
2020-06-30 17:28:10 -05:00
bearoso
341a6c7aea
Merge pull request #636 from LinRs/zh_CN
GTK: Add Simplified Chinese translations
2020-06-30 14:14:46 -05:00
bearoso
fd558dbd05
Merge branch 'master' into master 2020-06-30 14:13:50 -05:00
Brandon Wright
0f0914cca5 GTK: Config code cleanup. 2020-06-21 15:25:54 -05:00
AlexApps99
9e91d9d8ae Fixed sound playing while in turbo after pause
(this may break other aspects of audio around pausing)
2020-06-21 22:02:08 +12:00
AlexApps99
4f3e6681ef Added rewind to turbo mute 2020-06-21 21:46:27 +12:00
Brandon Wright
5c3fbf6740 Fix some warnings.
Removed sstrncpy function.
Changed bindings in GTK port to std::array and fixed packing nonsense.
2020-06-20 10:44:11 -05:00
Pablo Lezaeta Reyes
bbdc7e2f21 Update Spanish Translation
Signed-off-by: Pablo Lezaeta Reyes <jota@Jota-PC.localdomain>
2020-06-12 02:51:13 -04:00
pablo Lezaeta Reyes
d607c1e38d Update translations [placeholder]
Signed-off-by: pablo Lezaeta Reyes <jota@Jota-PC.localdomain>
2020-06-12 02:39:28 -04:00
LinRs
abfa59945d GTK: Add Simplified Chinese translations 2020-03-04 21:48:00 +08:00
Kirill Isakov
537fe6c637 Fix SPIRV linking error on Ubuntu/Debian 2019-12-15 21:57:52 +06:00
Dan Church
c5bd183b2b
Fix GCC unused function/variable warnings 2019-11-14 10:39:02 -06:00
Brandon Wright
a6e423a413 GTK: Allow SPIRV includes in glslang directory.
Fixes build for Arch Linux's glslang package.
2019-11-12 16:22:34 -06:00
Brandon Wright
0258422be8 GTK: Oops. Add particle files. 2019-11-10 12:46:40 -06:00
Brandon Wright
19f7423f42 GTK: Add a couple animated background splashes. 2019-11-08 17:05:36 -06:00
Brandon Wright
00da664a60 GTK: Don't change config directory mode every time.
This triggers something laggy in GNOME environment.
2019-10-10 18:50:36 -05:00
Brandon Wright
ee6463a30f GTK: Pass a burst phase to Blargg NTSC blitter.
It's supposed to alternate 0, 1, 2.
2019-09-14 19:52:35 -05:00
Brandon Wright
2971fbb39b GTK: Remove particle build definitions. 2019-09-08 15:19:15 -05:00