wait and then clear dirty parameters after loading a config

This commit is contained in:
onyx-and-iris 2024-07-07 07:01:03 +01:00
parent 9ee3f42334
commit c5c9360d32

View File

@ -15,6 +15,7 @@
#include <getopt.h>
#include <string.h>
#include <ctype.h>
#include <windows.h>
#include "ivmr.h"
#include "wrapper.h"
#include "log.h"
@ -146,6 +147,8 @@ int main(int argc, char *argv[])
{
log_info("Profile %s loaded", cvalue);
set_parameter_string(vmr, "command.load", cvalue);
Sleep(250);
clear_dirty(vmr);
}
if (iflag)