Shorten code

This commit is contained in:
Andreas Bielawski 2019-02-28 23:44:57 +01:00
parent 645fbf1963
commit 528dc7e3ae

View File

@ -1,12 +1,11 @@
#include <gccore.h> #include <gccore.h>
#include <stdlib.h> #include <stdlib.h>
#define TITLE_ID(x,y) (((u64)(x) << 32) | (y))
int main(void) { int main(void) {
VIDEO_Init(); VIDEO_Init();
WII_LaunchTitle(TITLE_ID(0x00010008,0x48414C45)); // USA WII_LaunchTitle(0x0001000848414C45); // USA
WII_LaunchTitle(TITLE_ID(0x00010008,0x48414C50)); // Europe WII_LaunchTitle(0x0001000848414C50); // Europe
WII_LaunchTitle(TITLE_ID(0x00010008,0x48414C4A)); // Japan WII_LaunchTitle(0x0001000848414C4A); // Japan
WII_LaunchTitle(TITLE_ID(0x00010008,0x48414C4B)); // Korea WII_LaunchTitle(0x0001000848414C4B); // Korea
exit(0); exit(0);
} }