turn on optimizations
This commit is contained in:
parent
c9745a14a1
commit
7dc17db4a8
2
Makefile
2
Makefile
|
@ -17,7 +17,7 @@ $(SKELATOOL64):
|
|||
skelatool64/setup_dependencies.sh
|
||||
make -C skelatool64
|
||||
|
||||
OPTIMIZER := -O0
|
||||
OPTIMIZER := -Os
|
||||
LCDEFS := -DDEBUG -g -Isrc/ -I/usr/include/n64/nustd -Werror -Wall
|
||||
N64LIB := -lultra_rom -lnustd
|
||||
|
||||
|
|
|
@ -107,8 +107,8 @@ u8 gPromptActions[] = {
|
|||
|
||||
char* gPromptText[] = {
|
||||
NULL,
|
||||
"TO PLACE THE BLUE PORTAL",
|
||||
"TO PLACE THE ORANGE PORTAL",
|
||||
"TO PLACE THE BLUE PORTAL",
|
||||
"TO PICKUP AND OBJECT",
|
||||
"TO DROP AND OBJECT",
|
||||
"TO USE",
|
||||
|
|
|
@ -784,7 +784,7 @@ int portalSurfaceJoinInnerLoopToOuterLoop(struct PortalSurfaceBuilder* surfaceBu
|
|||
int currentEdge = surfaceBuilder->cuttingEdge;
|
||||
int nextEdge;
|
||||
|
||||
int closestEdge;
|
||||
int closestEdge = currentEdge;
|
||||
int closestDistance = 0x7FFFFFFF;
|
||||
|
||||
while ((nextEdge = portalSurfaceNextEdge(surfaceBuilder, currentEdge)), nextEdge != surfaceBuilder->cuttingEdge) {
|
||||
|
|
Loading…
Reference in a new issue