| Line 188... |
Line 188... |
| 188 |
#define norbufword ((uint32_t*)norbuf)
|
188 |
#define norbufword ((uint32_t*)norbuf)
|
| 189 |
uint8_t* oldnor;
|
189 |
uint8_t* oldnor;
|
| 190 |
#define oldnorword ((uint32_t*)oldnor)
|
190 |
#define oldnorword ((uint32_t*)oldnor)
|
| 191 |
|
191 |
|
| 192 |
cputc(3, '.');
|
192 |
cputc(3, '.');
|
| 193 |
struct emcorelib_header* libpng = get_library(0x64474e50, LIBPNG_API_VERSION, LIBSOURCE_RAM_NEEDCOPY, f_png_emcorelib);
|
193 |
struct emcorelib_header* libpng = get_library(LIBPNG_IDENTIFIER, LIBPNG_API_VERSION, LIBSOURCE_RAM_NEEDCOPY, f_png_emcorelib);
|
| 194 |
if (!libpng) panicf(PANIC_KILLTHREAD, "Could not load PNG decoder library!");
|
194 |
if (!libpng) panicf(PANIC_KILLTHREAD, "Could not load PNG decoder library!");
|
| 195 |
struct libpng_api* png = (struct libpng_api*)libpng->api;
|
195 |
struct libpng_api* png = (struct libpng_api*)libpng->api;
|
| 196 |
cputc(3, '.');
|
196 |
cputc(3, '.');
|
| 197 |
struct emcorelib_header* libui = get_library(0x49554365, LIBUI_API_VERSION, LIBSOURCE_RAM_NEEDCOPY, f_ui_emcorelib);
|
197 |
struct emcorelib_header* libui = get_library(LIBUI_IDENTIFIER, LIBUI_API_VERSION, LIBSOURCE_RAM_NEEDCOPY, f_ui_emcorelib);
|
| 198 |
if (!libui) panicf(PANIC_KILLTHREAD, "Could not load user interface library!");
|
198 |
if (!libui) panicf(PANIC_KILLTHREAD, "Could not load user interface library!");
|
| 199 |
struct libui_api* ui = (struct libui_api*)libui->api;
|
199 |
struct libui_api* ui = (struct libui_api*)libui->api;
|
| 200 |
cputc(3, '.');
|
200 |
cputc(3, '.');
|
| 201 |
|
201 |
|
| 202 |
struct png_info* handle = png->png_open(background_png, background_png_size);
|
202 |
struct png_info* handle = png->png_open(background_png, background_png_size);
|