fix emulator memory corruption when a ridiculously large texture is bound, such as one that might be defined by 0xFFFFFFFF
This commit is contained in:
parent
f810403c92
commit
b5ff3a3111
|
@ -23,7 +23,7 @@ using std::max;
|
|||
class MemSpan
|
||||
{
|
||||
public:
|
||||
static const int MAXSIZE = 8;
|
||||
static const int MAXSIZE = 17; //max size for textures: 1024*1024*2 bytes / 128*1024 banks + 1 for wraparound
|
||||
|
||||
MemSpan()
|
||||
: numItems(0), size(0)
|
||||
|
|
Loading…
Reference in New Issue