mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-09 12:25:16 +01:00
f2a7b4cb8a
--------------- * added support for CUE files * added CD-DA tracks emulation (needs CUE+BIN or ISO+WAV images) * added CD fader emulation * added CDD "Fast FW" & "Fast RW" commands emulation * improved CDD TOC emulation (random freezes in Sonic CD, Switch/Panic, Final Fight CD and probably many others) * improved PCM chip synchronization with SUB-CPU (missing speeches in Willy Beamish) * fixed PCM chip emulation (random hangs in Snatcher, missing sound effects in Switch/Panic, Final Fight CD, Wonderdog...) * fixed Word-RAM memory mode on soft-reset (missing logo gfx effects) * fixed SUB-CPU access to unused areas when using PC-relative instructions (Final Fight CD first boss random crash) * fixed CPU idle loop detection on memory mode register access (Pugsy CD first boss slowdown) * fixed Mode 1 emulation (cartridge boot mode) [Core/Sound] --------------- * replaced FIR resampler by Blip Buffer for FM resampling * modified SN76489 core for use of Blip Buffer * improved PSG & FM chips synchronization using Blip Buffer * added Game Gear PSG stereo support * fixed SG-1000 specific PSG noise * fixed YM2612 LFO AM waveform (California Games surfing event) * fixed YM2612 phase precision * minor optimizations to YM2612 core [Core/Game Gear] --------------- * added support for CJ Elephant Fugitive (recently released by SMS Power) * added Game Gear extended screen option [Core/Genesis] --------------- * added support for a few recently dumped (but unreleased) games [Core/General] --------------- * improved ROM & CD image file loading * various code cleanup [Gamecube/Wii] --------------- * added automatic disc swap feature * removed automatic frameskipping (no use) * improved general audio/video sync * various code cleanup & bugfixes
29 lines
822 B
C
29 lines
822 B
C
/*
|
|
**
|
|
** software implementation of Yamaha FM sound generator (YM2612/YM3438)
|
|
**
|
|
** Original code (MAME fm.c)
|
|
**
|
|
** Copyright (C) 2001, 2002, 2003 Jarek Burczynski (bujar at mame dot net)
|
|
** Copyright (C) 1998 Tatsuyuki Satoh , MultiArcadeMachineEmulator development
|
|
**
|
|
** Version 1.4 (final beta)
|
|
**
|
|
** Additional code & fixes by Eke-Eke for Genesis Plus GX
|
|
**
|
|
*/
|
|
|
|
#ifndef _H_YM2612_
|
|
#define _H_YM2612_
|
|
|
|
extern void YM2612Init(void);
|
|
extern void YM2612Config(unsigned char dac_bits);
|
|
extern void YM2612ResetChip(void);
|
|
extern void YM2612Update(int *buffer, int length);
|
|
extern void YM2612Write(unsigned int a, unsigned int v);
|
|
extern unsigned int YM2612Read(void);
|
|
extern int YM2612LoadContext(unsigned char *state);
|
|
extern int YM2612SaveContext(unsigned char *state);
|
|
|
|
#endif /* _YM2612_ */
|