mirror of
				https://github.com/onyx-and-iris/vmrcli.git
				synced 2025-11-03 22:51:47 +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 <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)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user