Cocoa Port:
- Remove code for Eject Card functionality. (Function is currently unimplemented, and has been obsoleted in r4392.)
This commit is contained in:
parent
b514a4b0a2
commit
059b396d97
|
@ -109,7 +109,6 @@ typedef struct
|
|||
|
||||
- (BOOL) ejectCardFlag;
|
||||
- (void) setEjectCardFlag;
|
||||
- (void) toggleEjectCard;
|
||||
|
||||
- (void) changeRomSaveType:(NSInteger)saveTypeID;
|
||||
- (void) changeExecutionSpeed;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue