Updated submodules.

Fixed compatibility with latest libn3ds.
This commit is contained in:
profi200 2024-07-16 21:02:42 +02:00 committed by profi200
parent 3e91716c80
commit 15436e02a7
4 changed files with 8 additions and 7 deletions

@ -1 +1 @@
Subproject commit 077174edcb92990d1a1c3c7da943a5638a543be1
Subproject commit ed4525140dacc54e5924f60b25a00c69371866a0

@ -1 +1 @@
Subproject commit 3bd21685705cbcc4ada9aab2c0f43faeeb304151
Subproject commit f5e5e8efb3a33959ee5489e2f13f1aecf62f1e04

View File

@ -129,9 +129,9 @@ static void showDirList(const DirList *const dList, u32 start)
for(u32 i = start; i < listLength; i++)
{
const char *const printStr =
(*dList->ptrs[i] == ENT_TYPE_FILE ? "\x1b[%lu;H\x1b[37m %.51s" : "\x1b[%lu;H\x1b[33m %.51s");
(*dList->ptrs[i] == ENT_TYPE_FILE ? "\x1b[%lu;H\x1b[37;1m %.52s" : "\x1b[%lu;H\x1b[33;1m %.52s");
ee_printf(printStr, i - start, &dList->ptrs[i][1]);
ee_printf(printStr, i - start + 1, &dList->ptrs[i][1]);
}
}
@ -156,8 +156,9 @@ Result browseFiles(const char *const basePath, char selected[512])
s32 oldCursorPos = 0;
while(1)
{
ee_printf("\x1b[%lu;H ", oldCursorPos - windowPos); // Clear old cursor.
ee_printf("\x1b[%lu;H\x1b[37m>", cursorPos - windowPos); // Draw cursor.
ee_printf("\x1b[%lu;H ", oldCursorPos - windowPos + 1); // Clear old cursor.
ee_printf("\x1b[%lu;H\x1b[37m>", cursorPos - windowPos + 1); // Draw cursor.
GFX_flushBuffers();
u32 kDown;
do

View File

@ -31,7 +31,7 @@
int main(void)
{
Result res = oafParseConfigEarly();
GFX_init(GFX_BGR8, GFX_R5G6B5, GFX_TOP_2D);
GFX_init(GFX_BGR8, GFX_BGR565, GFX_TOP_2D);
changeBacklight(0); // Apply backlight config.
consoleInit(GFX_LCD_BOT, NULL);
//CODEC_init();