add display func, todo: put into different file
This commit is contained in:
@@ -212,4 +212,11 @@ namespace board {
|
|||||||
return args.X[1] == 0x00002000 ? true : false;
|
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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,5 +39,6 @@ namespace board {
|
|||||||
HorizonOCConsoleType GetConsoleType();
|
HorizonOCConsoleType GetConsoleType();
|
||||||
u8 GetDramID();
|
u8 GetDramID();
|
||||||
bool IsDram8GB();
|
bool IsDram8GB();
|
||||||
|
void SetDisplayRefreshDockedState(bool docked);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user