hocclk: fix flickering
This commit is contained in:
@@ -57,15 +57,6 @@ BaseMenuGui::~BaseMenuGui() {
|
|||||||
// Fast preDraw - just renders pre-computed strings
|
// Fast preDraw - just renders pre-computed strings
|
||||||
void BaseMenuGui::preDraw(tsl::gfx::Renderer* renderer) {
|
void BaseMenuGui::preDraw(tsl::gfx::Renderer* renderer) {
|
||||||
BaseGui::preDraw(renderer);
|
BaseGui::preDraw(renderer);
|
||||||
if (!this->context) [[unlikely]] {
|
|
||||||
this->context = new HocClkContext;
|
|
||||||
}
|
|
||||||
|
|
||||||
Result rc = hocclkIpcGetCurrentContext(this->context);
|
|
||||||
if (R_FAILED(rc)) [[unlikely]] {
|
|
||||||
FatalGui::openWithResultCode("hocclkIpcGetCurrentContext", rc);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// All constants pre-calculated and cached
|
// All constants pre-calculated and cached
|
||||||
const char* labels[] = {
|
const char* labels[] = {
|
||||||
|
|||||||
BIN
dist/atmosphere/kips/hoc.kip
vendored
BIN
dist/atmosphere/kips/hoc.kip
vendored
Binary file not shown.
BIN
dist/switch/.overlays/horizon-oc-overlay.ovl
vendored
BIN
dist/switch/.overlays/horizon-oc-overlay.ovl
vendored
Binary file not shown.
Reference in New Issue
Block a user