Commit b1bb9535 authored by yui's avatar yui
Browse files

No commit message

No commit message
parent db002503
......@@ -60,7 +60,7 @@ IExternalChip* CExternalChipManager::GetInterface(IExternalChip::ChipType nChipT
switch (nChipType)
{
case IExternalChip::kAY8910:
pChip = GetInterface(IExternalChip::kYM2203, nClock);
pChip = GetInterface(IExternalChip::kYM2203, nClock * 2);
break;
case IExternalChip::kYM2203:
......
......@@ -90,7 +90,7 @@ void psg_bind(PPSG psg)
CExternalPsg* pExt = reinterpret_cast<CExternalPsg*>(psg->userdata);
if (pExt == NULL)
{
pExt = static_cast<CExternalPsg*>(CExternalChipManager::GetInstance()->GetInterface(IExternalChip::kAY8910, 4000000));
pExt = static_cast<CExternalPsg*>(CExternalChipManager::GetInstance()->GetInterface(IExternalChip::kAY8910, 2000000));
psg->userdata = reinterpret_cast<INTPTR>(pExt);
}
if (pExt)
......
......@@ -61,7 +61,7 @@ IExternalChip* CExternalChipManager::GetInterface(IExternalChip::ChipType nChipT
switch (nChipType)
{
case IExternalChip::kAY8910:
pChip = GetInterface(IExternalChip::kYM2203, nClock);
pChip = GetInterface(IExternalChip::kYM2203, nClock * 2);
break;
case IExternalChip::kYM2203:
......
......@@ -90,7 +90,7 @@ void psg_bind(PPSG psg)
CExternalPsg* pExt = reinterpret_cast<CExternalPsg*>(psg->userdata);
if (pExt == NULL)
{
pExt = static_cast<CExternalPsg*>(CExternalChipManager::GetInstance()->GetInterface(IExternalChip::kAY8910, 4000000));
pExt = static_cast<CExternalPsg*>(CExternalChipManager::GetInstance()->GetInterface(IExternalChip::kAY8910, 2000000));
psg->userdata = reinterpret_cast<INTPTR>(pExt);
}
if (pExt)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment