void ScreenRecoveryUI::LoadBitmapArray(const char* filename, int* frames, gr_surface** surface, const char* theme_name="default") {
    int result;
    if (strcmp(theme_name, "default")) {
        result = res_create_theme_multi_display_surface(filename, theme_name, frames, surface);
    } else {
        result = res_create_multi_display_surface(filename, frames, surface);
    }
    if (result < 0) {
        LOGE("missing bitmap %s\n(Code %d)\n", filename, result);
        res_create_multi_display_surface(filename, frames, surface);
    }
}
void ScreenRecoveryUI::LoadBitmapArray(const char* filename, int* frames, GRSurface*** surface) {
    int result = res_create_multi_display_surface(filename, frames, surface);
    if (result < 0) {
        LOGE("missing bitmap %s\n(Code %d)\n", filename, result);
    }
}