Skip to content

Commit 2a68bf9

Browse files
committed
Mon 28 Oct 2019 15:53:05 EDT - v.1.2-Volume-In-GUI
1 parent c92367b commit 2a68bf9

File tree

19 files changed

+118
-43
lines changed

19 files changed

+118
-43
lines changed

Assets/retro-esp32/icons.gif

-1.88 KB
Loading

Components/go-play/odroid-go-common/components/odroid/odroid_hud.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ const uint16_t FONT_5x7[7][250] = {
138138
{65535,0,0,0,65535,65535,65535,65535,65535,0,0,65535,65535,65535,0,65535,65535,65535,65535,0,65535,65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,0,65535,0,0,0,65535,65535,65535,65535,65535,65535,0,65535,65535,0,0,65535,0,0,0,65535,65535,65535,65535,65535,65535,65535,0,0,0,65535,65535,0,0,0,65535,0,65535,65535,65535,0,65535,0,0,0,0,0,0,0,0,65535,65535,0,0,0,65535,0,65535,65535,65535,0,0,0,65535,0,0,0,65535,65535,65535,0,0,0,65535,0,0,0,65535,0,65535,0,65535,0,0,0,65535,0,0,65535,0,0,65535,65535,65535,65535,65535,0,65535,65535,65535,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,65535,65535,65535,0,0,0,0,0,65535,0,65535,65535,65535,0,0,65535,65535,65535,0,65535,0,0,0,0,0,65535,65535,65535,0,0,65535,65535,65535,0,0,0,65535,0,0,0,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,0,0,0,65535,0,0,0,0,65535,0,0,0,0,65535,0,0,65535,0,0,0,0,0,0,0,65535,0,0,65535,0,0,0,0,65535,65535,65535,0,0,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0},
139139
};
140140

141-
const uint16_t icons[30][5] = {
141+
const uint16_t icons[35][5] = {
142142
{0,65535,65535,0,0},
143143
{0,65535,65535,65535,0},
144144
{0,65535,65535,65535,65535},
@@ -169,8 +169,13 @@ const uint16_t FONT_5x7[7][250] = {
169169
{0,0,0,65535,0},
170170
{65535,0,65535,0,0},
171171
{0,65535,0,0,0},
172+
{0,65535,65535,65535,0},
173+
{65535,0,65535,0,65535},
174+
{65535,0,65535,65535,65535},
175+
{65535,0,0,0,65535},
176+
{0,65535,65535,65535,0},
172177

173-
};
178+
};
174179

175180
const uint16_t logo[12][64] = {
176181
{0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0},

Components/handy-go/components/odroid/odroid_hud.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ const uint16_t FONT_5x7[7][250] = {
138138
{65535,0,0,0,65535,65535,65535,65535,65535,0,0,65535,65535,65535,0,65535,65535,65535,65535,0,65535,65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,0,65535,0,0,0,65535,65535,65535,65535,65535,65535,0,65535,65535,0,0,65535,0,0,0,65535,65535,65535,65535,65535,65535,65535,0,0,0,65535,65535,0,0,0,65535,0,65535,65535,65535,0,65535,0,0,0,0,0,0,0,0,65535,65535,0,0,0,65535,0,65535,65535,65535,0,0,0,65535,0,0,0,65535,65535,65535,0,0,0,65535,0,0,0,65535,0,65535,0,65535,0,0,0,65535,0,0,65535,0,0,65535,65535,65535,65535,65535,0,65535,65535,65535,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,65535,65535,65535,0,0,0,0,0,65535,0,65535,65535,65535,0,0,65535,65535,65535,0,65535,0,0,0,0,0,65535,65535,65535,0,0,65535,65535,65535,0,0,0,65535,0,0,0,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,0,0,0,65535,0,0,0,0,65535,0,0,0,0,65535,0,0,65535,0,0,0,0,0,0,0,65535,0,0,65535,0,0,0,0,65535,65535,65535,0,0,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0},
139139
};
140140

141-
const uint16_t icons[30][5] = {
141+
const uint16_t icons[35][5] = {
142142
{0,65535,65535,0,0},
143143
{0,65535,65535,65535,0},
144144
{0,65535,65535,65535,65535},
@@ -169,8 +169,13 @@ const uint16_t FONT_5x7[7][250] = {
169169
{0,0,0,65535,0},
170170
{65535,0,65535,0,0},
171171
{0,65535,0,0,0},
172+
{0,65535,65535,65535,0},
173+
{65535,0,65535,0,65535},
174+
{65535,0,65535,65535,65535},
175+
{65535,0,0,0,65535},
176+
{0,65535,65535,65535,0},
172177

173-
};
178+
};
174179

175180
const uint16_t logo[12][64] = {
176181
{0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0},

Components/odroid-go-pcengine-huexpress/odroid-go-common/components/odroid/odroid_hud.c

Lines changed: 57 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,16 @@
5555
#define BLACK 0
5656
int OPTION = 0;
5757
extern int ACTION = 0;
58-
int OPTIONS = 3;
58+
int OPTIONS = 4;
5959
int8_t USER;
6060
int8_t DELETE_SAVE;
6161
int x, y, w, h, i, size;
62+
int fsy = 0;
6263
uint16_t *buffer;
6364
bool INIT = false;
6465
bool SAVED = false;
6566
bool forceConsoleReset;
67+
extern uint8_t frameskip;
6668
//}#pragma endregion Globals
6769

6870
//{#pragma region Structs
@@ -79,18 +81,20 @@
7981
int action;
8082
int offset;
8183
} STATES;
82-
STATES WITHSAVE[6] = {
84+
STATES WITHSAVE[7] = {
8385
{"Resume Game",0, 0},
8486
{"Restart Game",1, 10},
8587
{"Reload Game",2, 5},
8688
{"Overwrite Game",4, 25},
8789
{"Delete Save",5, 15},
88-
{"Exit Game",6, 20}
90+
{"Frame Skip",6, 30},
91+
{"Exit Game",7, 20}
8992
};
90-
STATES WITHOUTSAVE[3] = {
93+
STATES WITHOUTSAVE[4] = {
9194
{"Resume Game",0, 0},
9295
{"Restart Game",1, 10},
93-
{"Exit Game",6, 20}
96+
{"Frame Skip",6, 30},
97+
{"Exit Game",7, 20}
9498
};
9599
STATES STATE;
96100

@@ -127,17 +131,17 @@
127131
//}#pragma endregion Structs
128132

129133
//{#pragma region Sprites
130-
const uint16_t FONT_5x7[7][250] = {
134+
const uint16_t FONT_5x7[7][250] = {
131135
{0,65535,65535,65535,0,65535,65535,65535,65535,0,0,65535,65535,65535,0,65535,65535,65535,65535,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,65535,65535,65535,0,65535,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,65535,65535,0,0,0,0,65535,0,0,0,65535,65535,0,0,0,65535,0,65535,65535,65535,0,65535,65535,65535,65535,0,0,65535,65535,65535,0,65535,65535,65535,65535,0,0,65535,65535,65535,0,65535,65535,65535,65535,65535,65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,65535,65535,65535,65535,65535,0,65535,65535,65535,0,0,0,65535,0,0,0,65535,65535,65535,0,0,65535,65535,65535,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,0,65535,65535,65535,0,65535,65535,65535,65535,65535,0,65535,65535,65535,0,0,65535,65535,65535,0,0,0,65535,0,0,0,0,0,0,0,0,0,0,65535,0,0,0,65535,0,0,0,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,65535,0,0,65535,0,0,0,0,65535,65535,65535,0,0,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0},
132136
{65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,0,65535,0,0,0,0,65535,0,0,0,65535,65535,0,0,0,65535,0,0,65535,0,0,0,0,65535,0,0,65535,0,0,65535,0,65535,0,0,0,0,65535,65535,0,65535,65535,65535,65535,0,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,0,0,65535,0,0,65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,0,65535,0,65535,0,0,0,0,0,65535,65535,0,0,0,65535,0,65535,65535,0,0,65535,0,0,0,65535,65535,0,0,0,65535,0,0,65535,0,65535,65535,0,0,0,0,65535,0,0,0,65535,0,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,0,0,65535,0,0,0,0,0,0,0,0,0,0,65535,0,0,65535,0,65535,0,65535,0,0,0,65535,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,65535,0,0,0,0,65535,0,0,0,65535,0,0,0,0,0,0,65535,0,0,0,0,0,0,0,0,0,0,0},
133137
{65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,0,65535,0,0,0,65535,65535,0,0,0,0,65535,0,0,0,0,65535,0,0,0,0,65535,0,0,0,65535,0,0,65535,0,0,0,0,65535,0,0,65535,0,65535,0,0,65535,0,0,0,0,65535,0,65535,0,65535,65535,0,65535,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,0,0,0,65535,0,0,65535,0,0,0,65535,0,65535,0,65535,0,65535,0,0,0,65535,0,65535,0,65535,0,0,0,65535,0,0,0,0,0,65535,0,65535,0,0,0,65535,65535,0,65535,0,0,0,0,0,0,65535,0,0,0,0,65535,0,65535,0,0,65535,65535,0,0,0,0,65535,0,0,0,0,0,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,0,0,65535,0,0,0,0,0,0,0,0,0,0,0,0,0,0,65535,0,0,0,0,0,0,65535,0,0,0,0,0,0,0,0,0,0,0,0,0,0,65535,0,65535,0,0,0,0,0,0,65535,0,0,65535,0,0,0,0,0,0,65535,0,0,0,0,0,0,0,0,0,0,0},
134138
{65535,65535,65535,65535,65535,65535,65535,65535,65535,0,65535,0,0,0,0,65535,0,0,0,65535,65535,65535,65535,65535,0,65535,65535,65535,65535,0,65535,0,0,0,0,65535,65535,65535,65535,65535,0,0,65535,0,0,0,0,65535,0,0,65535,65535,0,0,0,65535,0,0,0,0,65535,0,0,0,65535,65535,0,0,65535,65535,65535,0,0,0,65535,65535,65535,65535,65535,0,65535,0,0,0,65535,65535,65535,65535,65535,0,0,65535,65535,65535,0,0,0,65535,0,0,65535,0,0,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,0,65535,0,0,0,0,65535,0,0,0,0,65535,0,0,65535,0,0,0,65535,0,0,65535,0,0,0,0,0,65535,0,0,0,65535,65535,0,65535,0,0,0,65535,0,65535,65535,65535,0,65535,65535,65535,65535,0,0,0,0,65535,0,0,65535,65535,65535,0,0,65535,65535,65535,65535,0,0,65535,0,0,0,0,0,0,0,0,0,0,0,0,0,65535,0,0,0,0,0,0,65535,0,0,0,0,0,0,0,0,0,0,0,0,0,0,65535,0,0,65535,0,0,0,0,0,0,65535,0,0,65535,0,0,0,0,0,0,65535,0,65535,0,65535,0,65535,0,0,0,0,0},
135139
{65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,0,65535,0,0,0,65535,65535,0,0,0,0,65535,0,0,0,0,65535,0,65535,65535,65535,65535,0,0,0,65535,0,0,65535,0,0,65535,0,65535,0,0,65535,0,65535,0,0,65535,0,0,0,0,65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,0,65535,0,0,0,65535,65535,0,65535,0,0,0,0,0,0,65535,0,0,65535,0,0,65535,0,0,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,65535,0,0,0,65535,0,0,0,65535,0,0,0,65535,0,0,0,65535,0,0,65535,0,0,0,0,65535,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,0,0,0,0,65535,65535,0,0,0,65535,0,0,65535,0,0,65535,0,0,0,65535,0,0,0,0,65535,0,0,65535,0,0,0,65535,65535,65535,0,0,0,0,0,0,65535,0,65535,0,65535,0,0,65535,0,0,0,0,0,0,0,0,0,0,0,0,0,0,65535,0,0,0,65535,0,0,0,0,0,0,65535,0,0,65535,0,0,0,0,0,0,65535,0,0,65535,0,65535,0,0,0,0,0,0},
136140
{65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,0,65535,0,0,0,0,65535,0,0,0,65535,65535,0,0,0,65535,0,0,65535,0,0,65535,0,65535,0,0,65535,0,0,65535,0,65535,0,0,0,0,65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,0,0,65535,65535,65535,0,65535,0,0,65535,0,65535,0,0,0,65535,0,0,65535,0,0,65535,0,0,0,65535,0,0,65535,0,0,65535,0,65535,0,65535,65535,0,0,0,65535,0,0,65535,0,0,65535,0,0,0,0,65535,0,0,0,65535,0,0,65535,0,0,0,65535,0,0,0,65535,0,0,0,65535,0,0,0,0,65535,65535,0,0,0,65535,65535,0,0,0,65535,0,65535,0,0,0,65535,0,0,0,65535,65535,0,0,0,65535,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,65535,0,0,65535,65535,0,0,0,0,0,0,0,0,0,0,0,0,65535,0,0,0,65535,0,0,0,0,0,65535,0,0,0,0,65535,0,0,0,65535,0,0,0,0,0,0,65535,0,0,0,0,0,0,0,0,0,0,0},
137141
{65535,0,0,0,65535,65535,65535,65535,65535,0,0,65535,65535,65535,0,65535,65535,65535,65535,0,65535,65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,0,65535,0,0,0,65535,65535,65535,65535,65535,65535,0,65535,65535,0,0,65535,0,0,0,65535,65535,65535,65535,65535,65535,65535,0,0,0,65535,65535,0,0,0,65535,0,65535,65535,65535,0,65535,0,0,0,0,0,0,0,0,65535,65535,0,0,0,65535,0,65535,65535,65535,0,0,0,65535,0,0,0,65535,65535,65535,0,0,0,65535,0,0,0,65535,0,65535,0,65535,0,0,0,65535,0,0,65535,0,0,65535,65535,65535,65535,65535,0,65535,65535,65535,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,65535,65535,65535,0,0,0,0,0,65535,0,65535,65535,65535,0,0,65535,65535,65535,0,65535,0,0,0,0,0,65535,65535,65535,0,0,65535,65535,65535,0,0,0,65535,0,0,0,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,0,0,0,65535,0,0,0,0,65535,0,0,0,0,65535,0,0,65535,0,0,0,0,0,0,0,65535,0,0,65535,0,0,0,0,65535,65535,65535,0,0,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0},
138-
};
142+
};
139143

140-
const uint16_t icons[30][5] = {
144+
const uint16_t icons[35][5] = {
141145
{0,65535,65535,0,0},
142146
{0,65535,65535,65535,0},
143147
{0,65535,65535,65535,65535},
@@ -168,6 +172,11 @@ const uint16_t FONT_5x7[7][250] = {
168172
{0,0,0,65535,0},
169173
{65535,0,65535,0,0},
170174
{0,65535,0,0,0},
175+
{0,65535,65535,65535,0},
176+
{65535,0,65535,0,65535},
177+
{65535,0,65535,65535,65535},
178+
{65535,0,0,0,65535},
179+
{0,65535,65535,65535,0},
171180

172181
};
173182

@@ -396,7 +405,17 @@ const uint16_t FONT_5x7[7][250] = {
396405
usleep(15000);
397406
}
398407
}
399-
}
408+
}
409+
410+
void hud_frameskip() {
411+
int dx = 288;
412+
char number[2];
413+
for(int i = 10; i > 2; i--) {
414+
sprintf(number, "%d", i);
415+
hud_text(dx,fsy,number,false,frameskip == i ? true : false);
416+
dx -= 10;
417+
}
418+
}
400419

401420
void hud_options() {
402421
x = 16;
@@ -405,7 +424,7 @@ const uint16_t FONT_5x7[7][250] = {
405424
h = 5;
406425
i = 0;
407426
int n;
408-
if(OPTIONS == 6) {
427+
if(OPTIONS == 7) {
409428
for(n = 0; n < OPTIONS; n++) {
410429
STATE = WITHSAVE[n];
411430
y+=20;
@@ -414,7 +433,7 @@ const uint16_t FONT_5x7[7][250] = {
414433
}}
415434
if(n == OPTIONS-1) {y = 216;}
416435
ili9341_write_frame_rectangleLE(x, y, w, h, buffer);
417-
hud_text(x+10,y,STATE.label,false,OPTION == n?true:false);
436+
hud_text(x+10,y,STATE.label,false,OPTION == n?true:false);
418437
i = 0;
419438
}
420439
STATE = WITHSAVE[OPTION];
@@ -427,11 +446,15 @@ const uint16_t FONT_5x7[7][250] = {
427446
}}
428447
if(n == OPTIONS-1) {y = 216;}
429448
ili9341_write_frame_rectangleLE(x, y, w, h, buffer);
430-
hud_text(x+10,y,STATE.label,false,OPTION == n?true:false);
449+
hud_text(x+10,y,STATE.label,false,OPTION == n?true:false);
450+
if(STATE.action == 6) {
451+
fsy = y;
452+
}
431453
i = 0;
432454
}
433455
STATE = WITHOUTSAVE[OPTION];
434456
}
457+
hud_frameskip();
435458
}
436459
//}#pragma endregion Display
437460

@@ -442,10 +465,10 @@ const uint16_t FONT_5x7[7][250] = {
442465
buffer = (uint16_t *)malloc(size);
443466
if (!buffer) abort();
444467
OPTION = 0;
445-
OPTIONS = SAVED ? 6 : 3;
468+
OPTIONS = SAVED ? 7 : 4;
446469
hud_theme();
447470
GUI = THEMES[USER];
448-
STATE = OPTIONS == 6 ? WITHSAVE[OPTION] : WITHOUTSAVE[OPTION];
471+
STATE = OPTIONS == 7 ? WITHSAVE[OPTION] : WITHOUTSAVE[OPTION];
449472
INIT = true;
450473
}
451474
}
@@ -490,6 +513,24 @@ const uint16_t FONT_5x7[7][250] = {
490513
usleep(200000);
491514
//debounce(ODROID_INPUT_DOWN);
492515
}
516+
if(STATE.action == 6) {
517+
/*
518+
LEFT
519+
*/
520+
if(gamepad.values[ODROID_INPUT_LEFT]) {
521+
if(frameskip > 2) {frameskip--;}
522+
hud_options();
523+
usleep(200000);
524+
}
525+
/*
526+
RIGHT
527+
*/
528+
if(gamepad.values[ODROID_INPUT_RIGHT]) {
529+
if(frameskip < 10) {frameskip++;}
530+
hud_options();
531+
usleep(200000);
532+
}
533+
}
493534
/*
494535
BUTTON B
495536
*/
@@ -507,6 +548,7 @@ const uint16_t FONT_5x7[7][250] = {
507548
ACTION = STATE.action;
508549
switch(ACTION) {
509550
case 0: // "Resume Game"
551+
case 6: // "Frame Skip"
510552
ili9341_clear(0);
511553
return 0;
512554
break;
@@ -530,7 +572,7 @@ const uint16_t FONT_5x7[7][250] = {
530572
esp_restart();
531573
//return 0;
532574
break;
533-
case 6: // "Exit Game"
575+
case 7: // "Exit Game"
534576
odroid_system_application_set(0);
535577
esp_restart();
536578
break;

Components/odroid-go-pcengine-huexpress/odroid-go-common/components/odroid/odroid_hud.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,5 @@ void hud_menu();
4848
*/
4949
void hud_logo(void);
5050
void hud_progress(char *string, bool bar);
51+
void hud_frameskip();
5152
void hud_options();

Components/odroid-go-pcengine-huexpress/pcengine-go/main/main.c

100755100644
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ void DoMenuHome(bool save)
332332

333333
#ifdef CONFIG_IN_GAME_MENU_YES
334334
//odroid_display_lock();
335+
//EmuAudio(false);
335336
hud_menu();
336337
printf("\nACTION:%d\n", ACTION);
337338
switch(ACTION) {
@@ -348,6 +349,7 @@ void DoMenuHome(bool save)
348349
break;
349350
}
350351
ili9341_clear(0);
352+
//EmuAudio(true);
351353
odroid_display_unlock();
352354
#else
353355
// Clear audio to prevent studdering

Components/prosystem-odroid-go/components/odroid/odroid_hud.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ const uint16_t FONT_5x7[7][250] = {
137137
{65535,0,0,0,65535,65535,65535,65535,65535,0,0,65535,65535,65535,0,65535,65535,65535,65535,0,65535,65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,0,65535,0,0,0,65535,65535,65535,65535,65535,65535,0,65535,65535,0,0,65535,0,0,0,65535,65535,65535,65535,65535,65535,65535,0,0,0,65535,65535,0,0,0,65535,0,65535,65535,65535,0,65535,0,0,0,0,0,0,0,0,65535,65535,0,0,0,65535,0,65535,65535,65535,0,0,0,65535,0,0,0,65535,65535,65535,0,0,0,65535,0,0,0,65535,0,65535,0,65535,0,0,0,65535,0,0,65535,0,0,65535,65535,65535,65535,65535,0,65535,65535,65535,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,65535,65535,65535,0,0,0,0,0,65535,0,65535,65535,65535,0,0,65535,65535,65535,0,65535,0,0,0,0,0,65535,65535,65535,0,0,65535,65535,65535,0,0,0,65535,0,0,0,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,0,0,0,65535,0,0,0,0,65535,0,0,0,0,65535,0,0,65535,0,0,0,0,0,0,0,65535,0,0,65535,0,0,0,0,65535,65535,65535,0,0,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0},
138138
};
139139

140-
const uint16_t icons[30][5] = {
140+
const uint16_t icons[35][5] = {
141141
{0,65535,65535,0,0},
142142
{0,65535,65535,65535,0},
143143
{0,65535,65535,65535,65535},
@@ -168,8 +168,13 @@ const uint16_t FONT_5x7[7][250] = {
168168
{0,0,0,65535,0},
169169
{65535,0,65535,0,0},
170170
{0,65535,0,0,0},
171+
{0,65535,65535,65535,0},
172+
{65535,0,65535,0,65535},
173+
{65535,0,65535,65535,65535},
174+
{65535,0,0,0,65535},
175+
{0,65535,65535,65535,0},
171176

172-
};
177+
};
173178

174179
const uint16_t logo[12][64] = {
175180
{0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0},

Components/stella-odroid-go/components/odroid/odroid_hud.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ const uint16_t FONT_5x7[7][250] = {
137137
{65535,0,0,0,65535,65535,65535,65535,65535,0,0,65535,65535,65535,0,65535,65535,65535,65535,0,65535,65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,0,65535,0,0,0,65535,65535,65535,65535,65535,65535,0,65535,65535,0,0,65535,0,0,0,65535,65535,65535,65535,65535,65535,65535,0,0,0,65535,65535,0,0,0,65535,0,65535,65535,65535,0,65535,0,0,0,0,0,0,0,0,65535,65535,0,0,0,65535,0,65535,65535,65535,0,0,0,65535,0,0,0,65535,65535,65535,0,0,0,65535,0,0,0,65535,0,65535,0,65535,0,0,0,65535,0,0,65535,0,0,65535,65535,65535,65535,65535,0,65535,65535,65535,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,65535,65535,65535,0,0,0,0,0,65535,0,65535,65535,65535,0,0,65535,65535,65535,0,65535,0,0,0,0,0,65535,65535,65535,0,0,65535,65535,65535,0,0,0,65535,0,0,0,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,0,0,0,65535,0,0,0,0,65535,0,0,0,0,65535,0,0,65535,0,0,0,0,0,0,0,65535,0,0,65535,0,0,0,0,65535,65535,65535,0,0,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0},
138138
};
139139

140-
const uint16_t icons[30][5] = {
140+
const uint16_t icons[35][5] = {
141141
{0,65535,65535,0,0},
142142
{0,65535,65535,65535,0},
143143
{0,65535,65535,65535,65535},
@@ -168,8 +168,13 @@ const uint16_t FONT_5x7[7][250] = {
168168
{0,0,0,65535,0},
169169
{65535,0,65535,0,0},
170170
{0,65535,0,0,0},
171+
{0,65535,65535,65535,0},
172+
{65535,0,65535,0,65535},
173+
{65535,0,65535,65535,65535},
174+
{65535,0,0,0,65535},
175+
{0,65535,65535,65535,0},
171176

172-
};
177+
};
173178

174179
const uint16_t logo[12][64] = {
175180
{0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0},

0 commit comments

Comments
 (0)