Commit Graph

119 Commits

Author SHA1 Message Date
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
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
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
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
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
bladeoner
531f0df37e Add stub license 2018-12-27 20:24:49 +01: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
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
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
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
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
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
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