17 #include <emscripten/emscripten.h>
109 for (row=0; row<32; ++
row) {
110 for (col=0; col<32; ++col) {
116 data[
i] = mask[
i] = 0;
118 switch (image[4+row][col]) {
131 sscanf(image[4+row],
"%d,%d", &hot_x, &hot_y);
176 #ifdef __EMSCRIPTEN__
178 emscripten_cancel_main_loop();
187 const char *color_cursor =
NULL;
197 for (i = 1; i < argc;) {
202 color_cursor = argv[
i];
228 SDL_Log(
"Error, couldn't create cursor\n");
234 SDL_Log(
"Error, couldn't create system cursor %d\n", i);
242 #ifdef __EMSCRIPTEN__
243 emscripten_set_main_loop(
loop, 0, 1);