Build Speaker.cpp.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7226 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang 2011-02-22 14:06:06 +00:00
parent d92aad4430
commit 2b6a8c1cf8
4 changed files with 3 additions and 4 deletions

View File

@ -69,7 +69,7 @@ LogManager::LogManager() {
m_Log[LogTypes::DYNA_REC] = new LogContainer("JIT", "Dynamic Recompiler");
m_Log[LogTypes::CONSOLE] = new LogContainer("CONSOLE", "Dolphin Console");
m_Log[LogTypes::OSREPORT] = new LogContainer("OSREPORT", "OSReport");
m_Log[LogTypes::WIIMOTE] = new LogContainer("Wiimote", "Wiimote Plugin");
m_Log[LogTypes::WIIMOTE] = new LogContainer("Wiimote", "Wiimote");
m_Log[LogTypes::WII_IOB] = new LogContainer("WII_IOB", "WII IO Bridge");
m_Log[LogTypes::WII_IPC] = new LogContainer("WII_IPC", "WII IPC");
m_Log[LogTypes::WII_IPC_HLE] = new LogContainer("WII_IPC_HLE", "WII IPC HLE");

View File

@ -124,7 +124,7 @@ set(SRCS Src/ActionReplay.cpp
Src/HW/WiimoteEmu/Attachment/Turntable.cpp
Src/HW/WiimoteEmu/EmuSubroutines.cpp
Src/HW/WiimoteEmu/Encryption.cpp
#Src/HW/WiimoteEmu/Speaker.cpp
Src/HW/WiimoteEmu/Speaker.cpp
Src/HW/WiimoteReal/WiimoteReal.cpp
Src/IPC_HLE/WII_IPC_HLE.cpp
Src/IPC_HLE/WII_IPC_HLE_Device_DI.cpp

View File

@ -70,7 +70,6 @@ ADPCMChannelStatus cs;
void Wiimote::SpeakerData(wm_speaker_data* sd)
{
s16 samples[40];
u16 sampleRate = 6000000 / Common::swap16(m_reg_speaker.sample_rate);
if (m_reg_speaker.format == 0x40)
{

View File

@ -118,7 +118,7 @@ files += [
"HW/WiimoteEmu/Attachment/Turntable.cpp",
"HW/WiimoteEmu/EmuSubroutines.cpp",
"HW/WiimoteEmu/Encryption.cpp",
#"HW/WiimoteEmu/Speaker.cpp",
"HW/WiimoteEmu/Speaker.cpp",
"HW/WiimoteReal/WiimoteReal.cpp",
"HW/GCPadEmu.cpp",
"HW/HW.cpp",