Move drawing, input and utils code into separate library

This commit is contained in:
Vojtech Bocek
2015-02-16 21:01:06 +01:00
parent 2449b5b27e
commit 7db8f34697
64 changed files with 772 additions and 544 deletions

11
main.c
View File

@@ -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;
}
}