mirror of
https://github.com/developersu/ns-usbloader.git
synced 2025-05-13 14:44:48 -04:00
v0.8 GoldLeaf v0.5 support. Optional. Updated since v0.5.2.
This commit is contained in:
parent
1d0a6086de
commit
bdb91b0e0a
13 changed files with 614 additions and 9 deletions
|
@ -26,7 +26,8 @@ public class AppPreferences {
|
|||
String HostExtra,
|
||||
boolean autoCheck4Updates,
|
||||
boolean tinfoilXciSupport,
|
||||
boolean nspFileFilterForGl
|
||||
boolean nspFileFilterForGl,
|
||||
String useOldGlVersion
|
||||
){
|
||||
setProtocol(Protocol);
|
||||
setRecent(PreviouslyOpened);
|
||||
|
@ -43,6 +44,7 @@ public class AppPreferences {
|
|||
setAutoCheckUpdates(autoCheck4Updates);
|
||||
setTfXCI(tinfoilXciSupport);
|
||||
setNspFileFilterGL(nspFileFilterForGl);
|
||||
setUseOldGlVersion(useOldGlVersion);
|
||||
}
|
||||
public String getTheme(){
|
||||
String theme = preferences.get("THEME", "/res/app_dark.css"); // Don't let user to change settings manually
|
||||
|
@ -114,4 +116,7 @@ public class AppPreferences {
|
|||
|
||||
public boolean getNspFileFilterGL(){return preferences.getBoolean("GL_NSP_FILTER", false); }
|
||||
public void setNspFileFilterGL(boolean prop){preferences.putBoolean("GL_NSP_FILTER", prop);}
|
||||
|
||||
public String getUseOldGlVersion(){ return preferences.get("OldGlVersion", ""); }
|
||||
public void setUseOldGlVersion(String version){ preferences.put("OldGlVersion", version);}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue