mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-18 12:04:17 +01:00
EE: Put _Rt_ checks back in the load instructions because as silly as it would be we must avoid potentially writing to r0.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4800 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
1 parent
78a3c30648
commit
af2cc2663a
1 file changed
+8
-1
@@ -271,8 +271,9 @@ void recSD( void ) { recStore(64); }
|
||||
|
||||
void recLWL( void )
|
||||
{
|
||||
if (!_Rt_)
|
||||
return;
|
||||
#ifdef REC_LOADS
|
||||
|
||||
iFlushCall(FLUSH_EXCEPTION);
|
||||
_deleteEEreg(_Rt_, 1);
|
||||
|
||||
@@ -315,6 +316,8 @@ void recLWL( void )
|
||||
////////////////////////////////////////////////////
|
||||
void recLWR(void)
|
||||
{
|
||||
if (!_Rt_)
|
||||
return;
|
||||
#ifdef REC_LOADS
|
||||
iFlushCall(FLUSH_EXCEPTION);
|
||||
_deleteEEreg(_Rt_, 1);
|
||||
@@ -453,6 +456,8 @@ void recSWR(void)
|
||||
////////////////////////////////////////////////////
|
||||
void recLDL( void )
|
||||
{
|
||||
if (!_Rt_)
|
||||
return;
|
||||
iFlushCall(FLUSH_EXCEPTION);
|
||||
_deleteEEreg(_Rs_, 1);
|
||||
_deleteEEreg(_Rt_, 1);
|
||||
@@ -462,6 +467,8 @@ void recLDL( void )
|
||||
////////////////////////////////////////////////////
|
||||
void recLDR( void )
|
||||
{
|
||||
if (!_Rt_)
|
||||
return;
|
||||
iFlushCall(FLUSH_EXCEPTION);
|
||||
_deleteEEreg(_Rs_, 1);
|
||||
_deleteEEreg(_Rt_, 1);
|
||||
|
||||
Reference in new issue
Block a user