Commit Graph

57 Commits

Author SHA1 Message Date
Brandon Wright
536c6708c3 GTK+: Various cleanups. 2018-12-03 17:32:12 -06:00
Brandon Wright
c21539d269 GTK+: Mandate Netplay, Joystick, JMA. 2018-12-03 17:32:12 -06:00
Brandon Wright
047cfe2f9d Use a sstrncpy function that behaves like strlcpy. 2018-11-18 11:18:27 -06:00
Brandon Wright
600de05244 String bounds-checking. 2018-11-17 18:41:37 -06:00
Brandon Wright
f0ddb097f9 Mark all of GTK+ with header stub, and a couple others. 2018-11-15 17:42:29 -06:00
Brandon Wright
a9cc03c06c GTK+: Consolidate includes to compat header. 2018-11-06 18:46:44 -06:00
Brandon Wright
0f15a398f9 GTK+: Fix GTK+ 2.0 compatibility again. 2018-11-06 18:04:10 -06:00
Brandon Wright
c5038bc9fe GTK+/style: Remove explicit returns in void funcs. 2018-11-02 16:48:20 -05:00
Brandon Wright
a04ccfc02c GTK+: Style: Remove voids from parameter list. 2018-11-02 15:52:26 -05:00
Brandon Wright
79b1ab0250 GTK+: Clean up speed throttling.
No more frameskip selection, only 4 options:

* Timer throttling to Settings.FrameRate
* Same, but skips frames when late
* Wait on sound buffer
* Don't throttle.

Dynamic rate control is automatically disabled for option 3.
2018-10-28 16:55:33 -05:00
Brandon Wright
94c2c4c460 Remove 24-bit PBO format. It's actually useless. 2018-10-27 15:33:55 -05:00
Brandon Wright
a0931d6058 More XRandR not to compile if not X11. 2018-10-22 15:08:11 -05:00
Brandon Wright
a48cbf72da Set output window size. 2018-10-22 14:53:12 -05:00
Brandon Wright
e70675db98 Basic OpenGL on Wayland. Fullscreen is broken. 2018-10-18 17:47:39 -05:00
Rémi Calixte
c6731024ca wayland: include X11 libraries only if it is an available GDK backend 2018-10-15 14:15:52 -05:00
Brandon Wright
0b75e2de9d GTK+: Add dangerous hacks. 2018-08-14 17:33:03 -05:00
Brandon Wright
651ec0bf7e More sanity checking. 2018-06-07 16:16:22 -05:00
Brandon Wright
8200a7bb5f Drop Cg shaders from GTK+ port. 2018-05-24 13:00:49 -05:00
Brandon Wright
d39e7af6d0 Move shader parameters to main menu and make dialog box non-modal so we can see changes in real time. 2018-05-24 12:20:06 -05:00
Brandon Wright
a42498b161 Fix a bunch of warnings. 2018-05-13 20:19:21 -05:00
Brandon Wright
7411df6c73 Make rewinding and bilinear filtering global Snes9x settings. 2018-05-13 17:31:25 -05:00
Brandon Wright
a1fa47a978 Remove GUI specifics in save function. 2018-05-13 11:02:52 -05:00
Brandon Wright
41a8ed53c4 Use correct name. 2018-05-12 16:25:47 -05:00
Brandon Wright
fac1174f6b Save shader parameters. 2018-05-12 16:22:27 -05:00
Brandon Wright
6ad137aca2 Work towards configurable parameters. 2018-05-12 15:07:07 -05:00
Brandon Wright
fdae8cc72f Add SuperFX overclock multiplier setting.
Our speed isn't nearly correct, so letting the users adjust it is OK.
2018-05-07 17:03:06 -05:00
Brandon Wright
27141e452e Set auto input rate box after input rate slider. 2018-05-04 17:56:57 -05:00
Brandon Wright
3668c5c7a2 Simplify XRR config. 2018-05-04 17:56:57 -05:00
Brandon Wright
5874559a3e Add automatic input rate checkbox. Use as default. 2018-05-02 17:43:32 -05:00
Brandon Wright
d726c6a8dd Mandate XRandR libraries and headers. 2018-05-02 16:53:54 -05:00
Brandon Wright
c48f212a8a Rework XRandR support to list all modes and refresh rates. 2018-04-28 18:36:40 -05:00
Brandon Wright
99f7e63972 Use GTK_MAJOR_VERSION macro instead of custom one. 2018-04-28 11:59:17 -05:00
Brandon Wright
569702e75a Add automatic input rate selection by polling XRandR. 2018-04-14 16:21:13 -05:00
Brandon Wright
f8a7f23a4b Revert "Add threaded APU option."
This reverts commit 045f68bb26.
2018-04-13 10:25:26 -05:00
Brandon Wright
045f68bb26 Add threaded APU option. 2018-04-12 16:26:10 -05:00
Brandon Wright
886ea13daf Some GTK+ 3 fixes. 2017-12-06 20:30:27 -06:00
Brandon Wright
c26abbc2bc Reset time_ratio on preferences change. Use 4 fragments on OSS. 2017-11-27 12:39:58 -06:00
Brandon Wright
618519457b Optimize rate control formula and remove placeholder copy-paste. 2017-11-24 08:19:05 -06:00
Brandon Wright
7a368ededd Add GTK+ preferences for dynamic rate control. 2017-11-20 13:06:13 -06:00
Brandon Wright
92cc3dbc2a Allocate preferences on the stack to try and fix double free. 2017-04-25 09:40:36 -05:00
Brandon Wright
e018acf285 Allow adjustment of rewind settings from preferences. 0 buffer size disables (default). 2016-10-08 22:04:46 -05:00
Brandon Wright
7d95f3732a Fix some idiotic expose handling. 2016-10-01 19:23:21 -05:00
Brandon Wright
1442378a13 Add option to mute sound on turbo 2016-08-02 10:31:05 -05:00
Brandon Wright
1714ecf465 Don't set pixbuf to raw image data. Fixes segfault. 2016-04-15 13:07:37 -05:00
Nicolas Magré
68af47097e gtk: add xBRZ (2x, 3x, 4x) 2015-01-28 15:24:35 +01:00
Brandon Wright
fc3025bd05 Add a label that shows relative video refresh rate for the selected
sound input rate.
2011-02-23 15:38:55 -06:00
Brandon Wright
61b7f108b9 Some changes to improve Gtk+ 3.0 compatibility. Still not working. 2011-02-05 06:36:27 -06:00
Brandon Wright
288a629311 Add high-resolution blending option to GTK+ port. 2011-01-23 16:25:46 -06:00
Brandon Wright
8ae75f9391 Fix GTK+ version compilation with latest removals. 2010-11-28 16:29:56 -06:00
Brandon Wright
5a5d3f9192 Allow bilinear filtering in GTK output driver. 2010-11-18 06:31:27 -06:00