mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Merge pull request #4485 from sum2012/patch-1
Fix Colin Mcrae Dirt 2 Crash
This commit is contained in:
commit
ed6190fd24
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ void IndexGenerator::AddList(int numVerts) {
|
|||
void IndexGenerator::AddStrip(int numVerts) {
|
||||
int wind = 1;
|
||||
const int numTris = numVerts - 2;
|
||||
if (numTris < 0) return;
|
||||
u16 *outInds = inds_;
|
||||
int ibase = index_;
|
||||
for (int i = numTris; i; i--) {
|
||||
|
|
Loading…
Add table
Reference in a new issue