Commit Graph

58 Commits

Author SHA1 Message Date
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