Fix BIOS Selector bug: BIOS list wasn't cleared when changing search folder.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2127 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2009-11-04 02:10:35 +00:00
parent 3aa13394da
commit cccebfe454
2 changed files with 5 additions and 3 deletions

View File

@ -47,10 +47,10 @@ __forceinline mem8_t hwRead8(u32 mem)
{ {
u8 ret; u8 ret;
if( mem >= IPU_CMD && mem < D0_CHCR ) return;
// TODO re-implement this warning along with a *complete* logging of all hw activity. // TODO re-implement this warning along with a *complete* logging of all hw activity.
// (implementation should be modelled after thee iopHWRead/iopHwWrite files) // (implementation should be modelled after thee iopHWRead/iopHwWrite files)
//DevCon.Warning("Unexpected hwRead8 from 0x%x", mem); if( mem >= IPU_CMD && mem < D0_CHCR ) return psHu8(mem);
// DevCon.Warning("Unexpected hwRead8 from 0x%x", mem);
switch (mem) switch (mem)
{ {
@ -122,9 +122,9 @@ __forceinline mem16_t hwRead16(u32 mem)
{ {
u16 ret; u16 ret;
if( mem >= IPU_CMD && mem < D0_CHCR ) return;
// TODO re-implement this warning along with a *complete* logging of all hw activity. // TODO re-implement this warning along with a *complete* logging of all hw activity.
// (implementation should be modelled after thee iopHWRead/iopHwWrite files) // (implementation should be modelled after thee iopHWRead/iopHwWrite files)
if( mem >= IPU_CMD && mem < D0_CHCR ) return psHu8(mem);
// Console.Warning("Unexpected hwRead16 from 0x%x", mem); // Console.Warning("Unexpected hwRead16 from 0x%x", mem);
switch (mem) switch (mem)

View File

@ -144,6 +144,8 @@ void Panels::BiosSelectorPanel::DoRefresh()
{ {
if( !m_BiosList ) return; if( !m_BiosList ) return;
m_ComboBox.Clear();
wxFileName right( g_Conf->FullpathToBios() ); wxFileName right( g_Conf->FullpathToBios() );
right.MakeAbsolute(); right.MakeAbsolute();