Cleanup ImageConverter
Fix Logo
This commit is contained in:
@ -24,19 +24,20 @@ int main() {
|
||||
RD7::Ftrace::Beg("app", "app_init");
|
||||
RD7::Init::Main("rd7tf");
|
||||
RD7::FadeIn();
|
||||
auto fnt = RD7::Font::New("romfs:/roboto_bold.bcfnt");
|
||||
RD7::TextFont(fnt);
|
||||
// RD7::Init::NdspFirm();
|
||||
RD7::Scene::Load(std::make_unique<Sample>());
|
||||
auto img = RD7::Image::New();
|
||||
img->Load("romfs:/icons/icon.png");
|
||||
RD7::Ftrace::End("app", "app_init");
|
||||
while (RD7::MainLoop()) {
|
||||
RD7::OnScreen(Top);
|
||||
RD7::R2()->OnScreen(R2Screen_Top);
|
||||
UI7::GetForegroundList()->AddImage(R7Vec2(), img);
|
||||
RD7::Ftrace::Beg("app", "app_mainloop");
|
||||
if (d7_hDown & KEY_START) {
|
||||
RD7::FadeOut();
|
||||
RD7::ExitApp();
|
||||
}
|
||||
RD7::OnScreen(Top);
|
||||
RD7::R2()->OnScreen(R2Screen_Top);
|
||||
RD7::FrameEnd();
|
||||
RD7::Ftrace::End("app", "app_mainloop");
|
||||
}
|
||||
|
Reference in New Issue
Block a user