mirror of
https://github.com/dborth/vbagx.git
synced 2025-07-26 21:37:34 +02:00

* "Match Wii Game" controls option! Games that have a Wii equivalent can be played using the controls for that Wii game. For example all Zelda games can be played with Twilight Princess controls. See the Instructions section below for important details. * Rotation/Tilt sensor games all work * Solar sensors (Boktai 1/2/3) * Rumble (except for games that rely on Gameboy Player) * Keyboard * PAL support, finally! * New scaling options, choose how much stretching you want * Colourised games now partially work but still have distortion * "Corvette" no longer has a screwed up palette (but still crashes) * Triggers net reconnection on SMB failure * Source code refactored, and project file added * Instructions section added to this readme file
34 lines
658 B
C++
34 lines
658 B
C++
/****************************************************************************
|
|
* Visual Boy Advance GX
|
|
*
|
|
* Tantric September 2008
|
|
*
|
|
* audio.h
|
|
*
|
|
* Head and tail audio mixer
|
|
***************************************************************************/
|
|
|
|
#ifndef __AUDIOMIXER__
|
|
#define __AUDIOMIXER__
|
|
|
|
#include "common/SoundDriver.h"
|
|
|
|
void InitialiseSound();
|
|
void StopAudio();
|
|
void SetAudioRate(int type);
|
|
|
|
class SoundWii: public SoundDriver
|
|
{
|
|
public:
|
|
SoundWii();
|
|
virtual ~SoundWii();
|
|
|
|
virtual bool init(long sampleRate);
|
|
virtual void pause();
|
|
virtual void reset();
|
|
virtual void resume();
|
|
virtual void write(u16 * finalWave, int length);
|
|
};
|
|
|
|
#endif
|