Skip to content

Commit

Permalink
0.8.2 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
proconsule committed Oct 28, 2023
1 parent 1e107d8 commit 31da264
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 31 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ Thanks to
- Averne for HW Decoding on Tegra X1 https://github.com/averne/FFmpeg and for all the hints and help (thanks a lot!)
- xfangfang for https://github.com/xfangfang/wiliwili (for Audren audio mpv patch)
- Jorge E. García "nWo" for beta testing and suggestions
- Djakku for beta testing and suggestions
- Djakku @ GBATemp for beta testing and suggestions
- spkatsi @ GBATemp for splash screen, themes and more
- Chocola @ GBATemp forum for usage guide and beta testing
- sashka69 @ GBATemp forum for beta testing
- bodyXY @ GBATemp forum for banner and icons
Expand Down
30 changes: 0 additions & 30 deletions source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@
//#define APPLETMODEENA 1


/* Exit from HB Menu instead fo returning
__nx_applet_exit_mode = 1;
*/

extern u32 __nx_applet_exit_mode;

static bool init();
Expand Down Expand Up @@ -343,15 +338,8 @@ int main() {
std::vector<std::string> extensionlist = configini->getConfigExtensions();

Utility::setMediaExtensions(extensionlist);

//Utility::FontLoader("romfs:/DejaVuSans.ttf",currFontsize,ImGui::GetIO());


//mgloader = new CImgLoader("romfs:");




Themes *themes = new Themes();
themes->getThemes();
int themeidx = themes->getThemeIDX(configini->getThemeName(true));
Expand All @@ -364,32 +352,14 @@ int main() {
if(themeidx == -1){
imgloader = new CImgLoader("romfs:");

/*
std::vector<nxmpgfx::fonttype_struct> tmpfonts;
nxmpgfx::fonttype_struct tmpentry;
tmpentry.filename = "romfs:/DejaVuSans.ttf";
tmpentry.size = currFontsize;
ImFontGlyphRangesBuilder range;
range.Clear();
tmpentry.charrange.clear();
range.AddRanges(ImGui::GetIO().Fonts->GetGlyphRangesCyrillic());
range.BuildRanges(&tmpentry.charrange);
tmpfonts.push_back(tmpentry);
*/
nxmpgfx::updateSplash(50);
nxmpgfx::UniFontLoader(themes->getThemeFonts(-1,configini->getOnlyLatinRange(false)));
//Utility::FontLoader("romfs:/DejaVuSans.ttf",currFontsize,"romfs:/Source Han Sans CN Light.otf",currFontsize);
nxmpgfx::updateSplash(100);
}else{
if(isHandheld){
//Utility::FontLoader(themes->themeslist[themeidx].latinfontstr,themes->themeslist[themeidx].handledfontsize,themes->themeslist[themeidx].kanjifontstr,themes->themeslist[themeidx].handledfontsize);
nxmpgfx::UniFontLoader(themes->getThemeFonts(themeidx,configini->getOnlyLatinRange(false)));
nxmpgfx::updateSplash(100);
}else{
//Utility::FontLoader(themes->themeslist[themeidx].latinfontstr,themes->themeslist[themeidx].dockedfontsize,themes->themeslist[themeidx].kanjifontstr,themes->themeslist[themeidx].dockedfontsize);
nxmpgfx::UniFontLoader(themes->getThemeFonts(themeidx,configini->getOnlyLatinRange(false)));
nxmpgfx::updateSplash(100);
}
Expand Down

0 comments on commit 31da264

Please sign in to comment.