Commit Graph

154 Commits

Author SHA1 Message Date
bladeoner
b47c74744e
Snes9x - memmap: Add heuristic to detect Earthbound hack. (#962) 2021-02-07 10:17:05 -07:00
bladeoner
c1fb2e5a1e
Snes9x - Remove S9xChooseFilename (#941)
This is integration of the frontend with the core. Disable
the snapshot button mappings that use it. Any frontend should
implement those port commands its own.

Co-authored-by: dborth <dborth@gmail.com>
2020-08-08 10:45:42 -06:00
bladeoner
c14ff9464a
Snes9x - Remove S9xSetPalette (#940) 2020-08-08 10:28:59 -06:00
bladeoner
158d09b9d2
Snes9x - Remove S9xChooseMovieFilename (#942)
This is integration of the frontend with the core. Disable
the button mappings that use it. The frontend should implement on
its own.
2020-08-08 10:28:38 -06:00
bladeoner
1c021f105b
Snes9x - Add explicit declaration of tile unit templates. (#943)
Silences warnings and prevents double-compilation.
2020-08-08 10:28:28 -06:00
Daryl
8435c09b65 BSX rom is now optional. if missing, it will load directly into the
game.
2020-06-28 21:24:42 -06:00
Daryl
d6eeb5c77d silence a few warnings 2020-06-28 13:45:36 -06:00
bladeoner
3252710eb7
Snes9x - Fix some warnings. / Remove out-of-bounds access with macs rifle data. (#925)
* Snes9x - Fix some warnings.

* Snes9x - Remove out-of-bounds access with macs rifle data.
2020-06-24 22:01:32 -06:00
bladeoner
cd66ff803f
Snes9x - SA1: Remove memory remapping at load state. (#924)
This fixes the Mega Man X SA1 patch.
2020-06-13 15:29:27 -06:00
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