Skip to content
This repository has been archived by the owner on Aug 8, 2019. It is now read-only.

Commit

Permalink
Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
crediar committed Jan 23, 2014
1 parent 9a11f2f commit 2240200
Show file tree
Hide file tree
Showing 8 changed files with 1,009 additions and 711 deletions.
14 changes: 13 additions & 1 deletion Source/Core/Core/Src/Boot/Boot_BS2Emu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ bool CBoot::EmulatedBS2_GC()
Memory::Write_U32(0x10000006, 0x8000002C); // Console type - DevKit (retail ID == 0x00000003) see yagcd 4.2.1.1.2

Memory::Write_U32(SConfig::GetInstance().m_LocalCoreStartupParameter.bNTSC
? 0 : 1, 0x800000CC); // fake the VI Init of the IPL (yagcd 4.2.1.4)
? 6 : 6, 0x800000CC); // fake the VI Init of the IPL (yagcd 4.2.1.4)

Memory::Write_U32(0x01000000, 0x800000d0); // ARAM Size. 16MB main + 4/16/32MB external (retail consoles have no external ARAM)

Expand Down Expand Up @@ -154,6 +154,18 @@ bool CBoot::EmulatedBS2_GC()

// If we have any patches that need to be applied very early, here's a good place
PatchEngine::ApplyFramePatches();

int GCAM = ((SConfig::GetInstance().m_SIDevice[0] == SIDEVICE_AM_BASEBOARD)
&& (SConfig::GetInstance().m_EXIDevice[2] == EXIDEVICE_AM_BASEBOARD))
? 1 : 0;

//Clear mediaboard encryption seeds
if(GCAM)
{
char *ptr = (char*)(Memory::GetPointer(0));
memset( ptr, 0, 12 );
}


return true;
}
Expand Down
16 changes: 8 additions & 8 deletions Source/Core/Core/Src/DSP/DSPCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,14 @@ static bool VerifyRoms(const char *irom_filename, const char *coef_filename)
return false;
}

if (rom_idx == 1)
PanicAlertT("You are using an old free DSP ROM made by the Dolphin Team.\n"
"Only games using the Zelda UCode will work correctly.\n");

if (rom_idx == 2)
PanicAlertT("You are using a free DSP ROM made by the Dolphin Team.\n"
"All Wii games will work correctly, and most GC games should "
"also work fine, but the GBA/IPL/CARD UCodes will not work.\n");
//if (rom_idx == 1)
// PanicAlertT("You are using an old free DSP ROM made by the Dolphin Team.\n"
// "Only games using the Zelda UCode will work correctly.\n");

//if (rom_idx == 2)
// PanicAlertT("You are using a free DSP ROM made by the Dolphin Team.\n"
// "All Wii games will work correctly, and most GC games should "
// "also work fine, but the GBA/IPL/CARD UCodes will not work.\n");

return true;
}
Expand Down
Loading

0 comments on commit 2240200

Please sign in to comment.