-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsplash.cpp
57 lines (44 loc) · 2.25 KB
/
splash.cpp
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
#include "menu.h"
#include "FrensHelpers.h"
#include <cstring>
// called by menu.cpp
// shows emulator specific splash screen
static int fgcolorSplash = DEFAULT_FGCOLOR;
static int bgcolorSplash =DEFAULT_BGCOLOR;
void splash()
{
char s[SCREEN_COLS + 1];
ClearScreen(bgcolorSplash);
strcpy(s, "Pico-GenesisPlus");
putText(SCREEN_COLS / 2 - (strlen(s)) / 2, 2, s, fgcolorSplash, bgcolorSplash);
// putText((SCREEN_COLS / 2 - (strlen(s)) / 2) + 3, 2, "S", CRED, bgcolorSplash);
// putText((SCREEN_COLS / 2 - (strlen(s)) / 2) + 4, 2, "M", CGREEN, bgcolorSplash);
// putText((SCREEN_COLS / 2 - (strlen(s)) / 2) + 5, 2, "S", CBLUE, bgcolorSplash);
// putText((SCREEN_COLS / 2 - (strlen(s)) / 2) + 6, 2, "+", fgcolorSplash, bgcolorSplash);
strcpy(s, "Sega Genesis/Megadrive");
putText(SCREEN_COLS / 2 - strlen(s) / 2, 4, s, fgcolorSplash, bgcolorSplash);
strcpy(s, "emulator for RP2350");
putText(SCREEN_COLS / 2 - strlen(s) / 2, 5, s, fgcolorSplash, bgcolorSplash);
strcpy(s, "Based on github.com/bzhxx/gwenesis");
putText(SCREEN_COLS / 2 - strlen(s) / 2, 7, s, fgcolorSplash, bgcolorSplash);
strcpy(s, "Pico Port");
putText(SCREEN_COLS / 2 - strlen(s) / 2, 9, s, fgcolorSplash, bgcolorSplash);
strcpy(s, "@frenskefrens");
putText(SCREEN_COLS / 2 - strlen(s) / 2, 10, s, CBLUE, bgcolorSplash);
strcpy(s, "DVI Support");
putText(SCREEN_COLS / 2 - strlen(s) / 2, 13, s, fgcolorSplash, bgcolorSplash);
strcpy(s, "@shuichi_takano");
putText(SCREEN_COLS / 2 - strlen(s) / 2, 14, s, CBLUE, bgcolorSplash);
strcpy(s, "(S)NES/WII controller support");
putText(SCREEN_COLS / 2 - strlen(s) / 2, 17, s, fgcolorSplash, bgcolorSplash);
strcpy(s, "@PaintYourDragon @adafruit");
putText(SCREEN_COLS / 2 - strlen(s) / 2, 18, s, CBLUE, bgcolorSplash);
strcpy(s, "PCB Design");
putText(SCREEN_COLS / 2 - strlen(s) / 2, 21, s, fgcolorSplash, bgcolorSplash);
strcpy(s, "@johnedgarpark");
putText(SCREEN_COLS / 2 - strlen(s) / 2, 22, s, CBLUE, bgcolorSplash);
strcpy(s, "https://github.com/");
putText(SCREEN_COLS / 2 - strlen(s) / 2, 25, s, CBLUE, bgcolorSplash);
strcpy(s, "fhoedemakers/pico-genesisPlus");
putText(SCREEN_COLS / 2 - strlen(s) / 2, 26, s, CBLUE, bgcolorSplash);
}