Commit Graph

145 Commits

Author SHA1 Message Date
bladeoner
b17cca4d1c
Snes9x - Increase SRAM size to 512KB (#920)
Increased SRAM size from 128KB to 512KB.  This fixes a crash in the
emulator when writing to SRAM between addresses $720000 and $7DFFFF.
2020-04-06 17:16:15 -06:00
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
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
bladeoner
96b7c849b4 Snes9x - Fix Mode7 mosaic glitch from tile cleanup. (#876) 2019-10-13 14:01:53 -06:00
bladeoner
637f4b42cc Snes9x - Fix out-of-bounds memory access. (#871) 2019-08-05 11:08:00 -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
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
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
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
bladeoner
0f771aaf7a Snes9x - Round up calculated size to next 8k for bad hacks. (#842) 2019-04-16 18:03:46 -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
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
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