Added command_lite.h header file to modderspack

This commit is contained in:
NovaRain
2019-10-11 00:53:22 +08:00
parent c7eaff7ff5
commit c98af496b3
2 changed files with 569 additions and 1 deletions
File diff suppressed because it is too large Load Diff
+2 -1
View File
@@ -1094,7 +1094,8 @@ void GraphicsInit() {
#endif #endif
HMODULE h = LoadLibraryEx(_DLL_NAME, 0, LOAD_LIBRARY_AS_DATAFILE); HMODULE h = LoadLibraryEx(_DLL_NAME, 0, LOAD_LIBRARY_AS_DATAFILE);
if (!h) { if (!h) {
MessageBoxA(0, "You have selected graphics mode 4 or 5, but " _DLL_NAME " is missing\nSwitch back to mode 0, or install an up to date version of DirectX", "Error", 0); MessageBoxA(0, "You have selected graphics mode 4 or 5, but " _DLL_NAME " is missing.\n"
"Switch back to mode 0, or install an up to date version of DirectX.", "Error", 0);
ExitProcess(-1); ExitProcess(-1);
} else { } else {
FreeLibrary(h); FreeLibrary(h);