diff --git a/umka.h b/umka.h index 0dd60d0..821399d 100644 --- a/umka.h +++ b/umka.h @@ -10,6 +10,7 @@ #ifndef UMKA_H_INCLUDED #define UMKA_H_INCLUDED +#include #include #include #include @@ -151,8 +152,8 @@ typedef struct { uint8_t pad3[1024-71]; } __attribute__((packed)) process_information_t; -_Static_assert(sizeof(process_information_t) == 0x400, - "must be 0x400 bytes long"); +static_assert(sizeof(process_information_t) == 0x400, + "must be 0x400 bytes long"); typedef struct { box_t box; @@ -165,8 +166,7 @@ typedef struct { uint8_t fl_redraw; } __attribute__((packed)) wdata_t; -_Static_assert(sizeof(wdata_t) == 0x20, - "must be 0x20 bytes long"); +static_assert(sizeof(wdata_t) == 0x20, "must be 0x20 bytes long"); typedef struct { uint32_t frame; @@ -1027,7 +1027,7 @@ typedef struct { void *pdt_0[1024]; } proc_t; -_Static_assert(sizeof(proc_t) == 0x1400, "must be 0x1400 bytes long"); +static_assert(sizeof(proc_t) == 0x1400, "must be 0x1400 bytes long"); typedef struct { char app_name[11]; @@ -1086,7 +1086,7 @@ typedef struct { uint32_t pad4; // +252 } appdata_t; -_Static_assert(sizeof(appdata_t) == 256, "must be 0x100 bytes long"); +static_assert(sizeof(appdata_t) == 256, "must be 0x100 bytes long"); #define UMKA_SHELL 1 #define UMKA_FUSE 2 diff --git a/umka_os.us b/umka_os.us index 184548a..e1a3872 100644 --- a/umka_os.us +++ b/umka_os.us @@ -1,4 +1,4 @@ -umka_set_boot_params --bpp 16 +umka_set_boot_params --bpp32 umka_boot ramdisk_init ../img/kolibri.raw set_skin /sys/DEFAULT.SKN