mirror of https://github.com/snes9xgit/snes9x.git
fix improper declaration/assignment variables
This commit is contained in:
parent
e40fb0b334
commit
a9d993098c
|
@ -22,7 +22,7 @@
|
|||
#import <snes9x_framework/snes9x_framework.h>
|
||||
#import "S9xPreferences/S9xPreferencesWindowController.h"
|
||||
|
||||
static NSWindowFrameAutosaveName const kMainWindowIdentifier = @"s9xMainWindow";
|
||||
extern NSWindowFrameAutosaveName const kMainWindowIdentifier;
|
||||
|
||||
@interface AppDelegate : NSObject <NSApplicationDelegate, S9xInputDelegate>
|
||||
|
||||
|
|
|
@ -21,6 +21,8 @@
|
|||
#import <Carbon/Carbon.h>
|
||||
#import "AppDelegate.h"
|
||||
|
||||
NSWindowFrameAutosaveName const kMainWindowIdentifier = @"s9xMainWindow";
|
||||
|
||||
@implementation AppDelegate
|
||||
|
||||
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
|
||||
|
|
|
@ -22,12 +22,12 @@
|
|||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
static NSString * const kKeyboardPrefs = @"KeyboardConfig";
|
||||
static NSString * const kJoypadInputPrefs = @"JoypadInputs";
|
||||
static NSString * const kJoypadPlayerPrefs = @"JoypadPlayers";
|
||||
static NSString * const kShowFPSPref = @"ShowFPS";
|
||||
static NSString * const kVideoModePref = @"VideoMode";
|
||||
static NSString * const kMacFrameSkipPref = @"FrameSkip";
|
||||
extern NSString * const kKeyboardPrefs;
|
||||
extern NSString * const kJoypadInputPrefs;
|
||||
extern NSString * const kJoypadPlayerPrefs;
|
||||
extern NSString * const kShowFPSPref;
|
||||
extern NSString * const kVideoModePref;
|
||||
extern NSString * const kMacFrameSkipPref;
|
||||
|
||||
@interface S9xPreferencesWindowController : NSWindowController<S9xInputDelegate>
|
||||
@property (nonatomic, weak) IBOutlet NSTabView *tabView;
|
||||
|
|
|
@ -23,6 +23,13 @@
|
|||
#import "S9xPreferencesWindowController.h"
|
||||
#import "S9xButtonConfigTextField.h"
|
||||
|
||||
NSString * const kKeyboardPrefs = @"KeyboardConfig";
|
||||
NSString * const kJoypadInputPrefs = @"JoypadInputs";
|
||||
NSString * const kJoypadPlayerPrefs = @"JoypadPlayers";
|
||||
NSString * const kShowFPSPref = @"ShowFPS";
|
||||
NSString * const kVideoModePref = @"VideoMode";
|
||||
NSString * const kMacFrameSkipPref = @"FrameSkip";
|
||||
|
||||
@implementation S9xPreferencesWindowController
|
||||
@synthesize tabView, videoModePopup, showFPSCheckbox, devicePopUp, playerPopUp, macFrameSkipTextField, macFrameSkipStepper, macFrameSkipAutomaticButton, configTextFields;
|
||||
|
||||
|
|
Loading…
Reference in New Issue