Move drawing, input and utils code into separate library
This commit is contained in:
		
							
								
								
									
										11
									
								
								main.c
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								main.c
									
									
									
									
									
								
							@@ -26,10 +26,11 @@
 | 
			
		||||
#include <time.h>
 | 
			
		||||
 | 
			
		||||
#include "multirom.h"
 | 
			
		||||
#include "framebuffer.h"
 | 
			
		||||
#include "log.h"
 | 
			
		||||
#include "lib/framebuffer.h"
 | 
			
		||||
#include "lib/log.h"
 | 
			
		||||
#include "version.h"
 | 
			
		||||
#include "util.h"
 | 
			
		||||
#include "lib/util.h"
 | 
			
		||||
#include "lib/mrom_data.h"
 | 
			
		||||
 | 
			
		||||
#define EXEC_MASK (S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH)
 | 
			
		||||
#define KEEP_REALDATA "/dev/.keep_realdata"
 | 
			
		||||
@@ -84,6 +85,8 @@ int main(int argc, const char *argv[])
 | 
			
		||||
    // but it is possible to filter out INFO messages
 | 
			
		||||
    klog_set_level(6);
 | 
			
		||||
 | 
			
		||||
    mrom_set_log_tag("multirom");
 | 
			
		||||
 | 
			
		||||
    ERROR("Running MultiROM v%d%s\n", VERSION_MULTIROM, VERSION_DEV_FIX);
 | 
			
		||||
 | 
			
		||||
    // root is mounted read only in android and MultiROM uses
 | 
			
		||||
@@ -119,4 +122,4 @@ int main(int argc, const char *argv[])
 | 
			
		||||
    vt_set_mode(0);
 | 
			
		||||
 | 
			
		||||
    return 0;
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user