int cartridge_resources_init(void) { return resources_register_int(resources_int) < 0 || resources_register_string(resources_string) < 0 || generic_resources_init() < 0 || finalexpansion_resources_init() < 0 || vic_fp_resources_init() < 0 || megacart_resources_init() < 0; }
int cartridge_resources_init(void) { if (resources_register_int(resources_int) < 0 || resources_register_string(resources_string) < 0 || generic_resources_init() < 0 || finalexpansion_resources_init() < 0 || vic_fp_resources_init() < 0 || megacart_resources_init() < 0 #ifdef HAVE_TFE || tfe_resources_init() < 0 #endif || aciacart_resources_init() < 0 || digimax_resources_init() < 0 || sfx_soundexpander_resources_init() < 0 || sfx_soundsampler_resources_init() < 0 || georam_resources_init() < 0) { return -1; } return 0; }