mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-19 19:00:09 +02:00
revert some some of the soren changes to make dolphin compile in vs2008 again until sw plugin is completely fixed.
some correction to dlist caching git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7117 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -65,7 +65,7 @@ struct ReferencedDataRegion
|
||||
NextRegion(NULL),
|
||||
size(0),
|
||||
MustClean(0),
|
||||
ReferencedArray(-1),
|
||||
ReferencedArray(0xFFFFFFFF),
|
||||
ReferencedArrayStride(0)
|
||||
{}
|
||||
u64 hash;
|
||||
@ -184,7 +184,10 @@ struct CachedDisplayList
|
||||
{
|
||||
if(Current->hash)
|
||||
{
|
||||
if(cached_arraybases[Current->ReferencedArray] != Current->start_address || arraystrides[Current->ReferencedArray] != Current->ReferencedArrayStride)
|
||||
//this test is here to grant that the referenced arrays by the dlist dont change
|
||||
// in the current implementation is not necesary as the id of the dlist is calculated based on the arrays it refers
|
||||
// but i let this test for extra safety
|
||||
if(Current->ReferencedArray != 0xFFFFFFFF && (cached_arraybases[Current->ReferencedArray] != Current->start_address || arraystrides[Current->ReferencedArray] != Current->ReferencedArrayStride))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user