Commit Graph

305 Commits

Author SHA1 Message Date
Brandon Wright
6b376cf8f4 GTK+: Match filenames and appname to snes9x-gtk.
This will help environments match the desktop file with
the executable easier. The visible name stays just Snes9x.
2018-12-23 12:09:30 -06:00
Brandon Wright
4aec72e5a7 GTK+: OpenGL: Get rid of virtual dtor warning. 2018-12-18 12:20:54 -06:00
Brandon Wright
1b78509aa0 GTK+: Use borders instead of transparent background for now. 2018-12-12 16:56:56 -06:00
Brandon Wright
56d9cb3d2e GTK+: The config file show know about none. 2018-12-12 16:46:30 -06:00
Brandon Wright
5910ed4501 GTK+: Make sure menu item knows about nothing. 2018-12-12 16:44:47 -06:00
Brandon Wright
ba55d8c763 GTK+: Allow disconnecting controller port 2. 2018-12-12 16:40:31 -06:00
Brandon Wright
c9a8b28d18 GTK+: Hook up Settings.DisplayPressedKeys 2018-12-12 16:24:21 -06:00
Brandon Wright
8a2cd602da Add special S9xDisplayStringType to pass additional info.
Add some arrow characters for displayed keys.
2018-12-12 16:15:56 -06:00
Brandon Wright
a718990735 GTK+: Remove vertex_shader and rename fragment_shader. 2018-12-10 15:10:40 -06:00
Brandon Wright
c1cbe9c65f GTK+: More sensible defaults.
16666 NTSC frame time is closer to correct than 16667.
32000/32040 is irrelevant because resampling is always needed.
Don't recommend 32000 in UI.
2018-12-10 15:02:57 -06:00
Brandon Wright
a573dee5fe GTK+: OpenGL: Old libepoxy lacks glXSwapIntervalMESA. 2018-12-04 14:57:20 -06:00
Brandon Wright
b9ad162723 GTK+: Set locale to C when loading shader files.
We can't know what format they're in, and for some reason español
breaks them.
2018-12-04 11:18:22 -06:00
Brandon Wright
51d3051712 GTK+: Fix data dir name for translations. 2018-12-03 20:52:12 -06:00
Brandon Wright
8106c284d5 GTK+: OpenGL: Use fence to allow GTK+ to run during wait. 2018-12-03 20:03:53 -06:00
Brandon Wright
dc4de5b7c7 GTK+: OpenGL: Add fences as glFinish alternative. 2018-12-03 17:32:12 -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
d559d7abd4 GTK+: Start in timeout mode. 2018-12-03 17:32:12 -06:00
Brandon Wright
5e9f06858d GTK+: Fix partial config files. Fix sanity check. 2018-12-01 18:54:25 -06:00
Brandon Wright
1b61affbb5 GTK+: OpenGL: Number of components is deprecated. 2018-11-30 15:35:19 -06:00
Brandon Wright
adca138f03 GTK+: OpenGL: Use texture in GLSL 1.40 shader. 2018-11-29 16:09:18 -06:00
Brandon Wright
45252aaf93 Remove ssnprintf function. 2018-11-28 10:55:10 -06:00
Brandon Wright
d878b46693 GTK+: Don't use sstrncpy when not capping to buffer size. 2018-11-18 14:12:25 -06:00
Brandon Wright
a48703796a GTK+: Use std::string here. 2018-11-18 13:08:42 -06:00
Brandon Wright
862e2b66fe Turn these into inline functions for sanity. 2018-11-18 12:02: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
7bb5b00504 GTK+: Patch into S9xCustomDisplayString.
Fix issue with overlay on overscanned height.
2018-11-17 16:12:06 -06:00
Brandon Wright
4471bacf18 GTK+: Silence NULL pointer arithmetic warning. 2018-11-17 15:24:56 -06:00
Brandon Wright
5d1db07e85 GTK+: OpenGL: WaylandEGLContext is a class. 2018-11-17 14:54:57 -06:00
Brandon Wright
1cd825090b GTK+: OpenGL: Don't reset state we don't change. 2018-11-17 12:19:16 -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
5f56cadafb Use a license stub everywhere.
This points to the full license in the root directory.
2018-11-15 17:31:39 -06:00
Brandon Wright
54a3d41d61 GTK+: Implement a different overlay font.
It's the same font, but with kerning added and the black outline
replaced with a translucent background.
2018-11-15 17:03:49 -06:00
Brandon Wright
7a64ed801d GTK+: Don't translate config file entries. 2018-11-14 14:51:39 -06:00
Brandon Wright
61cced4734 GTK+: Use root snes_ntsc implementation.
Implement scanlines there.
2018-11-12 16:51:21 -06:00
Brandon Wright
33d1840877 GTK+: Make Wayland support removable. 2018-11-09 16:20:00 -06:00
Brandon Wright
ffdf886a0a GTK+: GL: Use PBOs by default, disable on GL < 1.5 2018-11-09 15:54:07 -06:00
Brandon Wright
b6858adf11 GTK+: OpenGL: Only do this part on non-legacy. 2018-11-09 15:47:38 -06:00
Brandon Wright
21c1863782 GTK+: OpenGL: Allow legacy, no shader, paths. 2018-11-09 15:46:13 -06:00
Brandon Wright
3e87063780 GTK+: Mandate OpenGL on Wayland.
Warn users if their OpenGL stack is too old.
2018-11-09 14:55:33 -06:00
Brandon Wright
c878b35610 GTK+: OSS: Try /dev/dspN 1 through 9. 2018-11-08 15:12:47 -06:00
Brandon Wright
7ae93a539e GTK+: Save controller ports to config file. 2018-11-08 14:59:24 -06:00
Brandon Wright
8c7b326254 GTK+: Add hotkey to capture the mouse. 2018-11-08 14:23:37 -06:00
Brandon Wright
af2df5869d GTK+: Remove goofy headerbar experiment. 2018-11-07 15:09:27 -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
528839a13b GTK+: lint the snes9x.ui file. 2018-11-06 16:39:23 -06:00
Brandon Wright
cadffa0073 GTK+: Relative save slots. 2018-11-06 16:39:23 -06:00
Brandon Wright
fcdbe149ba GTK+: Remove extraneous Cg directory. 2018-11-06 11:57:19 -06:00