Skip to content

Commit

Permalink
cleanup and minor switch adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Hydr8gon committed Dec 22, 2018
1 parent c648b19 commit 852afbb
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 123 deletions.
8 changes: 0 additions & 8 deletions src/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ namespace Config

const char* kConfigFile = "melonDS.ini";

#ifndef __SWITCH__
int KeyMapping[12];
int JoyMapping[12];

Expand All @@ -40,7 +39,6 @@ int HKJoyMapping[HK_MAX];

int WindowWidth;
int WindowHeight;
#endif

int ScreenRotation;
int ScreenGap;
Expand All @@ -54,23 +52,17 @@ int DirectBoot;

int Threaded3D;

#ifndef __SWITCH__
int SocketBindAnyAddr;
#endif

int SavestateRelocSRAM;

int AudioVolume;
int MicInputType;
#ifndef __SWITCH__0
char MicWavPath[512];
#endif

char LastROMFolder[512];

#ifdef __SWITCH__
int SwitchOverclock;
#endif

typedef struct
{
Expand Down
8 changes: 0 additions & 8 deletions src/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ bool HasConfigFile(const char* fileName);
void Load();
void Save();

#ifndef __SWITCH__
extern int KeyMapping[12];
extern int JoyMapping[12];

Expand All @@ -45,7 +44,6 @@ extern int HKJoyMapping[HK_MAX];

extern int WindowWidth;
extern int WindowHeight;
#endif

extern int ScreenRotation;
extern int ScreenGap;
Expand All @@ -59,23 +57,17 @@ extern int DirectBoot;

extern int Threaded3D;

#ifndef __SWITCH__
extern int SocketBindAnyAddr;
#endif

extern int SavestateRelocSRAM;

extern int AudioVolume;
extern int MicInputType;
#ifndef __SWITCH__
extern char MicWavPath[512];
#endif

extern char LastROMFolder[512];

#ifdef __SWITCH__
extern int SwitchOverclock;
#endif

}

Expand Down
Loading

0 comments on commit 852afbb

Please sign in to comment.