Commit Graph

724 Commits

Author SHA1 Message Date
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
Daryl Borth
d51aeb12ac remove non-existent defaults 2018-08-09 17:14:59 -06:00
Daryl Borth
66110b2671 re-enable FixInvalidSettings 2018-08-09 17:05:47 -06:00
dborth
732c94033b
Merge pull request #734 from bladeoner/background
Change SNES bg image from US to EU/JP version
2018-08-05 17:52:59 -06:00
bladeoner
ed77e346c6
Change SNES bg image from US to EU/JP version
- This changes the background image in the menu to the EU/JP version of the console.
It makes the it more complete since the other images used are also the EU/JP version of the console.
2018-08-05 22:46:54 +02:00
bladeoner
b27ac565d5
Update build to version 4.3.8
* Add MSU1 support (thanks qwertymodo!)
* Add BPS soft-patching support (thanks qwertymodo!)
* Allow loader to pass two arguments instead of three (libertyernie)
* Backport some MSU1 fixes from snes9x
* Fix a few potential crashes caused by the GUI
* Compiled with latest libOGC/devkitPPC
* Remove update check completely. 
* Compatibility fixes for newer devkitppc.
* Compile fixes for Gamecube
* Compile fixes for Linux
2018-08-05 22:39:13 +02:00
bladeoner
dbefa19b60
Compile fixes for Linux
- Compiling on a Linux distribution will fail without these fixes.
2018-08-05 21:17:02 +02:00
Daryl Borth
6788d15aae automatically create preview image dirs if they don't exist 2018-08-02 11:28:00 -06:00
Daryl Borth
b66d66e82e compiles on latest devkitPPC/libogc. Note: crashes as soon as wiimote is
connected with the freetype portlib supplied by devkitPPC. using an
older freetype works.
2018-08-02 10:32:54 -06:00
Daryl Borth
9703bef743 remove wiiupc since libogc wiiuse now supports WiiU Pro controller.
remove update check completely. compatibility fixes for newer devkitppc.
2018-08-01 12:44:21 -06:00
dborth
0baaf38e35
Merge pull request #728 from libertyernie/allow-two-arguments
Allow loader (e.g. Homebrew Channel) to pass 2 arguments instead of 3
2018-07-29 11:47:55 -06:00
bladeoner
74f3ee4caf
MSU1 fixes backported
The following fixes are backported from the Snes9x master branch:
- Release msu data and audio streams on exit, use unzClose when closing
- Fix MSU-1 channel swap on loop
- Ensure all MSU-1 reads are stereo channel aligned
- Clean up S9xMSU1Generate code
- Fix MSU1 swapping.
- Fix casting on MSU1 volume
- Get rid of "Unable to find msu file" console spam
2018-07-29 19:33:25 +02:00
libertyernie
8d210497a3 Check argc 2018-07-28 15:09:23 -05:00
libertyernie
081efa8f26 Allow loader (e.g. Homebrew Channel) to pass two arguments instead of three for autoload 2018-07-27 21:52:04 -05:00
emu_kidid
2c224b8db8 - Fix LTO flag (actually use one :P)
- Virtual memory for GameCube, prevent out of memory crashes
2018-06-09 08:59:52 +09:30
emu_kidid
a417745817 - Fix compilation errors with latest libOGC/devkitPPC
- Fix GameCube build
- Add PowerPC specific Blargg makefile flags
- Add LTO to Makefile.gc
2018-06-06 23:40:11 +09:30
bladeoner
d8a8530bc8
Properly report MSU-1 revision in the status register 2018-03-04 17:00:22 +01:00
dborth
c9d0680796
Merge pull request #711 from bladeoner/bps
Add .bps soft-patching support by qwertymodo
2018-01-17 20:55:54 -07:00
Etienne Haarsma
a6e77b92c5 Add BPS soft-patching support (thanks qwertymodo!) 2018-01-17 16:16:47 +01:00
Etienne Haarsma
a0ff37c92e Add MSU1 support (thanks qwertymodo!) 2018-01-17 15:59:23 +01:00
Daryl Borth
97e637fed8 Hide saving dialog that pops up briefly when returning from a game 2016-12-08 19:41:52 -07:00
Daryl Borth
10a881ac05 merging changes from Zopenko 2016-12-08 17:51:57 -07:00
askotx
1e46032589 Merge pull request #689 from askotx/master
Add delete SRAM/state by Zopenko
2016-11-22 10:40:13 -07:00
Askot
d37fdded05 -Fix delete sram/state option 2016-09-17 21:28:35 -07:00
Askot
00a1df59cc -Add delete sram/snapshot option by Zopenko 2016-09-17 20:46:33 -07:00
Daryl Borth
35f6f7fd7a Merge remote-tracking branch 'refs/remotes/origin/master' into pr/686
# Conflicts:
#	readme.txt
#	update.xml
2016-06-25 15:02:30 -06:00
Daryl Borth
f5a064c92e update readme/update link 2016-06-25 11:24:13 -06:00
Juan Ruvalcaba
123326b5f9 -Remove Turbo Mode wii on right stick. 2016-06-09 13:25:16 -07:00
Juan Ruvalcaba
3c0bafb263 -Add Super FX Overclock option 2016-03-12 13:58:51 -07:00
Juan Ruvalcaba
f7407d6bf3 Show Framerate 2016-02-07 20:35:16 -07:00
Juan Ruvalcaba
15d791e87d -Fix standalone version getting invalid window on start, plugin mode works fine 2016-02-06 18:35:07 -07:00
Juan Ruvalcaba
85e6e4f2eb Missed images 2016-02-06 14:42:44 -07:00
Juan Ruvalcaba
8b7f48ec81 Missed image 2016-02-06 14:42:15 -07:00
Juan Ruvalcaba
f6c3abdc58 [4.3.5 - February 06, 2016]
* Added Fix94 wiiflow plugin mode
* Removed sound from GUI and now gets better perfomance/FPS on games like
  Yoshi's Island and Kirby Dream Land 3.
2016-02-06 14:40:46 -07:00
dborth
874c95f7c8 merge image preview changes from cebolleto 2014-10-24 02:47:59 +00:00
dborth
2089090791 finalize 4.3.2 2012-11-10 05:50:32 +00:00
dborth
fa7eaf3fed Fix lag with GameCube controllers 2012-10-04 00:33:54 +00:00
dborth
8bd9b8aedc finalize 4.3.1 2012-07-07 17:46:28 +00:00
dborth
2e16966bbb finalize 4.3.0 2012-07-06 20:50:09 +00:00
dborth
36b33a261c fix screen flicker when going back to menu 2012-06-28 02:33:17 +00:00
dborth
f8caf2e9df 2012-04-28 16:13:03 +00:00
dborth
14f4cd2cc0 2012-03-18 17:39:02 +00:00
dborth
17880749e0 use threshold of cos(67.5) to allow two directions to be pressed simultaneously (eg: down+right) (patch by KruLLo) 2012-03-18 15:52:20 +00:00
dborth
f65c3d01c3 trigger button press when GameCube L/R are 50%+ depressed
remove sync using vsync - use timers for sync only
2012-02-05 21:31:38 +00:00
dborth
6cb97df316 new joystick math 2012-01-27 02:34:43 +00:00
dborth
2c7c2cec04 finalize 4.2.9 2012-01-14 22:34:01 +00:00
dborth
b562209da7 improved pixel rendering 2012-01-11 18:46:55 +00:00
dborth
39102d8169 2011-10-27 04:12:14 +00:00
dborth
ccf1bebfa4 2011-06-21 02:22:09 +00:00
dborth
e9d4b787dd 2011-06-18 06:10:25 +00:00
dborth
13738fc3b0 2011-06-05 05:24:22 +00:00
dborth
85119d4fcb finalize 4.2.8 2011-05-16 00:54:37 +00:00
dborth
48d78d7d2d 2011-05-07 04:48:30 +00:00
dborth
529a71f6fb 2011-05-06 04:34:53 +00:00
dborth
347e59eaa4 2011-05-05 04:41:45 +00:00
dborth
4cfb4064ca Apply APUAllowTimeOverflow to Mutant Chronicles - Doom Troopers (danieldematteis) 2011-04-25 02:21:09 +00:00
dborth
bffb343462 update translations 2011-04-23 15:54:54 +00:00
dborth
ee7c66d257 sync APU code 2011-04-21 15:49:56 +00:00
dborth
f29ab67e46 2011-04-01 05:35:37 +00:00
dborth
fb983c9807 add Turkish translation 2011-03-30 03:41:39 +00:00
dborth
bba174d19b 2011-03-25 00:55:34 +00:00
dborth
482d846a4e finalize 4.2.7 2011-03-24 01:19:27 +00:00
dborth
fd8a742cd9 revert zones' improved IRQ and SA-1 changes committed in r661 - these are detrimental to performance 2011-03-24 01:07:47 +00:00
dborth
ce4ee053b6 fix slow browser issue 2011-03-24 01:02:33 +00:00
dborth
720306a188 parsing fix, string safety 2011-03-20 17:17:51 +00:00
dborth
86b15fb903 add trailing slash to paths 2011-03-19 17:00:09 +00:00
dborth
9fae5f0b42 finalize 4.2.6 2011-03-19 05:33:06 +00:00
dborth
4aa207d6ef 2011-03-13 05:48:20 +00:00
dborth
4d0bc13fa8 Fix glitched images on one-frame interlace changes (e.g. chrono trigger)
Fix hires pixel plotter
2011-02-16 00:23:19 +00:00
dborth
19c8d16c74 fix issue 468 - cheats do not persist 2011-02-15 17:08:35 +00:00
dborth
8afefe3599 rm space 2011-02-10 18:08:12 +00:00
dborth
ea9f2261b4 fix compilation on GameCube 2011-02-10 18:06:09 +00:00
dborth
56e8bcfaef update to match iso9660 devoptab 2011-02-06 20:47:04 +00:00
dborth
cb2b9de087 update net code 2011-02-06 05:38:15 +00:00
dborth
422ea26b46 sync to snes9x git 2011-02-06 05:23:21 +00:00
dborth
072c4941aa 2011-02-04 04:42:15 +00:00
dborth
212e716ecb source tidy 2011-02-03 03:44:45 +00:00
dborth
409482fab5 net changes 2011-02-03 03:35:09 +00:00
dborth
322e1575b7 enable SMB on GameCube (thanks Extrems!) 2011-02-03 03:09:49 +00:00
dborth
5a9f1ae3bd Apply APUAllowTimeOverflow to primal rage 2011-01-22 20:21:49 +00:00
dborth
be1243b83c 2011-01-21 02:36:17 +00:00
dborth
d968149ac5 replace file calls with standard ones 2011-01-20 02:52:56 +00:00
dborth
5d7331ead0 core update - improved IRQ and SA-1 2011-01-17 13:54:34 +00:00
dborth
32f8662987 sync 2010-12-27 05:41:49 +00:00
dborth
d7e85f0dc7 fix gc build 2010-12-26 23:19:44 +00:00
dborth
bf36bc2fec fix paste error 2010-12-26 23:16:53 +00:00
dborth
66d8370ff0 lang update 2010-12-25 18:26:44 +00:00
dborth
9b8ebe4a0c lang update 2010-12-24 03:11:08 +00:00
dborth
2213e5510e add IOS whitelist, reload if found. display warning if not. 2010-12-18 16:04:50 +00:00
dborth
0df185faa6 stop folder parsing when opening a 7z 2010-12-05 21:48:48 +00:00
dborth
9d72b181c0 add Catalan translation 2010-11-27 02:46:27 +00:00
dborth
df2392c736 2010-11-17 07:27:53 +00:00
dborth
ffa827d43c 2010-11-16 20:20:04 +00:00
dborth
6bf55a1f1e lang update 2010-11-12 01:44:38 +00:00
dborth
635ab61c83 lang update 2010-11-06 23:41:40 +00:00
dborth
df7be8626c Added SA-1 NMI and fixed its override mode. (zones) 2010-11-02 19:14:13 +00:00
dborth
63e1f9c391 2010-10-31 16:32:20 +00:00
dborth
7333110ebc allow APU time overflow on The Mask 2010-10-30 19:37:24 +00:00
dborth
deb8ae68a1 bugfix 2010-10-27 22:08:17 +00:00
dborth
887f39c835 fix language toggle 2010-10-19 21:41:04 +00:00
dborth
221bab8a9a Introduce new APU timing hack
Timings.APUAllowTimeOverflow allows the SPC to cross the time limit
set by CPU.Cycles. Currently fixes Earthworm Jim 2, Ms. Pacman and
NBA Hang Time.
2010-10-19 02:24:07 +00:00
dborth
9816922af5 simplify 2010-10-14 20:15:59 +00:00
dborth
d612bf27f9 lang updates 2010-10-10 17:45:09 +00:00
dborth
7667cc6d75 lang updates 2010-10-09 05:47:10 +00:00
dborth
87def924a7 fix off-by-one in http code 2010-10-07 19:56:09 +00:00
dborth
994643ee94 finalize 4.2.5 2010-10-07 16:44:08 +00:00
dborth
796df8935d sync with upstream 2010-10-03 20:13:53 +00:00