mirror of https://github.com/stella-emu/stella.git
Updated build script for new TIA sound class. Fixed missing include
in SoundSDL. Removed some extraneous CR characters from TIASnd code. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@767 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
58dcda81b5
commit
b648fb4f50
|
@ -13,7 +13,7 @@
|
||||||
// See the file "license" for information on usage and redistribution of
|
// See the file "license" for information on usage and redistribution of
|
||||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
//
|
//
|
||||||
// $Id: SoundSDL.cxx,v 1.22 2005-09-04 23:59:30 bwmott Exp $
|
// $Id: SoundSDL.cxx,v 1.23 2005-09-05 01:12:56 stephena Exp $
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
#ifdef SOUND_SUPPORT
|
#ifdef SOUND_SUPPORT
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
|
|
||||||
#include "TIASound.h"
|
#include "TIASnd.hxx"
|
||||||
#include "FrameBuffer.hxx"
|
#include "FrameBuffer.hxx"
|
||||||
#include "Serializer.hxx"
|
#include "Serializer.hxx"
|
||||||
#include "Deserializer.hxx"
|
#include "Deserializer.hxx"
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
// See the file "license" for information on usage and redistribution of
|
// See the file "license" for information on usage and redistribution of
|
||||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
//
|
//
|
||||||
// $Id: TIASnd.cxx,v 1.1 2005-09-04 23:48:33 bwmott Exp $
|
// $Id: TIASnd.cxx,v 1.2 2005-09-05 01:12:56 stephena Exp $
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
#include "System.hxx"
|
#include "System.hxx"
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
// See the file "license" for information on usage and redistribution of
|
// See the file "license" for information on usage and redistribution of
|
||||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
//
|
//
|
||||||
// $Id: TIASnd.hxx,v 1.1 2005-09-04 23:48:33 bwmott Exp $
|
// $Id: TIASnd.hxx,v 1.2 2005-09-05 01:12:56 stephena Exp $
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
#ifndef TIASOUND_HXX
|
#ifndef TIASOUND_HXX
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
hardware.
|
hardware.
|
||||||
|
|
||||||
@author Bradford W. Mott
|
@author Bradford W. Mott
|
||||||
@version $Id: TIASnd.hxx,v 1.1 2005-09-04 23:48:33 bwmott Exp $
|
@version $Id: TIASnd.hxx,v 1.2 2005-09-05 01:12:56 stephena Exp $
|
||||||
*/
|
*/
|
||||||
class TIASound
|
class TIASound
|
||||||
{
|
{
|
||||||
|
@ -134,8 +134,9 @@ class TIASound
|
||||||
uInt8 myP5[2]; // 5-bit register LFSR (lower 5 bits used)
|
uInt8 myP5[2]; // 5-bit register LFSR (lower 5 bits used)
|
||||||
|
|
||||||
Int32 myOutputFrequency;
|
Int32 myOutputFrequency;
|
||||||
Int32 myOutputCounter;
|
|
||||||
uInt32 myChannels;
|
uInt32 myChannels;
|
||||||
|
Int32 myOutputCounter;
|
||||||
uInt32 myVolumePercentage;
|
uInt32 myVolumePercentage;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
|
@ -45,7 +45,7 @@ MODULE_OBJS := \
|
||||||
src/emucore/Settings.o \
|
src/emucore/Settings.o \
|
||||||
src/emucore/Switches.o \
|
src/emucore/Switches.o \
|
||||||
src/emucore/TIA.o \
|
src/emucore/TIA.o \
|
||||||
src/emucore/TIASound.o \
|
src/emucore/TIASnd.o \
|
||||||
src/emucore/unzip.o
|
src/emucore/unzip.o
|
||||||
|
|
||||||
MODULE_DIRS += \
|
MODULE_DIRS += \
|
||||||
|
|
Loading…
Reference in New Issue