Commit Graph

246 Commits

Author SHA1 Message Date
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