summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/windows
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-02-24 07:46:57 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-02-24 07:46:57 +0100
commit3abcaee63ff285514e8b51a60949c97a7dfa5304 (patch)
tree63e6be46c1932606689f9bfacc920d69cfc4b51f /src/osd/windows
parent0cbd8782119b140920097a2bee76f36aef014be9 (diff)
Cleanups and version bump
Diffstat (limited to 'src/osd/windows')
-rw-r--r--src/osd/windows/window.cpp16
-rw-r--r--src/osd/windows/winmain.cpp12
-rw-r--r--src/osd/windows/winmain.h4
3 files changed, 16 insertions, 16 deletions
diff --git a/src/osd/windows/window.cpp b/src/osd/windows/window.cpp
index 173ea376d7f..7006ec1c7b9 100644
--- a/src/osd/windows/window.cpp
+++ b/src/osd/windows/window.cpp
@@ -205,19 +205,19 @@ bool windows_osd_interface::window_init()
}
const int fallbacks[VIDEO_MODE_COUNT] = {
- -1, // NONE -> no fallback
- VIDEO_MODE_NONE, // GDI -> NONE
- VIDEO_MODE_D3D, // BGFX -> D3D
+ -1, // NONE -> no fallback
+ VIDEO_MODE_NONE, // GDI -> NONE
+ VIDEO_MODE_D3D, // BGFX -> D3D
#if (USE_OPENGL)
- VIDEO_MODE_GDI, // OPENGL -> GDI
+ VIDEO_MODE_GDI, // OPENGL -> GDI
#endif
- -1, // No SDL2ACCEL on Windows OSD
+ -1, // No SDL2ACCEL on Windows OSD
#if (USE_OPENGL)
- VIDEO_MODE_OPENGL, // D3D -> OPENGL
+ VIDEO_MODE_OPENGL, // D3D -> OPENGL
#else
- VIDEO_MODE_GDI, // D3D -> GDI
+ VIDEO_MODE_GDI, // D3D -> GDI
#endif
- -1 // No SOFT on Windows OSD
+ -1 // No SOFT on Windows OSD
};
int current_mode = video_config.mode;
diff --git a/src/osd/windows/winmain.cpp b/src/osd/windows/winmain.cpp
index 5a00fe13706..bd2e9c4b11e 100644
--- a/src/osd/windows/winmain.cpp
+++ b/src/osd/windows/winmain.cpp
@@ -280,12 +280,12 @@ const options_entry windows_options::s_option_entries[] =
{ WINOPTION_HWSTRETCH ";hws", "1", OPTION_BOOLEAN, "enables hardware stretching" },
// post-processing options
- { nullptr, nullptr, OPTION_HEADER, "DIRECT3D POST-PROCESSING OPTIONS" },
- { WINOPTION_HLSL_ENABLE";hlsl", "0", OPTION_BOOLEAN, "enables HLSL post-processing (PS3.0 required)" },
- { WINOPTION_HLSLPATH, "hlsl", OPTION_STRING, "path to hlsl files" },
- { WINOPTION_HLSL_PRESCALE_X, "0", OPTION_INTEGER, "HLSL pre-scale override factor for X (0 for auto)" },
- { WINOPTION_HLSL_PRESCALE_Y, "0", OPTION_INTEGER, "HLSL pre-scale override factor for Y (0 for auto)" },
- { WINOPTION_HLSL_WRITE, nullptr, OPTION_STRING, "enables HLSL AVI writing (huge disk bandwidth suggested)" },
+ { nullptr, nullptr, OPTION_HEADER, "DIRECT3D POST-PROCESSING OPTIONS" },
+ { WINOPTION_HLSL_ENABLE";hlsl", "0", OPTION_BOOLEAN, "enables HLSL post-processing (PS3.0 required)" },
+ { WINOPTION_HLSLPATH, "hlsl", OPTION_STRING, "path to hlsl files" },
+ { WINOPTION_HLSL_PRESCALE_X, "0", OPTION_INTEGER, "HLSL pre-scale override factor for X (0 for auto)" },
+ { WINOPTION_HLSL_PRESCALE_Y, "0", OPTION_INTEGER, "HLSL pre-scale override factor for Y (0 for auto)" },
+ { WINOPTION_HLSL_WRITE, nullptr, OPTION_STRING, "enables HLSL AVI writing (huge disk bandwidth suggested)" },
{ WINOPTION_HLSL_SNAP_WIDTH, "2048", OPTION_STRING, "HLSL upscaled-snapshot width" },
{ WINOPTION_HLSL_SNAP_HEIGHT, "1536", OPTION_STRING, "HLSL upscaled-snapshot height" },
{ WINOPTION_SHADOW_MASK_TILE_MODE, "0", OPTION_INTEGER, "shadow mask tile mode (0 for screen based, 1 for source based)" },
diff --git a/src/osd/windows/winmain.h b/src/osd/windows/winmain.h
index 7ca02a92844..952831f68bc 100644
--- a/src/osd/windows/winmain.h
+++ b/src/osd/windows/winmain.h
@@ -278,8 +278,8 @@ private:
void build_slider_list();
void update_slider_list();
- windows_options & m_options;
- slider_state * m_sliders;
+ windows_options & m_options;
+ slider_state * m_sliders;
static const int DEFAULT_FONT_HEIGHT = 200;
};