mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-07 14:24:12 +08:00
for pull
This commit is contained in:
parent
1d3092b6f7
commit
702129592c
@ -21,7 +21,7 @@ typedef struct
|
||||
uint16_t amount;
|
||||
char *filename;
|
||||
uint16_t *chapter;
|
||||
uint32 filesize;
|
||||
uint32_t filesize;
|
||||
} ACFont;
|
||||
|
||||
static ACFont gblfont = {
|
||||
@ -351,7 +351,7 @@ const char *acf_draw(int x, int y, unsigned width, unsigned height, unsigned max
|
||||
}
|
||||
|
||||
uint32_t unicode;
|
||||
unsigned *option = width == 0 ? NULL : &width;
|
||||
unsigned *option = width == 0 ? NULL : &maxwidth;
|
||||
for (const char *next = next_unicode(utf8_line, &unicode);
|
||||
next != NULL;
|
||||
next = next_unicode(utf8_line, &unicode))
|
||||
|
@ -85,6 +85,7 @@ static Result scanDir(const char *const path, DirList *const dList, const char *
|
||||
u32 read; // Number of entries read by fReadDir().
|
||||
u32 numEntries = 0; // Total number of processed entries.
|
||||
u32 entBufPos = 0; // Entry buffer position/number of bytes used.
|
||||
acf_set_font("wqy11.acf");
|
||||
const u32 filterLen = strlen(filter);
|
||||
do
|
||||
{
|
||||
|
@ -25,8 +25,6 @@
|
||||
#include "arm11/drivers/hid.h"
|
||||
#include "arm11/power.h"
|
||||
|
||||
|
||||
|
||||
static void setBacklight(void)
|
||||
{
|
||||
u8 backlightMax;
|
||||
|
Loading…
x
Reference in New Issue
Block a user