mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2026-06-02 09:06:54 +02:00
Initial commit
This commit is contained in:
13
arm9/source/themes/material/MaterialTheme.cpp
Normal file
13
arm9/source/themes/material/MaterialTheme.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "common.h"
|
||||
#include <libtwl/mem/memVram.h>
|
||||
#include "romBrowser/Theme/Material/CarouselRecyclerView.h"
|
||||
#include "MaterialTheme.h"
|
||||
|
||||
void MaterialTheme::LoadRomBrowserResources(const VramContext& mainVramContext, const VramContext& subVramContext)
|
||||
{
|
||||
mem_setVramDMapping(MEM_VRAM_D_LCDC);
|
||||
mem_setVramEMapping(MEM_VRAM_E_LCDC);
|
||||
CarouselRecyclerView::UploadGraphics(mainVramContext);
|
||||
mem_setVramDMapping(MEM_VRAM_D_TEX_SLOT_0);
|
||||
mem_setVramEMapping(MEM_VRAM_E_TEX_PLTT_SLOT_0123);
|
||||
}
|
||||
Reference in New Issue
Block a user