fix jap games which loaded the ansi bootrom font, resulting in garbage text
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3131 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
474f1343f7
commit
f900635c77
|
@ -204,6 +204,8 @@ bool CBoot::BootUp()
|
||||||
// setup the map from ISOFile ID
|
// setup the map from ISOFile ID
|
||||||
VolumeHandler::SetVolumeName(_StartupPara.m_strFilename);
|
VolumeHandler::SetVolumeName(_StartupPara.m_strFilename);
|
||||||
|
|
||||||
|
VideoInterface::SetRegionReg((char)VolumeHandler::GetVolume()->GetUniqueID().at(3));
|
||||||
|
|
||||||
DVDInterface::SetDiscInside(true);
|
DVDInterface::SetDiscInside(true);
|
||||||
|
|
||||||
// Use HLE BIOS or not
|
// Use HLE BIOS or not
|
||||||
|
|
|
@ -467,7 +467,6 @@ void PreInit(bool _bNTSC)
|
||||||
Write16(0x01ae, 0xcc002032);
|
Write16(0x01ae, 0xcc002032);
|
||||||
Write16(0x1107, 0xcc002030);
|
Write16(0x1107, 0xcc002030);
|
||||||
Write16(0x0000, 0xcc00206c);
|
Write16(0x0000, 0xcc00206c);
|
||||||
Write16(0x0001, 0xcc00206e); // component cable is connected
|
|
||||||
|
|
||||||
if (_bNTSC)
|
if (_bNTSC)
|
||||||
Write16(0x0001, 0xcc002002); // STATUS REG
|
Write16(0x0001, 0xcc002002); // STATUS REG
|
||||||
|
@ -475,6 +474,11 @@ void PreInit(bool _bNTSC)
|
||||||
Write16(0x0101, 0xcc002002); // STATUS REG
|
Write16(0x0101, 0xcc002002); // STATUS REG
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SetRegionReg(char _region)
|
||||||
|
{
|
||||||
|
Write16((u16)_region, 0xcc00206e);
|
||||||
|
}
|
||||||
|
|
||||||
void UpdateTiming()
|
void UpdateTiming()
|
||||||
{
|
{
|
||||||
switch (m_VIDisplayControlRegister.FMT)
|
switch (m_VIDisplayControlRegister.FMT)
|
||||||
|
|
|
@ -47,6 +47,8 @@ namespace VideoInterface
|
||||||
// pre init
|
// pre init
|
||||||
void PreInit(bool _bNTSC);
|
void PreInit(bool _bNTSC);
|
||||||
|
|
||||||
|
void SetRegionReg(char _region);
|
||||||
|
|
||||||
// VI Unknown Regs
|
// VI Unknown Regs
|
||||||
extern u8 m_UVIUnknownRegs[0x1000];
|
extern u8 m_UVIUnknownRegs[0x1000];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue