We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65b214a commit 417e5d4Copy full SHA for 417e5d4
_includes/samples/shape/main.c
@@ -2,7 +2,7 @@
2
#include <pspgu.h>
3
#include <pspdisplay.h>
4
5
-PSP_MODULE_INFO("gutest", 0, 1, 0);
+PSP_MODULE_INFO("shape", 0, 1, 0);
6
PSP_MAIN_THREAD_ATTR(THREAD_ATTR_VFPU | THREAD_ATTR_USER);
7
8
#define BUFFER_WIDTH 512
@@ -11,9 +11,10 @@ PSP_MAIN_THREAD_ATTR(THREAD_ATTR_VFPU | THREAD_ATTR_USER);
11
#define SCREEN_HEIGHT BUFFER_HEIGHT
12
13
char list[0x20000] __attribute__((aligned(64)));
14
+int running;
15
16
int exit_callback(int arg1, int arg2, void *common) {
- sceKernelExitGame();
17
+ running = 0;
18
return 0;
19
}
20
@@ -101,7 +102,7 @@ int main() {
101
102
// Setup the library used for rendering
103
initGu();
104
- int running = 1;
105
+ running = 1;
106
while(running){
107
startFrame();
108
0 commit comments