Cocoa Port:

- Remove code for Eject Card functionality. (Function is currently unimplemented, and has been obsoleted in r4392.)
This commit is contained in:
rogerman 2012-10-21 05:42:21 +00:00
parent b514a4b0a2
commit 059b396d97
4 changed files with 0 additions and 32 deletions

View File

@ -109,7 +109,6 @@ typedef struct
- (BOOL) ejectCardFlag;
- (void) setEjectCardFlag;
- (void) toggleEjectCard;
- (void) changeRomSaveType:(NSInteger)saveTypeID;
- (void) changeExecutionSpeed;

View File

@ -590,12 +590,6 @@ static BOOL isCoreStarted = NO;
return NO;
}
- (void) toggleEjectCard
{
NDS_ToggleCardEject();
[self setEjectCardFlag];
}
- (void) changeRomSaveType:(NSInteger)saveTypeID
{
pthread_mutex_lock(self.mutexCoreExecute);

View File

@ -144,7 +144,6 @@
- (IBAction) speedLimitDisable:(id)sender;
- (IBAction) toggleAutoFrameSkip:(id)sender;
- (IBAction) cheatsDisable:(id)sender;
- (IBAction) ejectCard:(id)sender;
- (IBAction) executeCoreToggle:(id)sender;
- (IBAction) resetCore:(id)sender;
- (IBAction) changeRomSaveType:(id)sender;

View File

@ -788,13 +788,6 @@
}
}
- (IBAction) ejectCard:(id)sender
{
CocoaDSCore *cdsCore = (CocoaDSCore *)[cdsCoreController content];
[cdsCore toggleEjectCard];
}
// View Menu
- (IBAction) changeCoreSpeed:(id)sender
@ -1529,23 +1522,6 @@
enable = NO;
}
}
else if (theAction == @selector(ejectCard:))
{
if (![self isRomLoaded])
{
enable = NO;
}
if ([cdsCore ejectCardFlag])
{
[(NSMenuItem*)theItem setState:NSOnState];
}
else
{
[(NSMenuItem*)theItem setState:NSOffState];
}
}
else if (theAction == @selector(_openRecentDocument:))
{
if ([self isShowingSaveStateSheet])