Commit Graph

72 Commits

Author SHA1 Message Date
Brandon Wright
bdf0e426e0 GTK: Allow one key for multi joypad assignments.
Lets you do stuff like Chrono Trigger L+R+A or all punch buttons in
fighting games.
2019-03-21 17:54:27 -05:00
Brandon Wright
7b310a0cf4 GTK: Swap glFenceSync for sync control extension. 2019-03-02 15:25:59 -06:00
Brandon Wright
712c979771 GTK: Add icons to key bindings to clear entry. 2019-02-28 21:03:46 -06:00
Brandon Wright
aa867abcd3 Use nominal frequency ratio for APU. 2019-02-19 17:50:25 -06:00
Brandon Wright
191b82f14d GTK: Break display settings into tabs. 2019-02-17 20:55:59 -06:00
Brandon Wright
2ba6553c14 GTK: SoundSync is now handled in the drivers. 2019-02-09 18:48:17 -06:00
Brandon Wright
5b4ca50792 GTK+: Strip out extra sound code.
No more Stereo, 16-bit or Reverse options.
2019-02-06 19:41:33 -06:00
Brandon Wright
01f4fed8b5 Slang shader support. 2019-01-25 13:28:24 -06:00
Brandon Wright
2c1753474c GTK+: Show block invalid vram box if dangerous hacks enabled. 2019-01-08 15:48:36 -06:00
Brandon Wright
387d600147 GTK+: The build has never allowed GTK+3 < 22. 2018-12-28 18:43:21 -06:00
Brandon Wright
e632740be3 GTK+: Use std::string for some config options. 2018-12-28 18:36:23 -06:00
Brandon Wright
fcdead0028 GTK+: Use lowercase true/false, bool in more places. 2018-12-28 17:07:32 -06:00
Brandon Wright
3eea50654f GTK+: OpenGL: Separate glFinish and glFenceSync options. 2018-12-28 12:06:31 -06:00
Brandon Wright
c9a8b28d18 GTK+: Hook up Settings.DisplayPressedKeys 2018-12-12 16:24:21 -06:00
Brandon Wright
a718990735 GTK+: Remove vertex_shader and rename fragment_shader. 2018-12-10 15:10:40 -06:00
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