Implemented vibration option

This commit is contained in:
Hyper
2025-01-01 18:05:01 +00:00
parent 90cf22e586
commit d23e6d0e90
9 changed files with 21 additions and 4 deletions
+3 -1
View File
@@ -160,16 +160,18 @@ int main(int argc, char *argv[])
bool forceInstaller = false;
bool forceDLCInstaller = false;
const char *sdlVideoDriver = nullptr;
for (uint32_t i = 1; i < argc; i++)
{
forceInstaller = forceInstaller || (strcmp(argv[i], "--install") == 0);
forceDLCInstaller = forceDLCInstaller || (strcmp(argv[i], "--install-dlc") == 0);
if (strcmp(argv[i], "--sdl-video-driver") == 0)
{
if ((i + 1) < argc)
sdlVideoDriver = argv[++i];
else
fmt::println("No argument was specified for --sdl-video-driver. Option was ignored.");
LOGN_WARNING("No argument was specified for --sdl-video-driver. Option will be ignored.");
}
}