summaryrefslogtreecommitdiff
path: root/packages/libndsfpc/examples/graphics/3D/nehe/lesson10b/lesson10b.pp
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libndsfpc/examples/graphics/3D/nehe/lesson10b/lesson10b.pp')
-rw-r--r--packages/libndsfpc/examples/graphics/3D/nehe/lesson10b/lesson10b.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/libndsfpc/examples/graphics/3D/nehe/lesson10b/lesson10b.pp b/packages/libndsfpc/examples/graphics/3D/nehe/lesson10b/lesson10b.pp
index 656c624b48..263e49aaa0 100644
--- a/packages/libndsfpc/examples/graphics/3D/nehe/lesson10b/lesson10b.pp
+++ b/packages/libndsfpc/examples/graphics/3D/nehe/lesson10b/lesson10b.pp
@@ -285,6 +285,8 @@ begin
// wait for the screen to refresh
swiWaitForVBlank();
+
+ if (held and KEY_START) <> 0 then break;
end;
end.