Add direct mode support for msi gpus

This commit is contained in:
Qwex
2021-11-27 21:02:48 +00:00
committed by Adam Honse
parent af9af2fbe3
commit 9afaccc747
4 changed files with 38 additions and 27 deletions

View File

@@ -53,7 +53,11 @@ void MSIGPUController::SetRGB3(unsigned char red, unsigned char green, unsigned
void MSIGPUController::SetMode(unsigned char mode)
{
MSIGPURegisterWrite(MSI_GPU_REG_MODE, mode);
MSIGPURegisterWrite(MSI_GPU_REG_APPLY, 0x01);
}
void MSIGPUController::Save()
{
MSIGPURegisterWrite(MSI_GPU_REG_SAVE, 0x01);
}
unsigned char MSIGPUController::MSIGPURegisterRead(unsigned char reg)