Fixed a bug in the vtlb constprop support (stores weren't using the right macro).

Reduced the BIOS rom warnings from gaudy red text and stars to simple yellow warnings (since they really don't matter).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@805 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2009-03-17 18:15:02 +00:00
parent 063703e28a
commit 6c13dcdb41
2 changed files with 3 additions and 7 deletions

View File

@ -104,11 +104,7 @@ void loadBiosRom( const char *ext, u8 *dest, long maxSize )
Bios1 = Path::Combine( Config.BiosDir, ext ) + ".bin"; Bios1 = Path::Combine( Config.BiosDir, ext ) + ".bin";
if( (filesize=Path::getFileSize( Bios1 ) ) <= 0 ) if( (filesize=Path::getFileSize( Bios1 ) ) <= 0 )
{ {
Console::Error( "\n\n\n" Console::Notice( "Bios Warning > %s not found.", params ext );
"**************\n"
"%s NOT FOUND\n"
"**************\n\n\n", params ext
);
return; return;
} }
} }

View File

@ -2092,7 +2092,7 @@ void recLoad64( u32 bits, bool sign )
else else
MOV32ItoR(EDX, (uptr)&dummyValue[0] ); MOV32ItoR(EDX, (uptr)&dummyValue[0] );
if( IS_EECONSTREG( _Rs_ ) ) if( GPR_IS_CONST1( _Rs_ ) )
{ {
u32 srcadr = g_cpuConstRegs[_Rs_].UL[0] + _Imm_; u32 srcadr = g_cpuConstRegs[_Rs_].UL[0] + _Imm_;
if( bits == 128 ) srcadr &= ~0x0f; if( bits == 128 ) srcadr &= ~0x0f;
@ -2125,7 +2125,7 @@ void recLoad32(u32 bits,bool sign)
// 8/16/32 bit modes return the loaded value in EAX. // 8/16/32 bit modes return the loaded value in EAX.
if( IS_EECONSTREG( _Rs_ ) ) if( GPR_IS_CONST1( _Rs_ ) )
{ {
u32 srcadr = g_cpuConstRegs[_Rs_].UL[0] + _Imm_; u32 srcadr = g_cpuConstRegs[_Rs_].UL[0] + _Imm_;
vtlb_DynGenRead32_Const( bits, sign, srcadr ); vtlb_DynGenRead32_Const( bits, sign, srcadr );