mirror of
https://github.com/libretro/RetroArch
synced 2025-04-15 14:42:27 +00:00
Fix 'inconsistent instance variable specification' error for OSX 10.5 / Xcode 3.1.4
This commit is contained in:
parent
9663e4b4f1
commit
8776c79a60
@ -333,21 +333,22 @@ static ui_application_t ui_application_cocoa = {
|
||||
};
|
||||
|
||||
@interface CommandPerformer : NSObject
|
||||
@end // @interface CommandPerformer
|
||||
|
||||
@implementation CommandPerformer {
|
||||
{
|
||||
void *data;
|
||||
enum event_command cmd;
|
||||
}
|
||||
@end // @interface CommandPerformer
|
||||
|
||||
- (id)initWithData:(void *)data command:(enum event_command)cmd
|
||||
@implementation CommandPerformer
|
||||
|
||||
- (id)initWithData:(void *)userdata command:(enum event_command)command
|
||||
{
|
||||
self = [super init];
|
||||
if (!self)
|
||||
return self;
|
||||
|
||||
self->data = data;
|
||||
self->cmd = cmd;
|
||||
self->data = userdata;
|
||||
self->cmd = command;
|
||||
|
||||
return self;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user