bdk: various functionality independent changes

This commit is contained in:
CTCaer
2022-01-16 01:03:24 +02:00
parent 5894062b93
commit 70504c295e
18 changed files with 56 additions and 28 deletions

View File

@@ -113,13 +113,6 @@ void s_printf(char *out_buf, const char *fmt, ...)
case 'X':
_s_putn(va_arg(ap, u32), 16, fill, fcnt);
break;
case 'k':
//gfx_con.fgcol = va_arg(ap, u32);
break;
case 'K':
//gfx_con.bgcol = va_arg(ap, u32);
//gfx_con.fillbg = 1;
break;
case '%':
_s_putc('%');
break;

View File

@@ -46,9 +46,9 @@ typedef volatile unsigned short vu16;
typedef volatile unsigned int vu32;
#ifdef __aarch64__
typedef u64 uptr;
typedef unsigned long long uptr;
#else /* __arm__ or __thumb__ */
typedef u32 uptr;
typedef unsigned long uptr;
#endif
/* Important */
@@ -137,8 +137,8 @@ typedef struct __attribute__((__packed__)) _boot_cfg_t
{
struct
{
char id[8]; // 7 char ASCII null teminated.
char emummc_path[0x78]; // emuMMC/XXX, ASCII null teminated.
char id[8]; // 7 char ASCII null terminated.
char emummc_path[0x78]; // emuMMC/XXX, ASCII null terminated.
};
u8 ums; // nyx_ums_type.
u8 xt_str[0x80];