Commit Graph

144 Commits

Author SHA1 Message Date
Brandon Wright 83916eb56d Round up calculated size to next 8k for bad hacks. 2019-04-14 13:03:09 -05:00
Brandon Wright ac4d458f7b Add Settings.IsPatched to know if ROM was patched. 2019-04-10 14:43:20 -05:00
Brandon Wright c6facbdf4a Fix BPS patch support. (ArtiiP) 2019-04-10 14:12:29 -05:00
Brandon Wright e854a759f8 Fix Chou Aniki. Remove hack. 2019-03-09 17:16:54 -06:00
Brandon Wright aeb0d4f702 Adjust APU hack for Circuit USA. 2019-02-20 16:25:12 -06:00
Brandon Wright 56af48c042 Reduced version of Vitor's fix for SA1 speed throttle. 2019-01-08 15:32:44 -06:00
Brandon Wright 976edaad02 Adjust Chou Aniki timing hack. 2018-11-20 15:30:00 -06:00
Brandon Wright b7a126ac17 Get rid of "ignore" warnings. 2018-11-18 12:03:14 -06:00
Brandon Wright 5f56cadafb Use a license stub everywhere.
This points to the full license in the root directory.
2018-11-15 17:31:39 -06:00
OV2 70e4d4342f
Merge pull request #420 from Dwedit/change-header-detection
Change detection of copier headers
2018-09-20 15:46:38 +02:00
Brandon Wright c61d81269a Timings.IRQTriggerCycles is 3.5 dot clocks. 2018-09-09 16:15:38 -05:00
Dwedit d044d370f8 Change detection of copier headers 2018-08-28 13:53:09 -05:00
Brandon Wright 386bfe0aa9 LoROM: Don't map SRAM if size is 0. 2018-08-07 11:48:21 -05:00
OV2 af3dbf8b54 Do not prematurely close unzFiles for ips, properly close for ups
(closes #343)
2018-06-19 22:36:50 +02:00
Brandon Wright 642ce83e47 Switch back to .cht format. Update to byuu's new form. 2018-06-03 18:02:48 -05:00
Brandon Wright 4c40ed4ce3 Cleanup. 2018-05-29 14:11:02 -05:00
OV2 ba4f807b1d Remove Aero the AcroBat 2 hack 2018-05-29 20:47:22 +02:00
Brandon Wright 20bd60a3c6 Update copyright dates. 2018-05-25 15:44:52 -05:00
Brandon Wright cff3ff50f5 I think this one's fixed, too. 2018-05-22 16:50:52 -05:00
Brandon Wright c29ca215d0 Increment VRAM pointer even if we don't write to it. 2018-05-22 14:54:37 -05:00
Brandon Wright c96f6cd913 Add Kick Off and Jojo to VRAM write exclusions for now. 2018-05-19 16:00:26 -05:00
Brandon Wright 2f57076877 Adjust SDD1 mapping. 2018-05-14 11:10:03 -05:00
Brandon Wright e3838a2dad Use .bml instead of .cht. Add fallbacks where loading. 2018-04-30 17:25:43 -05:00
OV2 9c056c4d40 Remove doubled S9xInitCheatData 2018-05-01 00:06:11 +02:00
Brandon Wright e69fd7c50e Fix a couple bugs. Change cheats on unix to work like they used to. 2018-04-30 16:44:17 -05:00
Brandon Wright 21a4fe3163 Updated for Windows support. 2018-04-27 15:42:19 -05:00
Brandon Wright cb531670e5 Various fixes. Allow global disabling of cheats. 2018-04-26 11:15:20 -05:00
Brandon Wright 0d102b72ff Revamping cheats support. 2018-04-25 19:29:26 -05:00
Brandon Wright bbfeb19b08 Calculate SHA256 checksum for later use. 2018-04-24 17:06:32 -05:00
OV2 94d9416d40 Add DMA timing hack for Koryu no Mimi translation by rpgone
(fixes #279)
2018-04-02 13:58:55 +02:00
Brandon Wright 89f34bb33a Rendering Ranger R2 now seems to work without timing hack. 2017-12-07 16:03:32 -06:00
Brandon Wright e2277ff55b Clean up compiler warnings. 2017-12-06 19:00:19 -06:00
Brandon Wright 099bd60db0 Added Chou Aniki APU timing hack. 2017-11-17 16:11:03 -06:00
Brandon Wright 7a2ca6dc2a Update copyrights. 2017-11-17 16:00:58 -06:00
qwertymodo 81d287cbd8 Add support for Tengai Makyou Zero English patch mapping 2017-10-23 09:03:19 -07:00
qwertymodo e4d08bb71a New attempt to fix RAM mapping for Light Fantasy (matches higan) 2017-10-09 13:15:44 -07:00
qwertymodo 992157ec84 Add config option to ignore BPS/UPS checksums for soft patching 2017-09-28 10:45:32 -07:00
OV2 7bd06fda13 Merge branch 'gtk_unix_fixes' of git://github.com/megari/snes9x 2017-09-11 23:42:13 +02:00
OV2 cb3ace471e Rename IPS_DIR to PATCH_DIR, split cheats path in win32 2017-09-11 23:29:12 +02:00
Ari Sundholm 60aabb91d7 Fix some undefined behavior
The destructor of Resampler needs to be virtual, as it is subclassed
and pointers to objects subclassed from it are being deleted.

The issue in controls.cpp is that the loop ends up reading past the
end of an array. The small rewrite of the loop also makes it more
readable.

In memmap.cpp, there is an assignment statement of the following form:
	a[i++] = b[i];
It is undefined what i's value should be in b[i], so this was made
explicit.
2017-09-11 00:42:36 +03:00
qwertymodo 7455501db8 Minor refactor to .msu1 pack hotpatching 2017-09-09 17:02:52 -07:00
qwertymodo 698bf1a4b2 Remove .msu.zip extension support in favor of .msu1 2017-09-03 14:54:01 -07:00
qwertymodo 9e804b4515 Add support for loading .msu1 packs as ROM files, if they actually contain a ROM file 2017-08-17 11:30:44 -07:00
qwertymodo 96fd5c4121 Allow unzFindExtension to optionally match the exact filename 2017-08-17 10:37:28 -07:00
qwertymodo ab2da6d913 Add IPS_DIR to the search path for .msu1 pack files 2017-08-17 10:34:13 -07:00
qwertymodo f8da152441 Add support for .msu1 pack files 2017-08-16 18:56:57 -07:00
Brandon Wright 9f84ba9d0f Attempt to fix RAM mapping for Light Fantasy. 2017-05-27 15:55:39 -05:00
Brandon Wright c22622806d Circuit USA timing hack. 2017-05-21 16:33:17 -05:00
qwertymodo 38c9ef94ee Merge branch 'master' of https://github.com/snes9xgit/snes9x 2016-12-06 21:19:26 -08:00
qwertymodo 907cf3efa8 Unload MSU-1 files on reset 2016-12-06 21:19:23 -08:00
OV2 2bd6fd867b Properly close stream objects 2016-12-03 18:03:40 +01:00
OV2 994698912a Merge remote-tracking branch 'bsx/bsx' 2016-11-27 18:02:03 +01:00
luigiblood ff05060f01 [BS-X] Making sure there's enough space in ROM memory, simple precaution 2016-11-24 03:28:05 +01:00
luigiblood 3d38857b44 [BS-X] Make Empty Memory Pack if loaded from Multi Cart menu
(This is a conscious choice. It means no empty Memory Pack will be made if loaded like a regular ROM, which is fine.)
2016-11-24 03:19:36 +01:00
luigiblood 50228801f1 [BS-X] Save Memory Pack option (Windows) 2016-11-23 23:38:21 +01:00
luigiblood 1b6f6b6926 [BS-X] Rename and proper SA-1 Memory Pack mapping 2016-11-23 21:27:18 +01:00
luigiblood f9e457ea3b [BS-X] Read/Write Memory Pack Fixes 2016-11-14 20:28:32 +01:00
Brandon Wright 27e6bc1b01 Merge branch 'msu1' 2016-11-14 13:12:00 -06:00
luigiblood 4c9feadc63 [BS-X] MultiCart Loading for games with Memory Pack support
I found out that my code only really works with HiROM games.
Maker games have issues since sx2 fork.
2016-11-14 16:32:05 +01:00
Lars Wendler def3936a53
Introduce --with-system-zip configure flag to use system zip (minizip)
if available.
2016-11-11 18:26:59 +01:00
Brandon Wright add3a16f25 Increase buffer size. Don't use sizeof on heap buffer (returns pointer size). 2016-11-03 14:45:20 -05:00
qwertymodo 3c0f6bfdee Begin adding MSU-1 support. Data streaming is working in Windows, audio streaming is not. 2016-11-03 11:40:47 -07:00
Brandon Wright 1661fc838c Add copyrights. 2016-10-15 11:31:26 -05:00
OV2 357fead53b Fix multicart loading with only one cart 2016-10-07 23:57:02 +02:00
Brandon Wright ddb1527236 Bump OV2 Windows port copyright. 2016-10-07 12:53:18 -05:00
Brandon Wright 006fc22ebb Add byuu copyright for his S-SMP 2016-10-07 12:47:07 -05:00
Brandon Wright 91aebfe759 Update some copyrights, bump version number. 2016-10-01 20:03:03 -05:00
OV2 dfc6227e7b Remove unnecessary counter 2013-12-17 23:40:40 +01:00
Alcaro 25c0e7c948 Fix infinite loop when given bad ROMs (one byte files, for example); fix compile error that somehow snuck in. 2013-08-14 10:05:15 +02:00
twinaphex ef0d252dee (libretro Android) Add Android JNI Makefile 2013-05-18 20:56:16 +02:00
OV2 d8e5d090aa Fix MMC bank register bit 7, restore 64mbit ExLoRom map (FuSoYa) 2013-01-25 21:16:30 +01:00
OV2 08ff48a479 Remove old chown calls on linux 2012-04-16 19:56:15 +02:00
OV2 34a813cab0 Remove ZeroMemory references from memstream merge 2012-03-28 21:10:40 +02:00
OV2 9cc05b3c12 Merge branch 'memstream'
Resolved conflicts:
	apu/SNES_SPC.h
	memmap.cpp
	port.h
	unix/Makefile.in
2012-03-25 20:44:57 +02:00
Brandon Wright faa870ba49 Merge branch 'byuuapu'
Conflicts:
	memmap.cpp
2012-01-26 14:00:35 -06:00
OV2 faee2859b5 Change ZeroMemory to memset 2012-01-23 18:12:47 +01:00
OV2 3368fd6883 Add multicart memory function, add sufami turbo to libsnes 2012-01-06 20:13:16 +01:00
OV2 dee8895db2 Allow membased rom/state load/save, add libsnes interface (Themaister) 2012-01-02 17:06:45 +01:00
bl0ckeduser 4e2d3854ab Make Microsoft-specific enum code more portable 2011-11-15 15:09:29 -05:00
OV2 b4f07bc9be Add bps soft-patching support 2011-09-10 16:20:00 +02:00
zones f141d498d9 G-NEXT combined image support 2011-07-20 21:03:03 +09:00
zones 1f4f1f06d9 G-NEXT add-on cart support (untested) 2011-07-18 22:11:30 +09:00
Brandon Wright 1af39f3845 Clean things up slightly. Switch CYCLE_ACCURATE off, since things seem
to work fine without it.
2011-06-23 05:24:13 -05:00
OV2 4571a0adfe Apply APUAllowTimeOverflow to Big Sky Trooper and Mechwarrior 3050 / Battletech 3050 (danieldematteis) 2011-05-07 03:36:43 +02:00
OV2 f342d6b137 Apply APUAllowTimeOverflow to Porky Pig's Haunted Holiday 2011-05-01 15:33:37 +02:00
OV2 3cd9a46f00 Apply APUAllowTimeOverflow to Mutant Chronicles - Doom Troopers (danieldematteis) 2011-04-24 15:38:10 +02:00
OV2 c47598f3cf Update copyright in all files 2011-04-11 21:51:20 +02:00
OV2 56fd187a3a Apply APUAllowTimeOverflow to primal rage 2011-01-22 15:43:31 +01:00
zones 82435ab5db Merged with coreupdate branch, so now the master branch has improved IRQ and SA-1. / Remove i386 asm codes. 2011-01-16 17:15:13 +09:00
zones c3ce28b49d Rewrite IRQ / Update SA-1 / Remove CPUShutdown 2010-11-14 21:29:48 +09:00
OV2 898de0d0dd Apply APUAllowTimeOverflow to "The Mask" 2010-10-28 22:30:46 +02:00
OV2 33b1a63238 Introduce new APU timing hack
Timings.APUAllowTimeOverflow allows the SPC to cross the time limit
set by CPU.Cycles. Currently fixes Earthworm Jim 2, Ms. Pacman and
NBA Hang Time.
2010-10-17 02:49:36 +02:00
OV2 debd16c179 Update to latest WIP 2010-09-25 18:46:06 +02:00
OV2 d1666860e0 Initial 1.52 import 2010-09-25 17:46:12 +02:00