mirror of
https://github.com/libretro/RetroArch
synced 2025-04-15 23:42:30 +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
|
@interface CommandPerformer : NSObject
|
||||||
@end // @interface CommandPerformer
|
{
|
||||||
|
|
||||||
@implementation CommandPerformer {
|
|
||||||
void *data;
|
void *data;
|
||||||
enum event_command cmd;
|
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];
|
self = [super init];
|
||||||
if (!self)
|
if (!self)
|
||||||
return self;
|
return self;
|
||||||
|
|
||||||
self->data = data;
|
self->data = userdata;
|
||||||
self->cmd = cmd;
|
self->cmd = command;
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user