trunk/src/mame/drivers/artmagic.c
| r32366 | r32367 | |
| 1131 | 1131 | { |
| 1132 | 1132 | decrypt_ultennis(); |
| 1133 | 1133 | m_is_stoneball = 0; |
| 1134 | | m_protection_handler = ultennis_protection; |
| 1134 | m_protection_handler = &artmagic_state::ultennis_protection; |
| 1135 | 1135 | |
| 1136 | 1136 | /* additional (protection?) hack */ |
| 1137 | 1137 | m_maincpu->space(AS_PROGRAM).install_read_handler(0x300000, 0x300001, read16_delegate(FUNC(artmagic_state::ultennis_hack_r),this)); |
| r32366 | r32367 | |
| 1142 | 1142 | { |
| 1143 | 1143 | decrypt_cheesech(); |
| 1144 | 1144 | m_is_stoneball = 0; |
| 1145 | | m_protection_handler = cheesech_protection; |
| 1145 | m_protection_handler = &artmagic_state::cheesech_protection; |
| 1146 | 1146 | } |
| 1147 | 1147 | |
| 1148 | 1148 | |
| r32366 | r32367 | |
| 1150 | 1150 | { |
| 1151 | 1151 | decrypt_ultennis(); |
| 1152 | 1152 | m_is_stoneball = 1; /* blits 1 line high are NOT encrypted, also different first pixel decrypt */ |
| 1153 | | m_protection_handler = stonebal_protection; |
| 1153 | m_protection_handler = &artmagic_state::stonebal_protection; |
| 1154 | 1154 | } |
| 1155 | 1155 | |
| 1156 | 1156 | DRIVER_INIT_MEMBER(artmagic_state,shtstar) |
| r32366 | r32367 | |
| 1158 | 1158 | /* wrong */ |
| 1159 | 1159 | decrypt_ultennis(); |
| 1160 | 1160 | m_is_stoneball =0; |
| 1161 | | m_protection_handler = stonebal_protection; |
| 1161 | m_protection_handler = &artmagic_state::stonebal_protection; |
| 1162 | 1162 | } |
| 1163 | 1163 | |
| 1164 | 1164 | |