fix Zelda crash :)
This commit is contained in:
parent
ac49e378d2
commit
03650f2a53
|
@ -513,6 +513,7 @@ static void OGLClose()
|
||||||
if (txt_slot_current_size<=0)\
|
if (txt_slot_current_size<=0)\
|
||||||
{\
|
{\
|
||||||
txt_slot_current++;\
|
txt_slot_current++;\
|
||||||
|
if (txt_slot_current>3) txt_slot_current = 0;\
|
||||||
adr=(unsigned char *)ARM9Mem.textureSlotAddr[txt_slot_current];\
|
adr=(unsigned char *)ARM9Mem.textureSlotAddr[txt_slot_current];\
|
||||||
txt_slot_size=txt_slot_current_size=0x020000;\
|
txt_slot_size=txt_slot_current_size=0x020000;\
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue