Skip to content

Commit fb91ba7

Browse files
Add files via upload
1 parent 2723c95 commit fb91ba7

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

installer/main.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,5 @@ struct McData
4545
#define CHECK_MULTI_INSTALL 0x01
4646
#define CHECK_MUST_HAVE_MULTI_INSTALL 0x02 /* The opposite of CHECK_MULTI_INSTALL */
4747
#define CHECK_FREE_SPACE 0x04
48+
49+
extern char *bootDevicePrefix;

installer/menu_opentuna.c

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
#define SYS_UI_MSG_OPENTUNA_PROMPT_MODE 21
2+
#define SYS_UI_MSG_OPENTUNA_INSTALLED 22
3+
#define SYS_UI_MSG_OPENTUNA_FAILED 23
4+
#define SYS_UI_MSG_OPENTUNA_DELETE_CFM 24
5+
16

27
#include <stdio.h>
38
#include <string.h>
@@ -7,6 +12,27 @@
712
#include "graphics.h"
813
#include "pad.h"
914
#include "UI.h"
15+
#include <mcman.h>
16+
#include <libmc.h>
17+
18+
extern char *bootDevicePrefix;
19+
20+
typedef struct {
21+
short label;
22+
short id;
23+
} Item;
24+
25+
typedef struct {
26+
Item *items;
27+
short item_count;
28+
short selected;
29+
short page;
30+
short max_items;
31+
short visible;
32+
short flags;
33+
short title;
34+
void *hints;
35+
} ItemList;
1036
#include "main.h"
1137
#include "system.h"
1238
#include "menu.h"

0 commit comments

Comments
 (0)