Skip to content

Commit 417e5d4

Browse files
committed
Rename shape to shape instead of gutest
1 parent 65b214a commit 417e5d4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

_includes/samples/shape/main.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <pspgu.h>
33
#include <pspdisplay.h>
44

5-
PSP_MODULE_INFO("gutest", 0, 1, 0);
5+
PSP_MODULE_INFO("shape", 0, 1, 0);
66
PSP_MAIN_THREAD_ATTR(THREAD_ATTR_VFPU | THREAD_ATTR_USER);
77

88
#define BUFFER_WIDTH 512
@@ -11,9 +11,10 @@ PSP_MAIN_THREAD_ATTR(THREAD_ATTR_VFPU | THREAD_ATTR_USER);
1111
#define SCREEN_HEIGHT BUFFER_HEIGHT
1212

1313
char list[0x20000] __attribute__((aligned(64)));
14+
int running;
1415

1516
int exit_callback(int arg1, int arg2, void *common) {
16-
sceKernelExitGame();
17+
running = 0;
1718
return 0;
1819
}
1920

@@ -101,7 +102,7 @@ int main() {
101102
// Setup the library used for rendering
102103
initGu();
103104

104-
int running = 1;
105+
running = 1;
105106
while(running){
106107
startFrame();
107108

0 commit comments

Comments
 (0)