summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/lib/osdobj_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/lib/osdobj_common.h')
-rw-r--r--src/osd/modules/lib/osdobj_common.h22
1 files changed, 19 insertions, 3 deletions
diff --git a/src/osd/modules/lib/osdobj_common.h b/src/osd/modules/lib/osdobj_common.h
index a2418cfc8b7..231112a5b78 100644
--- a/src/osd/modules/lib/osdobj_common.h
+++ b/src/osd/modules/lib/osdobj_common.h
@@ -37,7 +37,6 @@
#define OSDOPTION_DEBUGGER_FONT_SIZE "debugger_font_size"
#define OSDOPTION_WATCHDOG "watchdog"
-#define OSDOPTION_MULTITHREADING "multithreading"
#define OSDOPTION_NUMPROCESSORS "numprocessors"
#define OSDOPTION_BENCH "bench"
@@ -76,7 +75,13 @@
#define OSDOPTVAL_AUTO "auto"
#define OSDOPTVAL_NONE "none"
-
+#define OSDOPTION_BGFX_PATH "bgfx_path"
+#define OSDOPTION_BGFX_BACKEND "bgfx_backend"
+#define OSDOPTION_BGFX_DEBUG "bgfx_debug"
+#define OSDOPTION_BGFX_SCREEN_CHAINS "bgfx_screen_chains"
+#define OSDOPTION_BGFX_SHADOW_MASK "bgfx_shadow_mask"
+#define OSDOPTION_BGFX_PRESCALE_X "bgfx_prescale_x"
+#define OSDOPTION_BGFX_PRESCALE_Y "bgfx_prescale_y"
//============================================================
// TYPE DEFINITIONS
@@ -98,7 +103,6 @@ public:
int watchdog() const { return int_value(OSDOPTION_WATCHDOG); }
// performance options
- bool multithreading() const { return bool_value(OSDOPTION_MULTITHREADING); }
const char *numprocessors() const { return value(OSDOPTION_NUMPROCESSORS); }
int bench() const { return int_value(OSDOPTION_BENCH); }
@@ -145,6 +149,15 @@ public:
const char *audio_output() const { return value(OSDOPTION_AUDIO_OUTPUT); }
const char *audio_effect(int index) const { return value(string_format("%s%d", OSDOPTION_AUDIO_EFFECT, index).c_str()); }
+ // BGFX specific options
+ const char *bgfx_path() const { return value(OSDOPTION_BGFX_PATH); }
+ const char *bgfx_backend() const { return value(OSDOPTION_BGFX_BACKEND); }
+ const bool bgfx_debug() const { return bool_value(OSDOPTION_BGFX_DEBUG); }
+ const char *bgfx_screen_chains() const { return value(OSDOPTION_BGFX_SCREEN_CHAINS); }
+ const char *bgfx_shadow_mask() const { return value(OSDOPTION_BGFX_SHADOW_MASK); }
+ const uint32_t bgfx_prescale_x() const { return int_value(OSDOPTION_BGFX_PRESCALE_X); }
+ const uint32_t bgfx_prescale_y() const { return int_value(OSDOPTION_BGFX_PRESCALE_Y); }
+
private:
static const options_entry s_option_entries[];
};
@@ -227,6 +240,9 @@ protected:
virtual bool input_init();
virtual void input_pause();
+ virtual void build_slider_list() { }
+ virtual void update_slider_list() { }
+
private:
// internal state
running_machine * m_machine;