Skip to content

Commit

Permalink
Fix a warning in mupen coreoptions
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Mattiello <[email protected]>
  • Loading branch information
JoeMatt committed Dec 24, 2021
1 parent e69ded8 commit c73b76a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Cores/Mednafen/MednafenGameCore.mm
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ @interface MednafenGameCore () <PVPSXSystemResponderClient, PVWonderSwanSystemRe
static __weak MednafenGameCore *_current;

@implementation MednafenGameCore
@dynamic mednafen_pceFast;
@dynamic mednafen_snesFast;

-(uint32_t*) getInputBuffer:(int)bufferId
{
Expand Down
4 changes: 2 additions & 2 deletions Cores/Mednafen/MednafenGameCore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,6 @@ extension MednafenGameCore: CoreOptional {
}

@objc public extension MednafenGameCore {
@objc var mednafen_pceFast: Bool { MednafenGameCore.valueForOption(MednafenGameCore.pceFastOption).asBool }
@objc var mednafen_snesFast: Bool { MednafenGameCore.valueForOption(MednafenGameCore.snesFastOption).asBool }
@objc(mednafen_pceFast) var mednafen_pceFast: Bool { MednafenGameCore.valueForOption(MednafenGameCore.pceFastOption).asBool }
@objc(mednafen_snesFast) var mednafen_snesFast: Bool { MednafenGameCore.valueForOption(MednafenGameCore.snesFastOption).asBool }
}

0 comments on commit c73b76a

Please sign in to comment.