hocclk: fix flickering
This commit is contained in:
1 parent
53bf78181c
commit
db62b6fb42
3 files changed
-9
No files matched your search
@@ -57,15 +57,6 @@ BaseMenuGui::~BaseMenuGui() {
|
||||
// Fast preDraw - just renders pre-computed strings
|
||||
void BaseMenuGui::preDraw(tsl::gfx::Renderer* 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
|
||||
const char* labels[] = {
|
||||
|
||||
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in new issue
Block a user