add display func, todo: put into different file

This commit is contained in:
Lightos1
2026-03-20 21:31:34 +01:00
parent 0afef60198
commit dfd5af7e80
2 changed files with 8 additions and 0 deletions

View File

@@ -212,4 +212,11 @@ namespace board {
return args.X[1] == 0x00002000 ? true : false;
}
/* TODO: Put this into a different file. */
void SetDisplayRefreshDockedState(bool docked) {
if (GetConsoleType() != HorizonOCConsoleType_Hoag) {
DisplayRefresh_SetDockedState(docked);
}
}
}

View File

@@ -39,5 +39,6 @@ namespace board {
HorizonOCConsoleType GetConsoleType();
u8 GetDramID();
bool IsDram8GB();
void SetDisplayRefreshDockedState(bool docked);
}