Add MB_ISEnabled() function

This commit is contained in:
Aaron Culliney 2015-07-23 23:46:23 -07:00
parent a60ffb8eb9
commit 5291ee750d
2 changed files with 5 additions and 0 deletions

View File

@ -1757,6 +1757,10 @@ void MB_Destroy()
}
}
bool MB_ISEnabled(void) {
return (MockingboardVoice != NULL);
}
//-----------------------------------------------------------------------------
static void ResetState()

View File

@ -98,6 +98,7 @@ extern uint32_t g_uTimer1IrqCount; // DEBUG
void MB_Initialize();
void MB_Reinitialize();
void MB_Destroy();
bool MB_ISEnabled(void);
void MB_Reset();
void MB_InitializeIO(char *pCxRomPeripheral, unsigned int uSlot4, unsigned int uSlot5);
void MB_Mute();