Commit Graph

321 Commits

Author SHA1 Message Date
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
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
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
Yamashita Ren
6d814fc209 Merge branch 'master' of https://github.com/snes9xgit/snes9x 2017-04-28 00:46:42 +02: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
Brandon Wright
92cc3dbc2a Allocate preferences on the stack to try and fix double free. 2017-04-25 09:40:36 -05:00
OV2
994698912a Merge remote-tracking branch 'bsx/bsx' 2016-11-27 18:02:03 +01:00
luigiblood
38b95261d0 [BS-X] Added *.bs extension detection 2016-11-08 18:51:00 +01: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
8f18796d4b First draft changelog update. 2016-10-09 21:00:39 -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
ddb1527236 Bump OV2 Windows port copyright. 2016-10-07 12:53:18 -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
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
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
Brandon Wright
1714ecf465 Don't set pixbuf to raw image data. Fixes segfault. 2016-04-15 13:07:37 -05: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
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
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
Brandon Wright
dfdf197b27 Remove an improper use of chown. 2012-04-23 01:40:35 -05:00
Brandon Wright
17fe17b4e2 Fix a couple of warnings/gdk_pixbuf_unref deprecation. 2012-04-07 20:04:02 -05:00
Brandon Wright
4f551d3d29 Fix crash on opening nonexistent file. Keep shaders from appearing in
the recent files menu.
2012-04-07 16:43:34 -05:00
Brandon Wright
63ec714739 Add full-time blending function for high resolution mode. 2012-04-07 16:24:12 -05:00
Brandon Wright
dc773bb6be Fix ZeroMemory reference. 2012-01-26 14:07:12 -06:00
Brandon Wright
1678b71d1e Prioritize GLX_EXT_swap_control over GLX_SGI_swap_control. 2011-12-14 02:46:12 -06:00
Brandon Wright
baa4de3713 Save a few more mmapped registers to SPC files. Fix key-on trigger. 2011-07-05 14:05:36 -05:00
Brandon Wright
5d5eaedd5e New SMP is tentatively "running" now. 2011-06-22 06:03:29 -05:00
Brandon Wright
c9c49095ee Add byuu's SMP and DSP files to tree. 2011-06-12 01:25:22 -05:00
OV2
c47598f3cf Update copyright in all files 2011-04-11 21:51:20 +02: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
88176c03d4 Changed the hi-res filter to be a simple merge between adjacent pixels.
Clarified a few options in the preferences dialog.
2011-02-11 11:09:49 -06:00
Brandon Wright
7e32a1f4ea Simplify ridiculous round-about function calls. 2011-02-11 03:50:24 -06:00
Brandon Wright
f9b909b022 Fix GTK+ 3.0 changes that required GTK+ 2.24 for compatibility. 2011-02-11 03:44:47 -06:00
Brandon Wright
10c498e37b More GTK+3 support. 2011-02-05 19:42:26 -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
7c6a0f58d1 Choose a sane default for filter mode. 2011-01-23 17:07:22 -06:00
Brandon Wright
288a629311 Add high-resolution blending option to GTK+ port. 2011-01-23 16:25:46 -06:00
Brandon Wright
d5aae6da63 Bump version numbers for GTK+ port. 2011-01-22 21:17:17 -06:00
Brandon Wright
32edb0315e Use XConfigureWindow instead of creating new ones. This doesn't exhibit
the expose problem that XResizeWindow shows.
2011-01-09 05:34:26 -06:00
Brandon Wright
a1e9887d58 Add support for glXSwapIntervalEXT. 2011-01-09 03:32:38 -06:00
Brandon Wright
b8bdd151a2 Yield before glFinish to lighten load with frame sync. Helps cases where glFinish is a busy loop. 2010-12-25 18:32:56 -06:00
Brandon Wright
a7d6cb6164 Enable Settings.ApplyCheats. 2010-12-25 05:02:25 -06:00
Brandon Wright
8ae75f9391 Fix GTK+ version compilation with latest removals. 2010-11-28 16:29:56 -06:00
Brandon Wright
f03baac6e4 Code spacing fix. 2010-11-18 06:43:47 -06:00
Brandon Wright
f6039eb1a0 Align OpenGL viewport using top screen edge. 2010-11-18 06:41:40 -06:00
Brandon Wright
5a5d3f9192 Allow bilinear filtering in GTK output driver. 2010-11-18 06:31:27 -06:00
Brandon Wright
a37db4c09d Use cairo for scaling in software driver. 2010-11-18 05:30:27 -06:00
Brandon Wright
c052e66ae0 Fix GTK+ build failure from removed symbols. 2010-11-14 20:37:26 -06:00
Brandon Wright
8b00a1fa54 Improve cheat dialog and fix cheats on ROM load. 2010-10-30 10:56:44 -05:00
Brandon Wright
c6677d8292 Add hidden option for enabling non-modal dialogs. 2010-10-30 09:21:26 -05:00
Brandon Wright
ab6f76a9a3 Use CLAMP_TO_BORDER with shaders and POT textures. 2010-10-28 11:27:07 -05:00
Brandon Wright
4fe52bd398 Add fallbacks for Simple filters when dealing with the SNES's high
resolutions.
2010-10-28 08:01:07 -05:00
Brandon Wright
4aa58f6dbd Add simple 2x-4x filters. 2010-10-28 05:05:23 -05:00
Brandon Wright
8b64d6d5a8 Allow use of only vertex or fragment programs. 2010-10-21 21:32:47 -05:00
Brandon Wright
007f73c2b3 Change GLSL to use bsnes 071's unified files. 2010-10-21 21:18:56 -05:00
Brandon Wright
63b355430d Lower the joystick threshold default to 40% to guarantee 50% on circular diagonals.
Ideally, this should be sqrt(2) - 1, but users would likely wonder about a value of 41 or 42.
2010-10-20 20:55:59 -05:00
Brandon Wright
a6562ef3ae Clean up the about dialog. 2010-10-19 19:43:25 -05:00
Brandon Wright
5869118074 Request keyboard focus before entering event loop. 2010-10-18 05:08:31 -05:00
Brandon Wright
e61dd2aba0 Fix potential compile bug with useless callback. 2010-10-17 02:29:09 -05:00
Brandon Wright
31f45619a5 Import of GTK port changes. 2010-09-26 04:19:15 -05:00
OV2
d1666860e0 Initial 1.52 import 2010-09-25 17:46:12 +02:00