Commit Graph

620 Commits

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