src/mess/machine/nes.c
| r8289 | r8290 | |
| 1114 | 1114 | |
| 1115 | 1115 | /* Check for mirroring */ |
| 1116 | 1116 | // FIXME: this is hacky. it would be better to include these in some feature attribute |
| 1117 | | if (image_get_software_region(image, "mirror") != NULL) |
| 1117 | if (image_get_feature(image, "mirroring") != NULL) |
| 1118 | 1118 | { |
| 1119 | | int value = image_get_software_region_length(image, "mirror"); |
| 1120 | | if (value == 2) |
| 1119 | const char *mirroring = image_get_feature(image, "mirroring"); |
| 1120 | if (strcmp(mirroring, "horizontal") == 0) |
| 1121 | 1121 | state->hard_mirroring = 0; |
| 1122 | | if (value == 4) |
| 1122 | if (strcmp(mirroring, "vertical") == 0) |
| 1123 | 1123 | state->hard_mirroring = 1; |
| 1124 | 1124 | } |
| 1125 | 1125 | /* Check for pins */ |