-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.c
62 lines (42 loc) · 1.15 KB
/
main.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#include "main.h"
#include "graphics.h"
#include "ui.h"
#include "UITileset.h"
#include "fonts.h"
#include "blittext.h"
#include "memcard.h"
#include "libfchucker.h"
#include "windowstack.h"
#include "controller.h"
#include "util.h"
#include "inventory.h"
unsigned char testStr1[] = {0x82, 0x63, 0x82, 0x78, 0x82, 0x72, 0x82, 0x6E, 0x6E, 0x77, 0x61, 0x73, 0x68, 0x65, 0x72, 0x65, 0x00};
unsigned char testStr2[] = {0x81, 0xA9, 0x81, 0xA4, 0x81, 0xA5, 0x81, 0xA6, 0xED, 0x40, 0x00};
int main(int argc, char *argv[])
{
UNUSED(argc);
UNUSED(argv);
GraphicsInit();
LoadModules();
InitMC();
InitPad();
PrintDir(0, "/BISLPS-25527DOTHACK/*");
PrintDir(0, "BISLPS-25527HUCKER/*");
InitFonts(gsGlobal);
gsKit_clear(gsGlobal, ClearColor);
PushWindow(&DrawCharSelectScreen_Window);
unsigned char ClearStr[] = "No Character";
BlitString(0, ClearStr);
BlitString(1, ClearStr);
BlitString(2, ClearStr);
BlitString(3, ClearStr);
BlitString(4, ClearStr);
BlitString(5, ClearStr);
//First up, Load Characters...
RefreshCharacters();
while(1)
{
Draw();
}
return 0;
}