diff options
Diffstat (limited to 'packages/libndsfpc/examples/graphics/3D/3D_Both_Screens/3DBothScreens.pp')
-rw-r--r-- | packages/libndsfpc/examples/graphics/3D/3D_Both_Screens/3DBothScreens.pp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/libndsfpc/examples/graphics/3D/3D_Both_Screens/3DBothScreens.pp b/packages/libndsfpc/examples/graphics/3D/3D_Both_Screens/3DBothScreens.pp index 5ce20ad9d8..7c18a52a0b 100644 --- a/packages/libndsfpc/examples/graphics/3D/3D_Both_Screens/3DBothScreens.pp +++ b/packages/libndsfpc/examples/graphics/3D/3D_Both_Screens/3DBothScreens.pp @@ -132,6 +132,7 @@ end; var top: boolean = true; + keys: integer; begin videoSetMode(MODE_0_3D); @@ -171,6 +172,10 @@ begin // wait for capture unit to be ready while (REG_DISPCAPCNT^ and DCAP_ENABLE) <> 0 do; + scanKeys(); + keys := keysDown(); + if (keys and KEY_START) <> 0 then break; + //------------------------------------------------------- // Switch render targets //------------------------------------------------------- |