Added warning messages for nvctrl

This commit is contained in:
FlightlessMango 2020-03-28 14:28:12 +01:00
parent 1fc94600e9
commit 85291d25ef

View File

@ -19,7 +19,11 @@ bool checkXNVCtrl()
if (nvctrl.IsLoaded()) {
nvctrlSuccess = nvctrl.XNVCTRLIsNvScreen(display, 0);
return nvctrlSuccess;
} else {
printf("MANGOHUD: XNVCtrl failed to load");
}
if (!nvctrlSuccess)
printf("MANGOHUD: XNVCtrl didn't find the correct display")
return false;
}