| Line 490... |
Line 490... |
| 490 |
void* diskuclptr;
|
490 |
void* diskuclptr;
|
| 491 |
uint8_t* norbuf;
|
491 |
uint8_t* norbuf;
|
| 492 |
#define norbufword ((uint32_t*)norbuf)
|
492 |
#define norbufword ((uint32_t*)norbuf)
|
| 493 |
|
493 |
|
| 494 |
cputc(3, '.');
|
494 |
cputc(3, '.');
|
| 495 |
struct emcorelib_header* libpng = get_library(0x64474e50, LIBPNG_API_VERSION, LIBSOURCE_RAM_NEEDCOPY, f_png_emcorelib);
|
495 |
struct emcorelib_header* libpng = get_library(LIBPNG_IDENTIFIER, LIBPNG_API_VERSION, LIBSOURCE_RAM_NEEDCOPY, f_png_emcorelib);
|
| 496 |
if (!libpng) panicf(PANIC_KILLTHREAD, "Could not load PNG decoder library!");
|
496 |
if (!libpng) panicf(PANIC_KILLTHREAD, "Could not load PNG decoder library!");
|
| 497 |
struct libpng_api* png = (struct libpng_api*)libpng->api;
|
497 |
struct libpng_api* png = (struct libpng_api*)libpng->api;
|
| 498 |
cputc(3, '.');
|
498 |
cputc(3, '.');
|
| 499 |
struct emcorelib_header* libui = get_library(0x49554365, LIBUI_API_VERSION, LIBSOURCE_RAM_NEEDCOPY, f_ui_emcorelib);
|
499 |
struct emcorelib_header* libui = get_library(LIBUI_IDENTIFIER, LIBUI_API_VERSION, LIBSOURCE_RAM_NEEDCOPY, f_ui_emcorelib);
|
| 500 |
if (!libui) panicf(PANIC_KILLTHREAD, "Could not load user interface library!");
|
500 |
if (!libui) panicf(PANIC_KILLTHREAD, "Could not load user interface library!");
|
| 501 |
struct libui_api* ui = (struct libui_api*)libui->api;
|
501 |
struct libui_api* ui = (struct libui_api*)libui->api;
|
| 502 |
cputc(3, '.');
|
502 |
cputc(3, '.');
|
| 503 |
|
503 |
|
| 504 |
struct png_info* handle = png->png_open(background_png, background_png_size);
|
504 |
struct png_info* handle = png->png_open(background_png, background_png_size);
|