mirror of https://github.com/PCSX2/pcsx2.git
Fix SpatialArrayReserve::SetBlockSize function declaration to match definition.
The function was defined to use uptr, but the declaration was using uint.
This commit is contained in:
parent
08ef4bfbff
commit
182e826dc5
|
@ -455,7 +455,7 @@ SpatialArrayReserve& SpatialArrayReserve::SetBlockSizeInPages( uint pages )
|
||||||
//
|
//
|
||||||
// This method must be called prior to accessing or modifying the array contents. Calls to
|
// This method must be called prior to accessing or modifying the array contents. Calls to
|
||||||
// a modified buffer will be ignored (and generate an assertion in dev/debug modes).
|
// a modified buffer will be ignored (and generate an assertion in dev/debug modes).
|
||||||
uint SpatialArrayReserve::SetBlockSize( uint bytes )
|
uptr SpatialArrayReserve::SetBlockSize( uptr bytes )
|
||||||
{
|
{
|
||||||
SetBlockSizeInPages((bytes + __pagesize - 1) / __pagesize);
|
SetBlockSizeInPages((bytes + __pagesize - 1) / __pagesize);
|
||||||
return m_blocksize * __pagesize;
|
return m_blocksize * __pagesize;
|
||||||
|
|
Loading…
Reference in New Issue