From 31da2642bd7dc551c4c6485e5643b28cac157d3a Mon Sep 17 00:00:00 2001 From: proconsule <34319995+proconsule@users.noreply.github.com> Date: Sat, 28 Oct 2023 14:13:24 +0200 Subject: [PATCH] 0.8.2 Release --- README.md | 3 ++- source/main.cpp | 30 ------------------------------ 2 files changed, 2 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index 38f77b1..38117bc 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/source/main.cpp b/source/main.cpp index 4135024..aad9f26 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -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(); @@ -343,15 +338,8 @@ int main() { std::vector 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)); @@ -364,32 +352,14 @@ int main() { if(themeidx == -1){ imgloader = new CImgLoader("romfs:"); - /* - std::vector 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); }