Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- __asm__ (
- " .set push\n"
- " .section .lib.ent.top, \"a\", @progbits\n"
- " .align 2\n"
- " .word 0\n"
- "__lib_ent_top:\n"
- " .section .lib.ent.btm, \"a\", @progbits\n"
- " .align 2\n"
- "__lib_ent_bottom:\n"
- " .word 0\n"
- " .section .lib.stub.top, \"a\", @progbits\n"
- " .align 2\n"
- " .word 0\n"
- "__lib_stub_top:\n"
- " .section .lib.stub.btm, \"a\", @progbits\n"
- " .align 2\n"
- "__lib_stub_bottom:\n"
- " .word 0\n"
- " .set pop\n"
- " .text\n"
- );
- typedef struct
- {
- unsigned short modattribute;
- unsigned char modversion[2];
- char modname [27];
- char terminal;
- void* gp_value;
- void* ent_top;
- void* ent_end;
- void* stub_top;
- void* stub_end;
- } SceModuleInfo;
- extern char _gp[];
- extern char __lib_ent_top[], __lib_ent_bottom[];
- extern char __lib_stub_top[], __lib_stub_bottom[];
- const SceModuleInfo module_info
- __attribute__((section(".rodata.sceModuleInfo"), aligned(16), unused)) =
- {
- 0, { 0, 0 }, "", 0, _gp,
- __lib_ent_top, __lib_ent_bottom,
- __lib_stub_top, __lib_stub_bottom
- };
- main(){sceKernelExitGame();}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement