mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
MacOS buildfix
This commit is contained in:
parent
12bd0ed26d
commit
0b6e877ac0
@ -24,8 +24,8 @@ extern "C" {
|
||||
+(instancetype)sharedInstance;
|
||||
-(void)setupAppBarItems;
|
||||
@property (assign) NSMenu *openMenu;
|
||||
@property (assign) I18NCategory *mainSettingsLocalization;
|
||||
@property (assign) I18NCategory *graphicsLocalization;
|
||||
@property (assign) std::shared_ptr<I18NCategory> mainSettingsLocalization;
|
||||
@property (assign) std::shared_ptr<I18NCategory> graphicsLocalization;
|
||||
@end
|
||||
|
||||
void initBarItemsForApp() {
|
||||
@ -106,7 +106,7 @@ void initBarItemsForApp() {
|
||||
}
|
||||
}
|
||||
|
||||
-(NSString *)localizedString: (const char *)key category: (I18NCategory *)cat {
|
||||
-(NSString *)localizedString: (const char *)key category: (std::shared_ptr<I18NCategory>)cat {
|
||||
return @(self.mainSettingsLocalization->T(key));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user