* ibutton: run emulation when launched with argument * app-loader: set NULL context when starting application from menu * ibutton: change p to argc * ibutton: fix load key data from file * ibutton: fix memory leak
		
			
				
	
	
		
			10 lines
		
	
	
		
			181 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			181 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#include "ibutton-app.h"
 | 
						|
 | 
						|
// app enter function
 | 
						|
extern "C" int32_t app_ibutton(void* p) {
 | 
						|
    iButtonApp* app = new iButtonApp();
 | 
						|
    app->run(p);
 | 
						|
    delete app;
 | 
						|
 | 
						|
    return 255;
 | 
						|
} |