equal
deleted
inserted
replaced
276 break; |
276 break; |
277 case 6: |
277 case 6: |
278 HW_backjump(); |
278 HW_backjump(); |
279 break; |
279 break; |
280 case 10: |
280 case 10: |
281 playSound(@"clickSound"); |
281 [AudioManagerController playClickSound]; |
282 clearView(); |
282 clearView(); |
283 HW_pause(); |
283 HW_pause(); |
284 if (self.amvc.isVisible && IS_DUALHEAD() == NO) { |
284 if (self.amvc.isVisible && IS_DUALHEAD() == NO) { |
285 doDim(); |
285 doDim(); |
286 [self.amvc disappear]; |
286 [self.amvc disappear]; |
287 } |
287 } |
288 clearView(); |
288 clearView(); |
289 [self showPopover]; |
289 [self showPopover]; |
290 break; |
290 break; |
291 case 11: |
291 case 11: |
292 playSound(@"clickSound"); |
292 [AudioManagerController playClickSound]; |
293 clearView(); |
293 clearView(); |
294 |
294 |
295 if (IS_DUALHEAD() || [[[NSUserDefaults standardUserDefaults] objectForKey:@"classic_menu"] boolValue] == NO) { |
295 if (IS_DUALHEAD() || [[[NSUserDefaults standardUserDefaults] objectForKey:@"classic_menu"] boolValue] == NO) { |
296 if (self.amvc == nil) |
296 if (self.amvc == nil) |
297 self.amvc = [[AmmoMenuViewController alloc] init]; |
297 self.amvc = [[AmmoMenuViewController alloc] init]; |