mirror of
https://github.com/onyx-and-iris/vmrcli.git
synced 2025-01-18 08:41:08 +00:00
wait and then clear dirty parameters after loading a config
This commit is contained in:
parent
9ee3f42334
commit
c5c9360d32
@ -15,6 +15,7 @@
|
|||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#include <windows.h>
|
||||||
#include "ivmr.h"
|
#include "ivmr.h"
|
||||||
#include "wrapper.h"
|
#include "wrapper.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
@ -146,6 +147,8 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
log_info("Profile %s loaded", cvalue);
|
log_info("Profile %s loaded", cvalue);
|
||||||
set_parameter_string(vmr, "command.load", cvalue);
|
set_parameter_string(vmr, "command.load", cvalue);
|
||||||
|
Sleep(250);
|
||||||
|
clear_dirty(vmr);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (iflag)
|
if (iflag)
|
||||||
|
Loading…
Reference in New Issue
Block a user