2006-02-25 20:50:29 +00:00
|
|
|
#pragma once
|
|
|
|
|
2019-12-19 19:42:30 +00:00
|
|
|
#include "Card.h"
|
|
|
|
|
2006-02-25 20:50:29 +00:00
|
|
|
void MB_Initialize();
|
|
|
|
void MB_Reinitialize();
|
|
|
|
void MB_Destroy();
|
|
|
|
void MB_Reset();
|
2019-02-24 10:49:09 +00:00
|
|
|
void MB_InitializeForLoadingSnapshot(void);
|
2009-04-16 21:18:13 +00:00
|
|
|
void MB_InitializeIO(LPBYTE pCxRomPeripheral, UINT uSlot4, UINT uSlot5);
|
2006-02-25 20:50:29 +00:00
|
|
|
void MB_Mute();
|
|
|
|
void MB_Demute();
|
2019-12-24 13:58:20 +00:00
|
|
|
#ifdef _DEBUG
|
|
|
|
void MB_CheckCumulativeCycles(); // DEBUG
|
|
|
|
#endif
|
|
|
|
void MB_SetCumulativeCycles();
|
2019-11-10 15:52:07 +00:00
|
|
|
void MB_PeriodicUpdate(UINT executedCycles);
|
2006-02-25 20:50:29 +00:00
|
|
|
void MB_CheckIRQ();
|
2019-11-16 23:49:21 +00:00
|
|
|
bool MB_UpdateCycles(ULONG uExecutedCycles);
|
2012-03-20 23:17:06 +00:00
|
|
|
SS_CARDTYPE MB_GetSoundcardType();
|
2006-02-25 20:50:29 +00:00
|
|
|
bool MB_IsActive();
|
|
|
|
DWORD MB_GetVolume();
|
|
|
|
void MB_SetVolume(DWORD dwVolume, DWORD dwVolumeMax);
|
2015-02-13 22:40:53 +00:00
|
|
|
|
2015-04-11 21:24:54 +00:00
|
|
|
void MB_GetSnapshot_v1(struct SS_CARD_MOCKINGBOARD_v1* const pSS, const DWORD dwSlot); // For debugger
|
2015-12-05 16:50:27 +00:00
|
|
|
std::string MB_GetSnapshotCardName(void);
|
|
|
|
void MB_SaveSnapshot(class YamlSaveHelper& yamlSaveHelper, const UINT uSlot);
|
|
|
|
bool MB_LoadSnapshot(class YamlLoadHelper& yamlLoadHelper, UINT slot, UINT version);
|
2015-04-11 21:24:54 +00:00
|
|
|
|
2015-12-05 16:50:27 +00:00
|
|
|
std::string Phasor_GetSnapshotCardName(void);
|
|
|
|
void Phasor_SaveSnapshot(class YamlSaveHelper& yamlSaveHelper, const UINT uSlot);
|
|
|
|
bool Phasor_LoadSnapshot(class YamlLoadHelper& yamlLoadHelper, UINT slot, UINT version);
|