Commit Graph

936 Commits

Author SHA1 Message Date
EkeEke
0da3182c38 [MD] fixed crash when loading TMSS ROM while MD BIOS is enabled / not found 2012-08-19 01:13:03 +02:00
Twinaphex
44f01e7f0a (Makefile) Updates - should compile on both Win32 and Linux now 2012-08-18 16:58:45 +02:00
Saggi Mizrahi
ac00116e10 Fix sram saving and loading for some games
Some games (eg. Sonic 3 & Knuckles) have sram but the core doesn't set
"sram.start" and "sram.end". In any case, this constant is used in
source/win/main.c.

Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
2012-08-17 21:26:47 -04:00
twinaphex
00d98cee9c (Xbox 1) Fixed sound - never, ever name non-static inline functions
the same in disparate source files - they must all be named uniquely
2012-08-17 00:20:22 +02:00
twinaphex
86254071be (Xbox 1) Fixed Xbox 1 crash - the problem was that there are (non-static)
inline functions being declared in two source files - ym2413.c and
ym2612.c. A call to set_sl_rr in ym2612.c would jump to the inline
function declared in ym2413.c and completely crashihng the app.

Both functions in the input files have now been uniquely named to
avoid conflicts. There might be more conflicts up ahead (sound is still
not correct), but at least games run now
2012-08-16 23:57:31 +02:00
Twinaphex
f861ab1361 Revert "(Libretro) Add nonblock_state"
This reverts commit b15a94ffdf.
2012-08-15 19:53:02 +02:00
twinaphex
f49e8e2f36 (Xbox 1 MSVC) Solution changes 2012-08-15 19:45:17 +02:00
Twinaphex
b15a94ffdf (Libretro) Add nonblock_state 2012-08-15 09:50:47 +02:00
Themaister
b070a06a0e Move sysdir checking to retro_load_game. 2012-08-14 21:46:30 +02:00
Twinaphex
fe8c1b01ac Merge git://github.com/ekeeke/Genesis-Plus-GX 2012-08-08 23:48:10 +02:00
EkeEke
2dcc095c14 [Game Gear] added support for CJ Elephant Fugitive mapper (recently released by SMS Power) 2012-08-08 10:40:59 +02:00
EkeEke
ca9173cc58 [YM2612] fixed LFO AM modulation waveform (California Games) 2012-08-03 01:16:27 +02:00
EkeEke
02999945ea [YM2612] fixed LFO AM modulation waveform (California Games) 2012-08-02 23:14:08 +02:00
twinaphex
3122ce3323 (Xbox 1/360) C89 compatibility fixes 2012-07-26 14:16:13 +02:00
Twinaphex
c003038c36 (Libretro) Update 2012-07-26 13:53:24 +02:00
Twinaphex
d28fe8ee29 Merge git://github.com/ekeeke/Genesis-Plus-GX
Conflicts:
	source/system.c
2012-07-26 13:12:06 +02:00
EkeEke
737fcd116c added some message logging 2012-07-22 19:53:21 +02:00
EkeEke
8dad467ad2 fixed Snatcher default TOC 2012-07-22 19:52:17 +02:00
EkeEke
2a381dd290 .MD cartridge hardware (SRAM, etc) should not be reseted when emulating MCD hardware (fixes random crash when loading Mode 1 cartridge) 2012-07-22 19:51:42 +02:00
EkeEke
f3756f260c [SCD]
.fixed PCM channels loop address (Snatcher)
.fixed default TOC for Snatcher .bin image
.disabled Mode 1 ROM cartridge write access

[Wii/GC]
.fixed PCM channels remaining enabled when forcing system hardware
2012-07-21 23:01:05 +02:00
EkeEke
a973fd587e [SCD] fixed internal backup RAM formatting when switching regions 2012-07-21 19:10:36 +02:00
EkeEke
ac33d5ee34 fixed improper PCM channel status check 2012-07-21 19:09:00 +02:00
EkeEke
0f71b85e2a oops, should really compile before committing stuff 2012-07-15 19:02:10 +02:00
EkeEke
320b56ddcc [Wii] modified default controller key map 2012-07-15 18:41:03 +02:00
EkeEke
4114212712 better keep Win32 port makefile up-to-date 2012-07-15 18:11:56 +02:00
EkeEke
e043b76acc proper alignment mask for samples 2012-07-15 18:00:43 +02:00
EkeEke
e9d5f20992 [Wii/Gamecube]
.fixed "Cartridge Hot-Swap" option being locked
.fixed L/R buttons being inverted in cheat menu
.fixed corrupted screen capture when saving Mega CD state files
.fixed RAM cartridge file saving
.added DSP halt/unhalt call when exiting/entering main menu
2012-07-15 17:44:26 +02:00
EkeEke
70e96409c3 .added configurable size alignment for sound samples buffer 2012-07-15 17:41:09 +02:00
EkeEke
47040dbba6 .fixed potential memory issue when loading CD game after a large ROM file
.added support for upper-case ROM file extensions
.modified load_archive behavior so that it does not overwrite original filename with uncompressed name anymore
.replaced use of strcmp by memcmp
2012-07-15 17:39:47 +02:00
EkeEke
2b8656c27f .fixed SUB-CPU access to unmapped areas using PC-relative instructions (Final Fight CD first boss crash)
.fixed SUB-CPU idle loop false detection when using BSET/BCLR on memory mode register (Pugsy CD first boss slowdowns)
.fixed Word-RAM default mode switching on soft reset
.optimized VDP DMA processing
2012-07-15 17:26:21 +02:00
EkeEke
e53d6e8aa4 fixed PCM channels loop data & start address emulation 2012-07-15 17:18:46 +02:00
EkeEke
ae1416aad4 .improved CDD TOC emulation robustness
.added support for "Fast Forward" and "Fast Rewind" CDD commands
.modified default length of simulated CD audio tracks
2012-07-15 17:15:01 +02:00
twinaphex
c80663f8d8 (360/Xbox 1) System environment path fixed - Sega CD games
should run now if a BIOS is present in system directory
2012-07-12 03:10:59 +02:00
twinaphex
baaec1acc3 (360) Embarrassing... fixes 360 build (audio) 2012-07-12 02:22:47 +02:00
Twinaphex
25efebe0ea Hardcoded audio buffer size 2012-07-11 19:17:44 +02:00
Twinaphex
13e8181d8b Duct tape fix - setting samplerate to 44Khz fixes the audio
underruns (tested on PS3/PC)
2012-07-11 02:39:07 +02:00
Twinaphex
e74ebc3027 Set audio buffer size to snd.buffer_size * 2 * 2 2012-07-10 22:22:32 +02:00
Twinaphex
832cb5939a ifef out 'return aligned number of samples' for libretro- seems to be
a Wii-ism where we drop the samples - improves / eliminates audio pops
but still audio clicks/pauses
2012-07-10 19:25:50 +02:00
Twinaphex
38db336f93 (libretro) Implement error for logging 2012-07-10 19:15:26 +02:00
Twinaphex
64f496e81f Removed this from old 1.6.0 - tried to see if it effected audio
issues
2012-07-10 05:45:41 +02:00
Twinaphex
04998786ca Don't assume slash is appended at the end of the system dir 2012-07-10 05:44:32 +02:00
twinaphex
42ddead260 (libretro Xbox 1) Add MSVC Xbox 1 solution 2012-07-10 03:41:41 +02:00
Twinaphex
a2bb067ded Removed malloc.h include (for OSX compatibility) 2012-07-10 02:15:17 +02:00
twinaphex
eadec21e87 (MSVC) Working MSVC projects 2012-07-10 01:51:14 +02:00
Twinaphex
2780b78150 Add working libretro port 2012-07-09 23:14:35 +02:00
EkeEke
28775cc3aa [Core/SCD]
----------
* added Mega CD / Sega CD hardware emulation (incl. Sub 68K, CDD, CDC, PCM, GFX
rotation/scaling, etc)
* added .ISO & .BIN CD image file support
* added 512K backup cartridge RAM support
* added savestate support for CD games

NOTES:
~~~~~~
* to play CD games, original BIOS ROM files are required in /genplus/bios/
directory: unzip & rename them to bios_CD_U.bin, bios_CD_E.bin, bios_CD_J.bin
* CD audio tracks (CD-DA) are not supported (yet)

[Core/CPU]
----------
* modified 68k core for Mega CD / Sega CD support

[Core/VDP]
---------------
* improved DMA accuracy
* added support for 8-bit VRAM writes with undocumented code value (verified on
real hardware by Nemesis)

[Gamecube/Wii]
---------------
* modified Master System & Game Gear "BIOS" support (files should be named
bios_U.sms, bios_J.sms, bios_E.sms & bios.gg and copied to /genplus/bios
directory).
* replaced "Hard Reset" button by a Soft Reset for systems having a Reset button
(Mega Drive / Genesis & Master System)
* State & SRAM files are now only compressed when saving to Gamecube Memory
Cards
* various fixes & cleanup.

[Core/SCD]
----------
* added Mega CD / Sega CD hardware emulation (incl. Sub 68K, CDD, CDC, PCM, GFX
rotation/scaling, etc)
* added .ISO & .BIN CD image file support
* added 512K backup cartridge RAM support
* added savestate support for CD games

NOTES:
~~~~~~
* to play CD games, original BIOS ROM files are required in /genplus/bios/
directory: unzip & rename them to bios_CD_U.bin, bios_CD_E.bin, bios_CD_J.bin
* CD audio tracks (CD-DA) are not supported (yet)

[Core/CPU]
----------
* modified 68k core for Mega CD / Sega CD support

[Core/VDP]
---------------
* improved DMA accuracy
* added support for 8-bit VRAM writes with undocumented code value (verified on
real hardware by Nemesis)

[Gamecube/Wii]
---------------
* modified Master System & Game Gear "BIOS" support (files should be named
bios_U.sms, bios_J.sms, bios_E.sms & bios.gg and copied to /genplus/bios
directory).
* replaced "Hard Reset" button by a Soft Reset for systems having a Reset button
(Mega Drive / Genesis & Master System)
* State & SRAM files are now only compressed when saving to Gamecube Memory
Cards
* various fixes & cleanup.
2012-07-05 21:45:37 +02:00
ekeeke31
f502dd48c7 compatibility fixes for libogc 1.8.11 2012-05-03 11:28:20 +00:00
ekeeke31
3f0547776b -fixed configured overlay setting not being applied on first start
-added left/right as page up/down keys in ROM browsers
2012-05-02 18:40:38 +00:00
ekeeke31
6743bac508 [SMS/GG] fixed uninitialized memory writes bug (fixes games accidentally writing to ROM area) 2012-04-12 22:05:07 +00:00
ekeeke31
fcfd294d84 [gamecube] finally ok ? ^^ 2012-04-11 23:29:05 +00:00