Commit Graph

830 Commits

Author SHA1 Message Date
bladeoner
0fd4dc968b Snes9x - Classify region id 18 as PAL (fixes 615) (#888) 2019-12-30 12:41:45 -07:00
bladeoner
c5b911236d Also apply Firepower 2000 scanline timing to Super SWIV (fixes 610) (#886) 2019-12-28 19:27:41 -07:00
Pwedge
cd264c16da Added support for serial port 2 (SP2 / SD2SP2) on Gamecube (#884) 2019-12-23 22:30:59 -07:00
bladeoner
abbf71f2d9 Snes9x - add unlimited sprites (range) (#879) 2019-11-27 11:42:49 -07:00
bladeoner
adb43e9262 Snes9x - Add render position hack and clean up rest. (#880)
This removes the "known bad dumps" section, which probably aren't
relevant anymore. It also removes commented out APU hacks which are
no longer needed.
2019-11-27 11:42:40 -07:00
Daryl Borth
d7739e797e only enable AutoDisplayMessages if display framerate or clock is on 2019-11-03 10:43:06 -07:00
Daryl Borth
1e5802f35f updates to spanish translation 2019-11-03 10:36:08 -07:00
bladeoner
96b7c849b4 Snes9x - Fix Mode7 mosaic glitch from tile cleanup. (#876) 2019-10-13 14:01:53 -06:00
bladeoner
3c573f69dc update readme. finalize 4.4.4 (#875) 2019-10-09 23:00:27 -06:00
niuus
62e529c6e7 Working buttons for all SNES peripherals (#872)
* Working buttons for all SNES peripherals

Mouse, SuperScope and the Konami's Justifier trigger/buttons never worked in any other controllers except the GCN pad and Wiimote. This fixes it, so you can use the Wii Classic Controller, Wii U Pro Controller and Wii U Gamepad to fully emulate the peripherals.

* Minor button rearrangement
2019-08-13 15:11:03 -06:00
Daryl Borth
4c15d55247 Add Retrode support (Thanks revvv!) 2019-08-05 18:22:54 -06:00
bladeoner
637f4b42cc Snes9x - Fix out-of-bounds memory access. (#871) 2019-08-05 11:08:00 -06:00
Daryl Borth
ecd7869234 update spanish translation 2019-07-04 17:52:36 -06:00
bladeoner
27dea97a35 Snes9x - yoffy/unmacro-tile (#865)
This patch provides maintainability and debuggability of tile.cpp.
It replacements many macros to C++ template, and abolish self inclusion.
2019-06-29 09:54:17 -06:00
bladeoner
66969747f7 Snes9x - Trim data elements beginning with colons in bml. (#863) 2019-06-25 13:03:45 -06:00
bladeoner
2200cc5c6e bg_preview corrected right top line was too thick (thanks to Tanooki16) (#861) 2019-06-10 08:09:32 -06:00
bladeoner
c774b82786 Snes9x - Use helper function. (#860) 2019-06-06 20:30:14 -06:00
bladeoner
fee3081a05 Fix Dragon Ball Z Hyper Dimension black screen (#858)
- Commit "Backport Reduced version of Vitor's fix for SA1 speed throttle" caused a black screen when starting DBZ Hyper Dimension, this change fixes that.
2019-06-04 20:39:06 -06:00
Daryl Borth
f15028a5ac fix issue enabling both frame rate and clock 2019-06-03 19:18:57 -06:00
bladeoner
93bc3a8a7d Snes9x - Multiple BML changes (#856)
- Don't use a magic depth number for attributes.
- C++ification of bml parser.
- Fix MSVC build.
2019-06-03 19:15:16 -06:00
bladeoner
43e3b79937 Fix SuperFX2 Core Speed (#852)
Commit "Snes9x - SFX: Make SFX2 1/3 faster than 1.59.2." fixes the SuperFX2 speed for Yoshi's Island but it broke the speed for other SuperFX2 games.

This hack will correct that.
2019-06-01 08:33:09 -06:00
bladeoner
9b3636bbfe Reduce manual allocation in BML parser and cheats. (#850) 2019-05-15 18:55:44 -06:00
bladeoner
4a5a027e61 Use C++ memory allocation. (#849) 2019-05-15 18:55:12 -06:00
bladeoner
8447bdf94c Add Show Local Time option. (#848)
Adds the option 'Show Local Time" under Game Settings, Video when playing a game.
2019-05-15 18:54:54 -06:00
bladeoner
2dfce39f63 Change L+R+SELECT to go back to L+R+START (#847)
This is a more universal combination
2019-04-21 09:35:06 -06:00
bladeoner
55b4306c4b Change L+R+X+Y trigger to go back to L+R+SELECT (#846) 2019-04-20 10:53:22 -06:00
Daryl Borth
9bcb97dd10 add back L+R+X+Y trigger to go back to emulator 2019-04-19 13:05:52 -06:00
bladeoner
cfda443d78 Snes9x - Restore MSU1_AUDIO_POS. (#844)
Snes9x:
- Restore MSU1_AUDIO_POS.
- Restore MSU1 playback position correctly.
2019-04-17 13:31:26 -06:00
Daryl Borth
ff33041e31 fix ZL button mapping for Wii U GamePad 2019-04-16 19:12:16 -06:00
bladeoner
0f771aaf7a Snes9x - Round up calculated size to next 8k for bad hacks. (#842) 2019-04-16 18:03:46 -06:00
Daryl Borth
e8702bbb9d update readme. finalize 4.4.3. 2019-04-13 10:46:27 -06:00
bladeoner
c6b0535999 Snes9x - Revert to higher APU clock. (#841) 2019-04-12 13:24:23 -06:00
bladeoner
6fc9c9f96d Snes9x - Add Settings.IsPatched to know if ROM was patched. (#840) 2019-04-11 07:53:45 -06:00
bladeoner
11093a7e1a Snes9x - Fix BPS patch support. (ArtiiP) (#838) 2019-04-10 17:03:00 -06:00
bladeoner
4e057ed7b4 Snes9x - Add the separate echo buffer option. (#836)
Snes9x
- Add the separate echo buffer option.
2019-04-10 12:21:57 -06:00
Daryl Borth
246b28fcd5 update spanish translation (Psycho RFG) 2019-04-08 19:39:48 -06:00
bladeoner
d9e6091377 Increase Max Cheats (#833) 2019-04-07 13:25:40 -06:00
bladeoner
cd94c6ad1d Fix Tenshi no Uta black screen (#834) 2019-04-07 12:29:15 -06:00
bladeoner
92c85e3688 Snes9x - SFX: Make SFX2 1/3 faster than 1.59.2. (#831) 2019-04-03 12:57:33 -06:00
bladeoner
30b717a1d6 Snes9x - Recorrect green bit math. (#830) 2019-04-03 12:56:33 -06:00
bladeoner
ff8f40e53b Snes9x - Adjust new math to do 15->16 bit correctly. (#829)
Commits from Snes9x:
- Change variable names to make sense.
- Adjust new math to do 15->16 bit correctly.
2019-03-28 07:56:56 -06:00
bladeoner
56fb0046ba Snes9x - Use for loops for DRAW_TILE. 3-4% speed benefit. Backport Select brightness function in tile renderer. (#828)
- Use for loops for DRAW_TILE. 3-4% speed benefit.
- Select brightness function in tile renderer.
2019-03-27 15:17:24 -06:00
bladeoner
6dcba441ea Snes9x - Proper 16-bit color conversion. Core version number 1.60
Proper 16-bit color conversion
Core version number 1.60
2019-03-25 21:06:43 -06:00
bladeoner
f513ac5e2f Fix Chou Aniki. Remove hack. (#825)
- Fix Chou Aniki. Remove hack.
- Fix lines in License Stub
2019-03-10 19:29:24 -06:00
bladeoner
25fd692dc5 Backport GFX and PPU fixes (#824)
- Fix PPU blending with unoptimized change.
- Use a lookup table. A little faster.
- Fix color add for non-GFX_MULTI_FORMAT.
- Make blending work with RGB555.
- Remove most of GFX_MULTI_FORMAT.
2019-03-09 09:59:21 -07:00
bladeoner
d3aa772352 Fix blackscreen Rendering Rangers R2 (J) (#822) 2019-03-04 07:50:55 -07:00
bladeoner
087ac22029 Backport and adjusted the Refactored APU Resampler (#821) 2019-03-03 09:28:18 -07:00
Daryl Borth
6e1a197edd cleanup screenshot memory management. fixes preview image not displaying
on gamecube
2019-03-02 16:38:41 -07:00
bladeoner
f016b19cab Backport Bump version number and copyright date. (#819) 2019-02-23 18:51:51 -07:00
bladeoner
3ba51632de Backport Adjust APU hack for Circuit USA. (#818) 2019-02-23 18:51:41 -07:00
bladeoner
dc9149939e Backport frequency changes (#820)
Adjust default input rate, too.
Use nominal frequency ratio for APU.
2019-02-23 18:51:28 -07:00
Fledge68
1a35f03d47 - fixed crash when used as wiiflow plugin. 2019-02-19 17:12:03 -06:00
bladeoner
b66acdf476 Backport Move interlace flags to S9xSoftResetPPU. (#811) 2019-02-18 08:53:47 -07:00
bladeoner
f93f2b84fa Backport c4emu and gfx fixes (#810)
C4emu backport:
C4: Do the sign extend manually.
Revert "MSVC 2005 bugfix"

GFX backport:
Fix GCC warning about indentation. 
GFX.DoInterlace-- should occur even if we don't render frame.
2019-02-17 10:33:34 -07:00
Daryl Borth
6b23a58a83 fix crash on launch when using network shares 2019-01-29 20:47:40 -07:00
Corey Garst
e27e792485 Port option to not append Auto to save filenames from vbagx and fceugx (#808) 2019-01-29 20:31:25 -07:00
Daryl Borth
de067e5e6b fix issue with on-screen keyboard 2019-01-29 18:13:34 -07:00
DDinghoya
0e45f3bf09 - Updated Korean translation. (#806) 2019-01-26 11:50:42 -07:00
Daryl Borth
7b72e0bc5f finalize 4.4.2 2019-01-25 19:05:21 -07:00
DDinghoya
6214bdddf2 - Updated Korean translation. (#805) 2019-01-25 08:38:48 -07:00
DDinghoya
fdf34302d3 - Updated Korean translation. (#804) 2019-01-23 07:59:20 -07:00
bladeoner
6d45274416
Backport Only allow instantaneous IRQ when toggling IRQ completely 2019-01-19 08:43:22 +01:00
bladeoner
aff6cd661f SA1 Hack Super Mario RPG and Kirby's Dreamland 3
This fixes the FPS drops in Super Mario RPG and Kirby's Dreamland 3.
2019-01-15 20:28:00 +01:00
bladeoner
5ddfffd8fe Backport Reduced version of Vitor's fix for SA1 speed throttle 2019-01-12 09:06:18 +01:00
Askot
5517ec7567 -Fix overclock settings not loaded on start 2019-01-06 13:05:13 -07:00
Daryl Borth
b723af3635 Add support to load external background music 2019-01-06 10:17:20 -07:00
Daryl Borth
9e038bee04 add ability to externally load fonts and activate japanese/korean
translations.
2019-01-05 17:07:07 -07:00
Daryl Borth
5160445ae8 fix Wii U GamePad support 2019-01-05 13:34:21 -07:00
Daryl Borth
a129950089 set widescreen by default when in 16:9 mode 2019-01-05 10:58:10 -07:00
Zalo
9dfd4581f9 Merge branch 'DBORTH_master' 2019-01-05 13:56:07 +01:00
Daryl Borth
79a1111178 finalize 4.4.1 2019-01-04 18:12:35 -07:00
Zalo
73cd9b9c74 changin image preview with plus button 2019-01-02 17:25:42 +01:00
Zalo
85cc152ca9 removed ImageFolder from GCSettings because it can always be retrieved from GCSettings.PreviewImage, added function to get its value 2019-01-02 17:25:13 +01:00
Daryl Borth
dc4d93d006 fix controllers with no analog sticks 2019-01-01 14:33:54 -07:00
Daryl Borth
42888f0707 Merge branch 'master' of https://github.com/dborth/snes9xgx.git 2018-12-31 13:29:42 -07:00
Daryl Borth
6804b2fbfc fix GC build. whoops. thanks niuus. 2018-12-31 13:29:28 -07:00
bladeoner
d6fc51f01a Backport some changes
- Error: comma at end of enumerator list
- Use strcspn instead of strtok for reentrancy
- Include ctype.h
2018-12-30 21:26:57 +01:00
dborth
23a0144ee5
Merge pull request #794 from bladeoner/Video
Change widescreen setting
2018-12-29 17:41:16 -07:00
bladeoner
531f0df37e Add stub license 2018-12-27 20:24:49 +01:00
bladeoner
6c225c269b
Change widescreen setting
Change widescreen setting to no autocorrection, this fixes mangled screen on newer tv's
2018-12-27 06:45:52 +01:00
Daryl Borth
7d69e75c36 update file headers 2018-12-26 16:10:12 -07:00
bladeoner
1479319bb5 Add Interpolation option and Add Gamemenu Audio
This adds the following:
- A new gamemenu option called Audio
- Under the new gamemenu option an option Interpolation with three options:  Gaussian (Default), Linear, None
2018-12-23 18:14:30 +01:00
dborth
16c80360ce
Merge pull request #791 from bladeoner/apuhack
APU and SA1 hack optimizations
2018-12-19 15:11:00 -07:00
dborth
96106e527b
Merge pull request #788 from bladeoner/1.58
Bump version number to 1.58
2018-12-19 15:10:17 -07:00
dborth
2112ecf014
Merge pull request #787 from bladeoner/special
Backport Add special S9xDisplayStringType to pass additional info.
2018-12-19 15:10:03 -07:00
bladeoner
9b8bb7b85b APU and SA1 hack optimizations
- Revert don't apply SA1 hack to Kirby's Dream Land 3.
- Enable Don't apply SA1 hack to Hoshi no Kirby
- Add Teiruzu obu Fantaja (Tales of Phantasia (J))
- Re-enable APU hacks to make Tales of Phantasia work again
- Backport Chou Aniki APU value
2018-12-18 23:16:48 +01:00
bladeoner
294a0708d7
Bump version number to 1.58 2018-12-13 21:41:10 +01:00
bladeoner
4373c0fb94 Backport Add special S9xDisplayStringType to pass additional info. 2018-12-13 18:44:28 +01:00
bladeoner
d33626467e Backport Move S9xMovieUpdate to start of next frame. 2018-12-13 18:23:39 +01:00
bladeoner
53b245e4e4 Backport Use 1 instead of 0 as first # for pressed key display. 2018-12-12 19:38:44 +01:00
bladeoner
d8b901a7e1 Backport Fix uninitialized warning and aliased pointers. 2018-12-06 10:38:11 +01:00
dborth
d92174f82b
Merge pull request #779 from bladeoner/codecleanup
Backport Remove ssnprintf function.
2018-12-03 08:07:55 -07:00
bladeoner
e918ab8a25 Use a license stub everywhere.
This points to the full license in the root directory.
2018-12-03 12:26:02 +01:00
bladeoner
ea1b3147b8 Backport Remove ssnprintf function.
Backport Remove ssnprintf function. from snes9x
2018-11-30 12:38:02 +01:00
bladeoner
14036e6d54 Backport code cleanup remove unused code
Backport all changes including November 18 2018.
2018-11-20 12:13:06 +01:00
bladeoner
71838e083c don't apply SA1 hack for Kirby Super Star 2018-11-15 20:03:44 +01:00
Daryl Borth
8b30730144 don't apply SA1 hack for Kirby's Dream Land 3 2018-11-14 19:17:40 -07:00
DDinghoya
5574ce4d9c
Update ko.lang 2018-11-14 13:52:22 +09:00
bladeoner
e04cb171ee Get SuperFX Overclock working, APU hacks to fix Earthworm Jim 2, adjust SA1 settings to fix Super Mario RPG slowdowns
* Get SuperFX Overclock working with core 1.57
* Get APU Hacks working with core 1.57 to fix Earthworm Jim 2
* Adjusted SA1 settings to fix Super Mario RPG slowdowns with core 1.57
2018-11-13 19:24:16 -07:00
Daryl Borth
8b73ba1913 upgrade core to 1.57 2018-11-11 18:31:52 -07:00
Daryl Borth
2fc86568c5 fix merge 2018-11-11 17:02:11 -07:00
Daryl Borth
43d60b28d9 merge 2018-11-11 16:59:34 -07:00
Daryl Borth
402a4ec3a2 re-apply changes that update core to 1.56 2018-11-11 16:57:16 -07:00
bladeoner
6f133280d9
Fixed black screen: Tengai Makyou Zero 2018-10-23 18:26:24 +02:00
bladeoner
beb3b72ed4
Fixed black screen: Chou Aniki 2018-10-16 14:01:22 +02:00
Daryl Borth
c5eed33de0 Add Wii U GamePad support (thanks Fix94!) 2018-09-05 19:59:14 -06:00
Daryl Borth
93c161493b simplify logic for controller analog sticks 2018-08-30 15:58:54 -06:00
Daryl Borth
9dd8ebcc60 fix mangled image when switching between HQ2x and scanlines filters 2018-08-30 11:44:41 -06:00
Daryl Borth
9cab3a68e9 tidy up filter code 2018-08-30 11:24:12 -06:00
Daryl Borth
16e8b6dd25 if arguments are passed to the emu to autoboot a game, then the main
menu button should be labelled Exit, and leave the emu instead of going
back to the main menu. cleanup autoboot code.
2018-08-30 10:11:24 -06:00
Daryl Borth
e63c43e225 avoid using file stat when possible. it's slow. 2018-08-28 14:47:59 -06:00
Daryl Borth
61459262ca avoid using file stat when possible. it's slow. 2018-08-28 14:47:49 -06:00
Daryl Borth
23d89dd0d1 minor menu optimizations 2018-08-27 10:42:07 -06:00
Daryl Borth
b4757544c9 prevent overrunning the file buffer (eg: loading a game cover image
that's too big). increase buffer size to load larger IPS/UPS files.
2018-08-27 09:30:31 -06:00
Daryl Borth
0533d181a3 change some defaults 2018-08-26 20:33:04 -06:00
Daryl Borth
abe92818ce finalize 4.3.9 2018-08-24 08:43:49 -06:00
Daryl Borth
6a045e6441 quick and dirty attempt to prevent reading and writing from/to the same
audio buffer
2018-08-23 10:27:26 -06:00
Daryl Borth
3d298ff126 add logic to update the playback rate dynamically 2018-08-22 17:24:37 -06:00
Daryl Borth
babf402d01 rewritten audio code. a work-in-progress. 2018-08-22 15:19:11 -06:00
Daryl Borth
e67a58812b revert recent APU changes. they would randomly compile "wrong" - out <=
&m.extra_buf [extra_size] assert would trigger
2018-08-22 10:35:43 -06:00
Daryl Borth
f69cd5baee refactoring. we only use the HermiteResampler 2018-08-22 08:54:18 -06:00
Daryl Borth
cacc596722 disable sound sync (if enabled) when using turbo mode. fixes sound
cutting off when using turbo.
2018-08-21 08:38:50 -06:00
Daryl Borth
632720be0c APU - types cleanup, port more changes from game-music-emu -
https://bitbucket.org/mpyne/game-music-emu
2018-08-20 14:05:15 -06:00
Daryl Borth
acd7e773f0 reduce sound input rate slightly. 2018-08-20 09:29:40 -06:00
Daryl Borth
845e69d889 revert remainder of snes9x code back 2018-08-20 09:11:01 -06:00
Daryl Borth
c77b4f4963 try to improve audio sync 2018-08-19 16:38:33 -06:00
Daryl Borth
860d77a094 change audio playback to 48khz. this should fix the tinny sound problem. 2018-08-18 12:44:28 -06:00
Etienne Haarsma
70c7e883d7 Code cleanup and fix include references
- Fixed all broken include references
- Cleanup memmap.cpp code by removing UNZIP and JMA SUPPORT code which are not used
- Cleanup reader.cpp code by removing the UNZIP SUPPORT reference to unzip.h
2018-08-18 12:04:35 +02:00
Daryl Borth
b30051c692 fix joystick calculations 2018-08-16 14:00:14 -06:00
Daryl Borth
af25c15b08 mute sound when in turbo mode. otherwise the APU buffer can get messed
up.
2018-08-16 10:40:10 -06:00
Daryl Borth
a2ebaeac72 add soft and sharp video filtering options 2018-08-16 09:35:24 -06:00
Daryl Borth
c617a00d69 re-add explicit Wii U Pro controller mappings 2018-08-16 09:21:10 -06:00
Daryl Borth
fdc2b42ac0 partially revert snes9x core. fixes performance issues. 2018-08-16 08:59:18 -06:00
Daryl Borth
5ea5f217b5 partially revert snes9x core. fixes performance issues. 2018-08-16 08:41:30 -06:00
Daryl Borth
4f2234cbc2 fix SPC crash that happens on some games, eg: chrono trigger
(http://www.snes9x.com/phpbb3/viewtopic.php?f=6&t=6881)

the snes9x team gave up and replaced the core, but others have fixed it
https://bitbucket.org/mpyne/game-music-emu/issues/18/spc_cpucpp-492-always-assert-s
2018-08-15 12:54:52 -06:00
Daryl Borth
05a607a8f7 update hermite resampler to support dynamic rate control (fixes audio
blips), remove some asserts in APU.
2018-08-15 11:49:27 -06:00
Daryl Borth
1a89c5174a BS-X works again. required BSX BIOS ROM be placed in snes9xgx as
BS-X.bin.
2018-08-15 10:01:48 -06:00
Daryl Borth
e138b27dea add DSP halt/unhalt when switching between sound modes 2018-08-14 15:38:54 -06:00
Daryl Borth
007dbb6b4d restore 1.56 BSX. for some reason this fixes all games from crashing. 2018-08-14 14:56:58 -06:00
Daryl Borth
33f833bbc6 revert BSX code back to snes9x 1.52. no idea why the 1.56 code isn't
working.
2018-08-14 11:23:10 -06:00
Daryl Borth
7da04d7d01 fix sound crackling 2018-08-14 11:00:45 -06:00
Daryl Borth
395f9069ef compress images, fix invalid sRGB profile 2018-08-14 10:36:14 -06:00
Daryl Borth
1e55157a6e fix cheats not working 2018-08-12 16:36:31 -06:00
Daryl Borth
a9f851a19f Finish update to snes9x 1.56 master. Disable multi pixel format support
for a speed boost.
2018-08-12 16:05:46 -06:00
Daryl Borth
d895bf6300 compress bg music to reduce memory footprint. reorder init to init
snes9x memory earlier so it goes into MEM1.
2018-08-11 15:54:25 -06:00
Daryl Borth
5866fd20db backport more changes from snes9x master 2018-08-11 14:58:21 -06:00
Daryl Borth
856a1ac127 backport more changes from snes9x master 2018-08-11 14:56:31 -06:00
Daryl Borth
e8f2613841 backport some files from snes9x master 2018-08-10 10:25:56 -06:00
Daryl Borth
c685dfceb9 allow ROMs smaller than 96K. 32K is now the lower limit. 2018-08-09 17:39:56 -06:00
Daryl Borth
647097b356 remove L+R+X+Y trigger to go back to emulator. just use the stick or
home button.
2018-08-09 17:30:15 -06:00