removed status (fixes bug with fixed audio turned off)

This commit is contained in:
zilmar 2012-11-02 17:10:01 +11:00
parent 9c245e3c39
commit d0c9fdf581
2 changed files with 1 additions and 4 deletions

View File

@ -179,7 +179,6 @@ bool CAudioPlugin::Initiate ( CN64System * System, CMainGui * RenderWindow ) {
Sleep(100);
return m_Initilized;
}
m_StatusReg = 0;
//Send Initilization information to the DLL
Info.hwnd = (HWND)RenderWindow->m_hMainWindow;
@ -193,7 +192,7 @@ bool CAudioPlugin::Initiate ( CN64System * System, CMainGui * RenderWindow ) {
Info.AI__DRAM_ADDR_REG = &_Reg->AI_DRAM_ADDR_REG;
Info.AI__LEN_REG = &_Reg->AI_LEN_REG;
Info.AI__CONTROL_REG = &_Reg->AI_CONTROL_REG;
Info.AI__STATUS_REG = &m_StatusReg;
Info.AI__STATUS_REG = &_Reg->AI_STATUS_REG;
Info.AI__DACRATE_REG = &_Reg->AI_DACRATE_REG;
Info.AI__BITRATE_REG = &_Reg->AI_BITRATE_REG;
Info.CheckInterrupts = DummyCheckInterrupts;

View File

@ -25,8 +25,6 @@ private:
bool m_Initilized, m_RomOpen;
void * m_hAudioThread;
PLUGIN_INFO m_PluginInfo;
DWORD m_StatusReg;
void Init ( const char * FileName );
void UnloadPlugin ( void );