1
0
Fork 0
forked from len0rd/rockbox

quake: add notification upon strange error

For some reason a NULL pointer creeps in, on the simulator only, it seems.
This makes sure that if it happens on target we'll know about it.

Change-Id: I7a5bc9dd3ef71f28d58d0d456d23007dc0d49ce3
This commit is contained in:
Franklin Wei 2019-07-29 21:00:30 -04:00
parent caee6c578d
commit 5e0bd5bfc0

View file

@ -275,6 +275,9 @@ pushback:
// find out where the edge goes in the edge list
pwedge = pedge->prev->prev;
// BUG??? - FW 7/29/19
if(!pwedge || !pedge)
rb->splashf(HZ, "BUG 1!!!!!");
while (pwedge->u > pedge->u)
{
pwedge = pwedge->prev;