diff --git a/core/src/bms/player/beatoraja/Config.java b/core/src/bms/player/beatoraja/Config.java index 9353927a..f20feedf 100644 --- a/core/src/bms/player/beatoraja/Config.java +++ b/core/src/bms/player/beatoraja/Config.java @@ -214,6 +214,8 @@ public class Config implements Validatable { private HashMap obsScenes = new HashMap<>(); private HashMap obsActions = new HashMap<>(); + private boolean keepSilentWhenRenderFailed = false; + /** * Bank of available tables * @@ -826,7 +828,15 @@ public void setObsAction(String stateName, String actionName) { } } - public boolean validate() { + public boolean isKeepSilentWhenRenderFailed() { + return keepSilentWhenRenderFailed; + } + + public void setKeepSilentWhenRenderFailed(boolean keepSilentWhenRenderFailed) { + this.keepSilentWhenRenderFailed = keepSilentWhenRenderFailed; + } + + public boolean validate() { displaymode = (displaymode != null) ? displaymode : DisplayMode.WINDOW; resolution = (resolution != null) ? resolution : Resolution.HD; diff --git a/core/src/bms/player/beatoraja/launcher/PlayConfigurationView.fxml b/core/src/bms/player/beatoraja/launcher/PlayConfigurationView.fxml index d9b6b93e..0116704d 100644 --- a/core/src/bms/player/beatoraja/launcher/PlayConfigurationView.fxml +++ b/core/src/bms/player/beatoraja/launcher/PlayConfigurationView.fxml @@ -403,6 +403,7 @@ +