Commit Graph

181 Commits

Author SHA1 Message Date
bladeoner
4e73f18af9
Optimize code (#1060) 2023-03-17 10:14:53 -06:00
bladeoner
6844bb0dd0
Snes9x - Silence NULL pointer subtraction warning. (#1056)
Use a pointer to address 1 instead.
2023-03-15 10:28:33 -06:00
bladeoner
c0103d65de
Snes9x - Fix more warnings. (#1055) 2023-03-15 10:28:20 -06:00
bladeoner
b68b198070
Snes9x - Make S9xSetInfoString own its string. (#1054) 2023-03-15 10:28:09 -06:00
bladeoner
ce1a40b012
Snes9x - Fix warnings for string truncation. (#1053) 2023-03-15 10:27:56 -06:00
bladeoner
37fdefbc55
Snes9x - Add function to load only screenshot from snapshot file (#1052) 2023-03-15 10:27:44 -06:00
bladeoner
7fd6bf7f85
Snes9x - Fix dvision routine on SA-1 returns the wrong reminder (and quotient) on negative dividends (#1050) 2023-02-06 09:19:28 -07:00
bladeoner
c74bfa27a0
Snes9x - Don't map high SRAM range on LoROM if no SRAM. (#1047) 2023-01-30 14:07:33 -07:00
bladeoner
3940616617
Snes9x - msu1: revert to start for invalid loop positions (#1039) 2022-11-11 10:15:36 -07:00
InfiniteBlueGX
67af82ad0c
Add support for newer format .cht files and OptionBrowser text scrolling (#1038)
* Add support for BML-format .cht files, and OptionBrowser text scrolling

* Move BML handling out of cheatmgr.cpp
2022-11-07 14:26:28 -07:00
bladeoner
6582c58648
Snes9x - Adjust opcode timing as reported by pi1541. (#1036)
* Snes9x - Adjust opcode timing as reported by pi1541.

* Snes9x - Move AddCycles to be consistent with other OPs.
2022-10-25 18:24:41 -06:00
bladeoner
4327670959
Snes9x - Reset save timer before loading new rom (#1025) 2022-09-22 23:38:52 -07:00
saulfabreg Wii VC Project
42c1e491ed
Snes9x - Add new audio filters (CUBIC/SINC) from Snes9x 1.61 (niuus, Tanooki16) (#1014)
* New audio filters (CUBIC/SINC) taken from Snes9x 1.61 (niuus, Tanooki16)

* New audio filters (CUBIC/SINC) taken from Snes9x 1.61 (niuus, Tanooki16)

* New audio filters (CUBIC/SINC) taken from Snes9x 1.61 (niuus, Tanooki16)

* New audio filters (CUBIC/SINC) taken from Snes9x 1.61 (niuus, Tanooki16)
2022-06-03 13:51:07 -06:00
saulfabreg Wii VC Project
da7b4e687a
apu/dsp: Mark function-scope const arrays as static [jSTE0]] (#1012) 2022-06-03 13:50:48 -06:00
saulfabreg Wii VC Project
6ec35dab7e
Fix some memory leaks (jdgleaver) (#1009) 2022-06-02 12:29:07 -06:00
bladeoner
b643b0d7ac
Snes9x - Remove unused logger.cpp and logger.h. (#1000) 2022-04-30 12:24:18 -06:00
bladeoner
e1ca95b38b
Snes9x - Revert "LoROM: Don't map SRAM if size is 0." (#999) 2022-03-07 15:16:01 -07:00
bladeoner
01012bfebc
Snes9x - Merge pull request #735 from jSTE0/microopt (#996) 2022-02-22 08:43:14 -07:00
bladeoner
850936bf8f
Snes9x - Add scanline timing for Full Throttle Racing (#988) 2022-02-07 09:03:05 -05:00
bladeoner
35884aac65
Snes9x - Set SRAM initialization to set whole buffer (#987) 2022-02-07 09:02:53 -05:00
bladeoner
09db4c69f0
Snes9x - Add ability of FastROM hacks to use SuperFX (#986) 2022-02-07 09:02:20 -05:00
bladeoner
f5a2ed5e99
Snes9x - Update version and copyright for 1.61 (#985) 2022-02-07 09:01:57 -05:00
Daryl Borth
8aa8e4ce74 fixed the option to disable the aiming crosshair, fixed support for
128kb backup files (thanks Tanooki16!)
2021-09-02 10:04:28 -06:00
bladeoner
5bff07b305
Snes9x - Add 128KByte SRAM support in cheats (#976) 2021-08-27 08:40:49 -06:00
bladeoner
514d6c88ff
Snes9x - Add support for mapping more than 128KByte SRAM (#975) 2021-08-24 08:48:02 -06:00
bladeoner
14f06f25c7
Snes9x - cheats: Fix of delete instead of free on strdup. (#971) 2021-05-16 17:28:59 -06:00
bladeoner
ff20f95258
Snes9x - memmap: Add a comment about the new hack detection. (#963) 2021-02-08 08:47:39 -07:00
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