mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
little correction
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6976 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
043e324789
commit
d1e0b6b4ef
@ -75,7 +75,7 @@ struct ReferencedDataRegion
|
||||
u8* start_address;
|
||||
u32 size;
|
||||
bool MustClean;
|
||||
u32 ReferencedArray;
|
||||
int ReferencedArray;
|
||||
u32 ReferencedArrayStride;
|
||||
ReferencedDataRegion* NextRegion;
|
||||
|
||||
@ -159,7 +159,7 @@ struct CachedDisplayList
|
||||
}
|
||||
if(RegionStartAddress + Size > NewRegion->start_address + NewRegion->size)
|
||||
{
|
||||
NewRegion->size += (RegionStartAddress + Size) - (NewRegion->start_address + NewRegion->size);
|
||||
NewRegion->size += (u32)((RegionStartAddress + Size) - (NewRegion->start_address + NewRegion->size));
|
||||
RegionChanged = true;
|
||||
}
|
||||
if(RegionChanged)
|
||||
@ -186,7 +186,7 @@ struct CachedDisplayList
|
||||
{
|
||||
if(Current->hash)
|
||||
{
|
||||
if(cached_arraybases[Current->ReferencedArray] != Current->start_address || arraystrides[Current->ReferencedArray] != Current->ReferencedArrayStride)
|
||||
if(Current->ReferencedArray != -1 && (cached_arraybases[Current->ReferencedArray] != Current->start_address || arraystrides[Current->ReferencedArray] != Current->ReferencedArrayStride))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user