Fix missing titles in browser

This commit is contained in:
Ray Haleblian 2022-03-21 19:46:54 +00:00
parent e187c2468c
commit 681e4113bd
3 changed files with 4 additions and 2 deletions

View File

@ -14,7 +14,8 @@
"/opt/devkitpro/libnds/include",
"/opt/devkitpro/libnds/include/nds",
"/opt/devkitpro/portlibs/nds/include",
"/opt/devkitpro/portlibs/nds/include/freetype2"
"/opt/devkitpro/portlibs/nds/include/freetype2",
"/opt/devkitpro/portlibs/nds/include/freetype2/freetype"
]
}
],

View File

@ -34,7 +34,7 @@ INCLUDES := include build
#---------------------------------------------------------------------------------
ARCH := -mthumb -mthumb-interwork
CFLAGS := -g -Wall -O2 \
CFLAGS := -Wall -O2 \
-I$(DEVKITPRO)/portlibs/nds/include/freetype2 \
-march=armv5te -mtune=arm946e-s -fomit-frame-pointer \
-ffast-math \

View File

@ -210,6 +210,7 @@ u8 Book::Index()
{
std::string path;
path.append(GetFolderName());
path.append("/");
path.append(GetFileName());
int err = epub(this,path,true);
return err;