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
bbebb2255a
GTK+: OpenGL: Don't link libGL directly.
2018-12-04 16:06:04 -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
62425f7f43
GTK+: Update gettext and remove intltool.
2018-12-03 20:10:35 -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
870bda8efb
GTK+: More cleaning.
2018-11-18 12:30:58 -06:00
Brandon Wright
09f06a6167
GTK+: Clean up autotools files.
2018-11-18 12:21:16 -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
a9adb88e25
GTK+: Remove doc directory. GTK+ port is now only Snes9x-licensed.
2018-11-13 19:17:30 -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
e5aed9f8d5
Update 1.56.2 to 1.57 everywhere but appveyor.
2018-11-08 19:00:36 -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
Brandon Wright
de4699bd24
GTK+: Use glXQueryExtension, not epoxy_has_glx.
2018-11-06 11:39:17 -06:00
Brandon Wright
d3b42751b9
GTK+: Fix some typos and add comments to config.
2018-11-05 18:40:16 -06:00
Brandon Wright
5e2049ac55
GTK+: Don't append "- Snes9x" to game name.
2018-11-05 18:17:48 -06:00
Brandon Wright
b5b7c4390c
GTK+: Add support for header bar.
2018-11-02 19:20:46 -05: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
4536194e32
GTK+: More consts and enums instead of #defines.
2018-11-02 15:47:31 -05:00
Brandon Wright
61d691a523
GTK+: Clean up control stuff a bit.
2018-11-02 15:27:12 -05:00
Brandon Wright
7700efe1fc
GTK+: Fix OpenGL without NPOT.
2018-11-02 15:25:32 -05:00
Brandon Wright
43c61d1c77
GTK+: Get rid of # in joystick binding name.
...
Rename a couple bindings.
2018-11-01 21:11:39 -05:00
Brandon Wright
0c3bc1d350
GTK+: Remove XML config format.
2018-11-01 21:11:39 -05:00
Brandon Wright
b590115594
GTK+, libretro: Don't clip between fields.
2018-11-01 17:14:38 -05:00
Brandon Wright
e665f339f0
GTK+: Human-readable bindings in config file.
2018-10-30 19:26:01 -05:00
Brandon Wright
d3115c87d6
GTK+: OpenGL+: Check context size on expose.
...
Also, fix splash drawing on Wayland/OpenGL.
2018-10-29 16:41:41 -05:00
Brandon Wright
a3ecddc0bc
GTK+: Never let GTK+ paint the output window.
2018-10-29 16:14:40 -05:00
Brandon Wright
6d0eddf02a
GTK+: Don't pass draw signal on OpenGL/Wayland.
...
Also, don't pass draw signal on to GTK+, period.
2018-10-29 16:02:45 -05:00
Brandon Wright
4af57d8d98
GTK+: Disable sound sync by default.
2018-10-28 19:46:08 -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
7dcf6a0ce4
GTK+: Turn context structs into classes.
...
Remove placeholder "#pragma once" uses.
2018-10-28 11:29:51 -05:00
Brandon Wright
c4412fa77b
GTK+: Use a GLSL 1.10 shader for OpenGL < 3.0.
2018-10-28 11:22:00 -05:00
Brandon Wright
f1b508de1c
GTK+: Faster cairo software output path.
2018-10-27 19:07:49 -05:00
Brandon Wright
09498e72e0
GTK+: Modernize OpenGL code.
...
Requires OpenGL 2.0 or above. Everything is core-compatible now.
2018-10-27 18:13:51 -05:00
Brandon Wright
8c8e04fec2
Remove support for old-style XML shaders.
2018-10-27 16:16:41 -05:00
Brandon Wright
aa2db4c186
Remove excess styling.
2018-10-27 16:06:16 -05:00
Brandon Wright
0ce6970cd6
GTK+: Force OpenGL 2.0 compatibility.
2018-10-27 15:56:22 -05:00
Brandon Wright
94c2c4c460
Remove 24-bit PBO format. It's actually useless.
2018-10-27 15:33:55 -05:00
Brandon Wright
dc3dd8e709
Support context creation on GLX 1.3.
2018-10-27 15:12:21 -05:00
Brandon Wright
752da257b8
Remove reconfigure method.
2018-10-26 19:14:25 -05:00
Brandon Wright
d58c37c4da
Be conservative with OpenGL version for now.
2018-10-26 18:54:28 -05:00
Brandon Wright
f9b553638f
Make OpenGL context management separate.
2018-10-26 18:22:51 -05:00
Brandon Wright
b35d8d9ae5
Rename Wayland helpers to Wayland egl context.
2018-10-26 15:49:56 -05:00
Brandon Wright
84b9d5acaa
Fix compilation with GTK2.
2018-10-26 15:46:55 -05:00
Brandon Wright
e2640286b7
Clean overscan area when turning off extended.
2018-10-24 16:05:44 -05:00
Brandon Wright
ad373237e4
GTK: No, the other way.
2018-10-24 15:45:01 -05:00
Brandon Wright
94ec890ac6
GTK: Move centered 224/239 to y=8 instead of y=7.
2018-10-24 15:41:24 -05:00
Brandon Wright
a0931d6058
More XRandR not to compile if not X11.
2018-10-22 15:08:11 -05:00
Brandon Wright
1b6690b1fe
Invalidate on init to reset GTK spacing.
2018-10-22 15:06:12 -05:00
Brandon Wright
a48cbf72da
Set output window size.
2018-10-22 14:53:12 -05:00
Brandon Wright
32633bd664
Request compositor protocol v3. Set buffer scale.
2018-10-22 14:36:52 -05:00
Brandon Wright
85608d9384
NULL out region
2018-10-21 18:49:13 -05:00
Brandon Wright
35cdf9c182
Add wayland helper files.
2018-10-21 18:03:35 -05:00
Brandon Wright
daec5ccc57
Better Wayland OpenGL.
...
Still breaks with scale factors.
2018-10-21 17:05:37 -05:00
Brandon Wright
5b76a2b6c7
EGL X11 leaks badly. Revert Wayland/GL stuff ATM.
2018-10-20 16:47:43 -05:00
Brandon Wright
434c943a0b
Pass input through subsurface.
2018-10-18 18:08:01 -05:00
Brandon Wright
f9f7be1f6f
Use a flush instead of commit.
2018-10-18 18:00:27 -05:00
Brandon Wright
ae01dbb92c
Fix fullscreen in Wayland/GL.
2018-10-18 17:53:07 -05:00
Brandon Wright
e70675db98
Basic OpenGL on Wayland. Fullscreen is broken.
2018-10-18 17:47:39 -05:00
Brandon Wright
a47e9773d6
Software Wayland mostly works.
2018-10-16 17:26:24 -05:00
Brandon Wright
02ce1fcb35
Better driver failure behavior.
2018-10-15 14:54:36 -05:00
Brandon Wright
34268314c4
Conditional set_bypass_compositor.
2018-10-15 14:31:42 -05:00
Brandon Wright
3829408d3d
Allow XV only in GTK/X11.
2018-10-15 14:25:26 -05:00
Rémi Calixte
5e4f12a12b
wayland: fix fullscreen mode
2018-10-15 14:20:13 -05:00
Rémi Calixte
58f6099730
wayland: handle screensaver
2018-10-15 14:19:51 -05:00
Rémi Calixte
549e98e5e7
wayland: make xrandr query conditional
2018-10-15 14:19:22 -05:00
Brandon Wright
62f3761aa6
Remove 'else', fix formatting.
2018-10-15 14:18:21 -05:00
Rémi Calixte
e7f4bd63fa
wayland: implement Snes9xWindow::get_refresh_rate
2018-10-15 14:16:40 -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
55723df0a6
GTK: Add EGL WSI for OpenGL.
2018-10-15 14:04:28 -05:00
Brandon Wright
daee29865f
win32: add InitialSnapshotFilename support.
2018-10-03 17:06:41 -05:00
Brandon Wright
602919d522
GTK+: Don't override command-line port choice.
2018-10-03 16:58:40 -05:00
Brandon Wright
8db667fe13
Don't black out screen when no data in savestate.
2018-08-16 11:01:39 -05:00
Brandon Wright
0b75e2de9d
GTK+: Add dangerous hacks.
2018-08-14 17:33:03 -05:00
Brandon Wright
37f6259f06
Fix Chrono Trigger bug where screen jumps.
2018-08-06 12:54:38 -05:00
Brandon Wright
6d15bf7d94
Make interpolation config a little cleaner.
...
Add config file option to all ports.
2018-08-06 12:31:07 -05:00
Brandon Wright
a1b9a89718
GTK+: Update interlaced drawing.
...
Apply vsync on resize.
2018-08-05 17:03:36 -05:00
orbea
1a9a30ac93
gtk: Use datarootdir instead of datadir.
2018-07-28 16:33:23 -07:00
Brandon Wright
d5eeda8bbc
Fix with_system_zip variable name.
2018-07-28 17:58:33 -05:00
Brandon Wright
2de55719de
Check for NULL Display.
2018-07-12 10:15:37 -05:00
Brandon Wright
95ee47ac06
Use port commands for quickload to allow undo.
2018-06-21 14:23:43 -05:00
Brandon Wright
ae814163dd
Revert "Save oops unconditionally on loading state."
...
This reverts commit fc0b79ec2f
.
2018-06-21 13:46:29 -05:00
Brandon Wright
fc0b79ec2f
Save oops unconditionally on loading state.
...
GTK+: Use oops for undo load state.
2018-06-20 12:44:09 -05:00
Brandon Wright
098f8c1c0c
GTK+: Make ALSA driver more verbose.
2018-06-16 18:13:21 -05:00
Brandon Wright
e49dcc0cb2
GTK+, Unix: Preserve current joypad state when rewinding.
2018-06-16 17:31:41 -05:00
Brandon Wright
de593cbe6f
Bump version number to 1.56.2. Update changes.txt.
2018-06-16 17:10:13 -05:00
OV2
35389f5595
GTK+: use new constant name ( #338 )
2018-06-16 16:30:38 +02:00
Brandon Wright
ef1d232897
GTK+: Add integer scaling settings to aspect ratio
2018-06-12 16:05:18 -05:00
Brandon Wright
583e4b740d
Add an undo load state option.
2018-06-09 10:23:26 -05:00
Brandon Wright
651ec0bf7e
More sanity checking.
2018-06-07 16:16:22 -05:00
Brandon Wright
3578139270
Bump version number.
2018-06-07 16:02:48 -05:00
Brandon Wright
f0f758d702
Bound values in preferences.
2018-06-07 15:58:38 -05:00
Brandon Wright
83480765f1
Sanity check input rate better.
2018-06-07 15:49:41 -05:00
Brandon Wright
5af624da32
Check for GTK+ 3.22 or above when using GTK+ 3.
2018-06-07 12:46:03 -05:00
Brandon Wright
9c99a99ff1
Fix height resizing of code and description field in cheat dialog.
2018-06-07 12:19:40 -05:00
Brandon Wright
692c8f58b7
Sanity check automatic input rate for deviations > 5%.
2018-06-07 09:43:29 -05:00
Brandon Wright
162919fa1f
Set minimum width for these columns.
2018-06-05 19:38:59 -05:00
Brandon Wright
6b738e496e
More cheat window improvements.
2018-06-05 19:17:17 -05:00
Brandon Wright
534971722c
Some cheat dialog QOL improvements.
2018-06-04 19:27:24 -05:00
Brandon Wright
642ce83e47
Switch back to .cht format. Update to byuu's new form.
2018-06-03 18:02:48 -05:00
Brandon Wright
36e7748320
Update GTK+ README.
2018-05-31 17:46:27 -05:00
Brandon Wright
456f90369e
Use 16-bit with NTSC filter in hires mode.
2018-05-30 19:34:51 -05:00
Brandon Wright
b64eaba633
Bump version number, except Appveyor.
2018-05-25 16:01:02 -05:00
Brandon Wright
20bd60a3c6
Update copyright dates.
2018-05-25 15:44:52 -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
c555b07846
Translate mouse coordinates correctly in hidpi modes. Hide cursor when SuperScope enabled.
2018-05-23 15:50:57 -05:00
Brandon Wright
b9b60a8e60
GLSL: Use a viewport callback to size final pass.
2018-05-21 14:36:13 -05:00
Brandon Wright
206523ee17
Update width when converting to/from hires.
2018-05-20 20:03:12 -05:00
Brandon Wright
c35360b567
Silence a couple warnings.
2018-05-14 11:20:12 -05:00
Brandon Wright
a42498b161
Fix a bunch of warnings.
2018-05-13 20:19:21 -05:00
Brandon Wright
79adc1d3c8
Move shader files to root directory.
2018-05-13 18:22:54 -05:00
Brandon Wright
dda4758df6
Add shader_platform.h for platform-specific includes.
2018-05-13 18:12:30 -05:00
Brandon Wright
7411df6c73
Make rewinding and bilinear filtering global Snes9x settings.
2018-05-13 17:31:25 -05:00
Brandon Wright
1aaa2d84e3
Get things building on Gtk+ 2 again.
2018-05-13 17:18:49 -05:00
Brandon Wright
a1fa47a978
Remove GUI specifics in save function.
2018-05-13 11:02:52 -05:00
Brandon Wright
31580a5300
Add the shader parameters dialog box files.
2018-05-12 18:17:19 -05:00
Brandon Wright
21dd926a5a
Output directly to framebuffer on last pass.
2018-05-12 18:07:23 -05:00
Brandon Wright
c9ed910879
Last pass filter.
2018-05-12 17:36:45 -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
e76aac89f2
Support parameters.
2018-05-11 17:08:13 -05:00
Brandon Wright
3b01b57162
Clean up some stuff. Add LUT features to glsl shaders.
2018-05-11 15:56:58 -05:00
Brandon Wright
bdcec7e4b5
Allow single .glsl shader files.
2018-05-10 18:57:52 -05:00
Brandon Wright
9da5a83550
Rudimentary GLSL Shader support.
2018-05-10 18:47:55 -05:00
Brandon Wright
e0de36dbb6
Rename some functions.
2018-05-08 17:56:13 -05:00
Brandon Wright
f7bf180b39
Use libepoxy to cut out the OpenGL loading cruft.
2018-05-08 17:52:40 -05:00
Brandon Wright
b34ecf8973
Add rudimentary Cg support for Gtk+ based on the Win32 port.
2018-05-08 16:56:54 -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
7566704e65
Fix gdk_window_new already having applied device scale.
2018-05-05 14:14:06 -05:00
Brandon Wright
0c8ea1671d
Use GdkWindow to avoid Gtk's poor handling of foreign windows.
2018-05-05 13:50:37 -05:00
bearoso
82f3dc4e60
Use XRRGetScreenResourcesCurrent in both places.
2018-05-04 20:21:20 -05:00
Brandon Wright
a1f8cf3807
Bypass compositor properly.
2018-05-04 18:31:25 -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
4cdb8f6e65
Overscan issues.
2018-05-04 17:12:22 -05:00
Brandon Wright
0a6931f1a7
Fix EPX smooth to use proper average function.
2018-05-04 14:37:27 -05:00
Brandon Wright
dcfb7c3ad0
Use 16-bit instead of 15-bit pixel format on Gtk+. Add splash screen with test patterns.
2018-05-04 14:29:13 -05:00
Brandon Wright
67ae1227e3
Updated icon Gtk+.
2018-05-03 16:25:02 -05:00
Brandon Wright
8384891515
Use level value for S9xUpdateDynamicRate to just report SoundInputRate change.
2018-05-02 17:51:58 -05:00
Brandon Wright
a3c5cf86bd
Disable Dynamic Rate Control in Gtk+ port by default.
2018-05-02 17:44:22 -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
a8085dac41
Fix directory search for cheat database.
2018-05-01 18:00:39 -05:00
Brandon Wright
e3838a2dad
Use .bml instead of .cht. Add fallbacks where loading.
2018-04-30 17:25:43 -05:00
Brandon Wright
e69fd7c50e
Fix a couple bugs. Change cheats on unix to work like they used to.
2018-04-30 16:44:17 -05:00
Brandon Wright
831176983a
Set bypass compositor bit on drawing window.
2018-04-29 10:37:05 -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
363fdc9848
Try to turn off compositor in full-screen.
2018-04-28 12:49:36 -05:00
Brandon Wright
99f7e63972
Use GTK_MAJOR_VERSION macro instead of custom one.
2018-04-28 11:59:17 -05:00
Brandon Wright
f2dcb275d2
Allow --with-gtk2 to disable GTK+ 3.
2018-04-28 11:27:57 -05:00
Brandon Wright
4edaba97ca
More cheats stuff.
2018-04-27 20:35:20 -05:00
Brandon Wright
cb531670e5
Various fixes. Allow global disabling of cheats.
2018-04-26 11:15:20 -05:00
Brandon Wright
0d102b72ff
Revamping cheats support.
2018-04-25 19:29:26 -05:00
Brandon Wright
bbfeb19b08
Calculate SHA256 checksum for later use.
2018-04-24 17:06:32 -05:00
Brandon Wright
14c8ebba00
Add bml parser and sha256 sum support.
2018-04-24 16:16:22 -05:00
Brandon Wright
513926521d
Don't set GFX_MULTI_FORMAT if not needed. The BuildPixel calls cost ~3% performance.
2018-04-21 19:17:39 -05:00
Brandon Wright
97f4067cd8
Inline a couple functions. Add some spacing to the Gtk preferences dialog.
2018-04-21 18:44:40 -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
bearoso
c3fa4009a3
Merge pull request #267 from julien2512/master
...
now able to start from a snapshot
2018-02-27 22:43:55 +00:00
julien2512
63b9bebd3f
Syntax
2017-12-17 01:19:17 +01:00
julien2512
51c25d070d
now able to start from a snapshot
2017-12-17 01:13:07 +01:00
Brandon Wright
bd59b4e9ac
Fix issue with expose on GTK+ 3.
2017-12-07 12:24:29 -06:00
Brandon Wright
5e6b9f068a
Fix assertion on PulseAudio driver exit.
2017-12-07 11:36:50 -06:00
Brandon Wright
ec2b9a5165
Fix warnings on GTK+ display driver with GTK+ 3.
2017-12-07 11:36:24 -06:00
Brandon Wright
886ea13daf
Some GTK+ 3 fixes.
2017-12-06 20:30:27 -06:00
Brandon Wright
e2277ff55b
Clean up compiler warnings.
2017-12-06 19:00:19 -06:00
Brandon Wright
b7a2486ace
List enumerated joysticks in terminal output.
2017-11-30 18:38:09 -06:00
Brandon Wright
12d73bbf25
Remove some vestiges from sound code.
2017-11-30 18:14:17 -06:00
Brandon Wright
821f1ed207
Revert "Revert "Make SoundSync mutually exclusive with DynamicRateControl in GTK+ port. Disable S9xContinueUpdate.""
...
This reverts commit 7931400b44
.
2017-11-27 12:41:06 -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
7931400b44
Revert "Make SoundSync mutually exclusive with DynamicRateControl in GTK+ port. Disable S9xContinueUpdate."
...
This reverts commit 63394cd26a
.
2017-11-27 12:33:25 -06:00
Brandon Wright
63394cd26a
Make SoundSync mutually exclusive with DynamicRateControl in GTK+ port. Disable S9xContinueUpdate.
2017-11-27 12:11:49 -06:00
Brandon Wright
4dc09dac2d
GTK: Update display on S9xContinueUpdate.
2017-11-25 12:40:07 -06:00
Brandon Wright
e292045572
Handle PulseAudio case where no data can be written.
2017-11-24 19:35:49 -06:00
Brandon Wright
1369d724f7
Update config variable and sanitize input.
2017-11-24 13:03:24 -06:00
Brandon Wright
618519457b
Optimize rate control formula and remove placeholder copy-paste.
2017-11-24 08:19:05 -06:00
Brandon Wright
2eaac353ba
Bump SDL requirement to SDL 2.0.
2017-11-23 18:57:47 -06:00
Brandon Wright
ea9dc6307b
Move newline.
2017-11-22 19:28:41 -06:00
Brandon Wright
a34dbef0b9
Remove debugging printfs.
2017-11-22 18:18:33 -06:00
Brandon Wright
d12121cec9
Update PulseAudio driver to full API.
2017-11-22 18:14:49 -06:00
Brandon Wright
f0f3b2218e
Update PortAudio driver to read/write API.
2017-11-20 18:12:57 -06:00
Brandon Wright
9c9eb94702
Remove unconditional rate control on OSS.
2017-11-20 13:09:05 -06:00
Brandon Wright
7a368ededd
Add GTK+ preferences for dynamic rate control.
2017-11-20 13:06:13 -06:00
Brandon Wright
39f05664cd
Add dynamic rate control for audio, based on Retroarch/Themaister's paper
...
Adds support to alsa and oss sound drivers on GTK+ port.
2017-11-20 12:07:54 -06:00
Brandon Wright
7a2ca6dc2a
Update copyrights.
2017-11-17 16:00:58 -06:00
noabody
47bec6bdf7
Modify src/gtk/snes9x.ui to add scroll-box to gtk2+ cheat dialog.
2017-11-01 14:34:18 -06:00
bearoso
d174b82134
Merge pull request #238 from megari/gtk_no_deprecated
...
Move away from deprecated functions in the GTK port
2017-10-03 15:19:50 -05:00
bearoso
a2aacf78a0
Merge pull request #223 from jristz/patch-2
...
Minor update to es.po
2017-10-03 15:17:01 -05:00
Ari Sundholm
5d6a7199bb
gtk: replace uses of deprecated functions with those of non-deprecated ones
2017-09-12 03:33:16 +03:00
OV2
cb3ace471e
Rename IPS_DIR to PATCH_DIR, split cheats path in win32
2017-09-11 23:29:12 +02:00
Pablo Lezaeta Reyes [pˈaβ̞lo lˌe̞θaˈeta rˈejɛ]
37eebe9075
Minor update to es.po
...
Minor update to spanish translation so Slots in contectual menu get translated (I hope)
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
2017-08-26 01:57:13 -04:00
Pablo Lezaeta Reyes [pˈaβ̞lo lˌe̞θaˈeta rˈejɛ]
cacaea2057
Update es.po
2017-05-28 17:22:32 -04:00
Pablo Lezaeta Reyes [pˈaβ̞lo lˌe̞θaˈeta rˈejɛ]
a3fc154ed0
Update es.po
2017-05-28 17:21:42 -04:00
Pablo Lezaeta Reyes [pˈaβ̞lo lˌe̞θaˈeta rˈejɛ]
2d628d2abb
Update es.po again
...
Update the spanish translation chanign a "fake friend" and adding the hi/lorom translatables
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
2017-05-28 17:19:59 -04:00
Pablo Lezaeta Reyes [pˈaβ̞lo lˌe̞θaˈeta rˈejɛ]
36a0d5ae67
Fix a weir thing on the build system
...
Aparently make and MSGFMT don't like that extra line.
2017-05-15 23:52:48 -04:00
Pablo Roberto Frnacisco Lezaeta Reyes
c7563eec5e
Update spanish translation with slot9 and misc changes
...
Signed-off-by: Pablo Roberto Frnacisco Lezaeta Reyes <prflr88@gmail.com>
2017-05-14 22:30:58 -04:00
bearoso
1188fa2a1e
Merge pull request #190 from YamashitaRen/master
...
GTK: Add a 10th save slot (Slot 9).
2017-05-06 18:47:54 -05:00
Brandon Wright
93b5f11641
Fix environment variable name.
2017-05-06 18:43:36 -05:00
Brandon Wright
75b867128b
Support XDG config directory.
2017-05-06 18:39:01 -05:00
Brandon Wright
4c2b41e6f2
Update version number to 1.55.
2017-05-06 18:02:01 -05:00
Yamashita Ren
6d814fc209
Merge branch 'master' of https://github.com/snes9xgit/snes9x
2017-04-28 00:46:42 +02:00
Pablo Roberto Francisco Lezaeta Reyes
ad2e5de616
fix errata
...
Signed-off-by: Pablo Roberto Francisco Lezaeta Reyes <prflr88@gmail.com>
2017-04-26 00:57:37 -03:00
Yamashita Ren
5519a00241
GTK: Add a 10th save slot (Slot 9).
...
Reorganizing save slots section of snes9x.ui while I'm at it.
2017-04-25 21:45:30 +02:00
bearoso
3cb22aa9e3
Merge pull request #189 from jristz/master
...
New strings from master
2017-04-25 09:44:36 -05:00
Brandon Wright
92cc3dbc2a
Allocate preferences on the stack to try and fix double free.
2017-04-25 09:40:36 -05:00
Pablo Roberto Francisco Lezaeta Reyes
3704b1cf1c
New strings from master"
...
Signed-off-by: Pablo Roberto Francisco Lezaeta Reyes <prflr88@gmail.com>
2017-04-25 04:13:57 -03:00
Brandon Wright
c5965f897a
Fix wording when minizip library isn't found.
2016-11-28 14:01:18 -06:00
OV2
994698912a
Merge remote-tracking branch 'bsx/bsx'
2016-11-27 18:02:03 +01:00
Brandon Wright
27e6bc1b01
Merge branch 'msu1'
2016-11-14 13:12:00 -06:00
Lars Wendler
def3936a53
Introduce --with-system-zip configure flag to use system zip (minizip)
...
if available.
2016-11-11 18:26:59 +01:00
luigiblood
38b95261d0
[BS-X] Added *.bs extension detection
2016-11-08 18:51:00 +01:00
Brandon Wright
add3a16f25
Increase buffer size. Don't use sizeof on heap buffer (returns pointer size).
2016-11-03 14:45:20 -05:00
Brandon Wright
1661fc838c
Add copyrights.
2016-10-15 11:31:26 -05:00
Brandon Wright
83b7e28cec
Bump version number to 1.54.1.
2016-10-14 13:18:25 -05:00
Brandon Wright
72741acef2
Use c++11 if available.
2016-10-14 13:10:24 -05:00
Brandon Wright
caedd7c94a
Add translators.
2016-10-10 16:21:46 -05:00
Brandon Wright
8f18796d4b
First draft changelog update.
2016-10-09 21:00:39 -05:00
Brandon Wright
2d0c3cffe5
Translate the new strings to spanish to keep 100% completion.
2016-10-09 10:23:34 -05:00
Brandon Wright
5578fe77d7
Try and fail stateman init to clear buffer if newly disabled.
2016-10-08 22:10:05 -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
7223e2283e
Save rewind variables to config file. Rename rewind variables to fit port style. Set default rewind buffer to 0.
2016-10-08 21:33:34 -05:00
Brandon Wright
5dd5d9ba74
Fix tabulation glitch with rewind shortcut box.
2016-10-08 21:19:04 -05:00
Brandon Wright
90be7fb762
Merge branch 'master' of http://github.com/juhalaukkanen/snes9x into juhalaukken-master
2016-10-08 21:15:45 -05:00
Brandon Wright
720827a479
Fix xbrz to compile on non-win32, fix GTK+ port to use new xBRZ.
2016-10-08 21:06:15 -05:00
Brandon Wright
d506501d54
Compile with C++11 support.
2016-10-08 21:05:53 -05:00
Brandon Wright
ddb1527236
Bump OV2 Windows port copyright.
2016-10-07 12:53:18 -05:00
Brandon Wright
f1600baa5e
Fix Japanese translation issue. Bump to 1.54 in configure.ac.
2016-10-07 12:49:59 -05:00
Brandon Wright
006fc22ebb
Add byuu copyright for his S-SMP
2016-10-07 12:47:07 -05:00
Brandon Wright
309ef1f1a4
Bump Gtk+ port minor version number.
2016-10-07 12:37:39 -05:00
Brandon Wright
17f83a0806
Fix sizing when using GDK hidpi scaling with OpenGL or Xv.
2016-10-02 19:41:42 -05:00
bearoso
fe55308901
Merge pull request #119 from jristz/master
...
Add mute on turbo translation and hack to ensure EVERYTHINK is translated
2016-10-01 20:06:49 -05:00
Brandon Wright
91aebfe759
Update some copyrights, bump version number.
2016-10-01 20:03:03 -05:00
Brandon Wright
7d95f3732a
Fix some idiotic expose handling.
2016-10-01 19:23:21 -05:00
Brandon Wright
026f9eaa1e
Fix some possible problems from cppcheck. Everything else looks fine.
2016-09-27 15:25:37 -05:00
Pablo Lezaeta Reyes
c3383b3fe9
Add mute on turbo translation and hack to ensure EVERYTHINK is translated
...
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
2016-08-13 14:11:39 -04:00
Brandon Wright
f388facb31
Actually mute sound during turbo.
2016-08-06 17:21:04 -05:00
Brandon Wright
1442378a13
Add option to mute sound on turbo
2016-08-02 10:31:05 -05:00
bearoso
65ca7b6fce
Merge pull request #102 from trickart/develop
...
Add ja.po
2016-08-02 15:07:47 -05:00
Pablo Lezaeta Reyes
b20f405c56
Translation to spanish
...
The nex translation take es_VE and make it panhispanis, so now es is
used for all the spanish variants.
LINGUAS was updated to reflect the change.
aditionally using the built-in capabilities of poedit I pulled the
strings with the translatable thing from the source and updated the
translation fo the 100%, and recheck it with some styleguides from
some videogame companies and online forums to chech for consistencies
in terminology.
the remained untranslated parts are non translatable (for now) on the
source code, I will check if I can find them and update.
Signed-off-by: Pablo Lezaeta Reyes <prflr88@gmail.com>
2016-07-26 02:00:27 -04:00
Brandon Wright
1714ecf465
Don't set pixbuf to raw image data. Fixes segfault.
2016-04-15 13:07:37 -05:00
trickart
a4fd652a8b
Add ja.po
2016-01-10 22:29:23 +09:00
Brandon Wright
dfe3925638
Add missing splash source file.
2015-08-19 13:58:34 -05:00
Brandon Wright
8a52db74da
Draw splash background with drivers.
...
Avoids cairo conflicts and allows user to see post-processing changes.
2015-08-16 05:36:56 -05:00
Brandon Wright
9a27cf6b36
Remove superfluous expose causing parsing stop on GTK+3.
2015-08-14 02:01:24 -05:00
BearOso
0c5e9aaf82
Merge pull request #64 from nmagre/master
...
gtk: add xBRZ (2x, 3x, 4x)
2015-08-12 03:21:42 -05:00
thauti
668432a569
Fix Mutex problem
2015-05-12 22:45:57 +02:00
Nicolas Magré
0ec0f2f38c
GTK: update xbrz to 1.2
...
Conflicts:
filter/xbrz.cpp
2015-01-30 14:38:06 +01:00
Nicolas Magré
68af47097e
gtk: add xBRZ (2x, 3x, 4x)
2015-01-28 15:24:35 +01:00
Sebastien Nicouleaud
92ef5edc15
gtk: fix desktop entry mimetype
...
Current application/x-snes-rom is not an official IANA mimetype:
https://www.iana.org/assignments/media-types/application/x-snes-rom
The correct mimetype is application/vnd.nintendo.snes.rom:
https://www.iana.org/assignments/media-types/application/vnd.nintendo.snes.rom
The old mimetype was kept since someone may be using it.
2015-01-07 22:44:44 +01:00
Juha Laukkanen
118544e8ac
Use of rewind feature (stateman) with GTK.
2014-06-27 08:36:36 +00:00
Brandon Wright
ba712914aa
Adjust scaling to match window sizing.
2014-04-15 11:02:02 -05:00
Brandon Wright
df8ad8104a
Round window width.
2014-04-01 12:06:21 -05:00
Brandon Wright
427ef85bd3
Use overscan height of 239 pixels.
...
Resize window on status bar visibility.
2014-03-29 22:15:04 -05:00
Brandon Wright
ea09396218
Add more aspect correction options.
2014-03-29 05:48:35 -05:00
Brandon Wright
6d74746342
Fix bug caused by virtual directories.
2014-02-10 16:28:05 -06:00
Brandon Wright
7c39cc34ba
Fix some compiler warnings.
2014-02-05 03:22:07 -06:00
Brandon Wright
96a5e03770
Simplify window recreation.
2014-02-05 02:44:04 -06:00
Brandon Wright
db6de9a624
Fix reconfiguring the X11 sub-window every draw.
2014-02-05 02:25:16 -06:00
David Baucum
8b3a5c46f1
Update Makefile.am
...
Minor update to Makefile.am to use newer AM_CPPFLAGS syntax.
2013-08-27 01:00:35 -04:00
Brandon Wright
03caf3f4ae
Fix appearance bugs with preferences dialog UI on GTK+ 3.
2012-07-03 15:20:35 -05:00
Brandon Wright
b0233de08e
Work around internal compiler error on GCC 4.7.0.
2012-04-26 05:06:24 -05:00