diff options
author | 0kmg <9137159+0kmg@users.noreply.github.com> | 2022-05-21 12:54:10 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-22 06:54:10 +1000 |
commit | 52080d979a78129cd8061e2f4ae7a9e19b2ac53f (patch) | |
tree | 8663a907e44d873b8b9b5978c741f34061c1acec /src/osd/modules | |
parent | 9b571e77a5dbee2e528d68debc08750e227e7105 (diff) |
Removed superfluous semicolons from various source files. (#9796)
Diffstat (limited to 'src/osd/modules')
-rw-r--r-- | src/osd/modules/osdwindow.h | 2 | ||||
-rw-r--r-- | src/osd/modules/render/bgfx/shaders/chains/crt-geom/vs_gaussx.sc | 2 | ||||
-rw-r--r-- | src/osd/modules/render/d3d/d3dhlsl.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/osd/modules/osdwindow.h b/src/osd/modules/osdwindow.h index e4b5db78f24..9cd05c29d17 100644 --- a/src/osd/modules/osdwindow.h +++ b/src/osd/modules/osdwindow.h @@ -225,7 +225,7 @@ public: virtual void add_audio_to_recording(const int16_t *buffer, int samples_this_frame) { } virtual std::vector<ui::menu_item> get_slider_list() { return m_sliders; } virtual int draw(const int update) = 0; - virtual int xy_to_render_target(const int x, const int y, int *xt, int *yt) { return 0; }; + virtual int xy_to_render_target(const int x, const int y, int *xt, int *yt) { return 0; } virtual void save() { } virtual void record() { } virtual void toggle_fsfx() { } diff --git a/src/osd/modules/render/bgfx/shaders/chains/crt-geom/vs_gaussx.sc b/src/osd/modules/render/bgfx/shaders/chains/crt-geom/vs_gaussx.sc index 4bd5a57e3ef..c91a8948bf1 100644 --- a/src/osd/modules/render/bgfx/shaders/chains/crt-geom/vs_gaussx.sc +++ b/src/osd/modules/render/bgfx/shaders/chains/crt-geom/vs_gaussx.sc @@ -9,7 +9,7 @@ uniform vec4 u_aspect; void main() { - float wid = u_width.x*u_tex_size0.x/(320.*u_aspect.x);; + float wid = u_width.x*u_tex_size0.x/(320.*u_aspect.x); v_coeffs = exp(vec4(1.,4.,9.,16.)*vec4_splat(-1.0/wid/wid)); // Do the standard vertex processing. diff --git a/src/osd/modules/render/d3d/d3dhlsl.cpp b/src/osd/modules/render/d3d/d3dhlsl.cpp index 35ace744eb3..22a6b5af508 100644 --- a/src/osd/modules/render/d3d/d3dhlsl.cpp +++ b/src/osd/modules/render/d3d/d3dhlsl.cpp @@ -2319,7 +2319,7 @@ void shaders::init_slider_list() } internal_sliders.clear(); - const screen_device *first_screen = screen_device_enumerator(machine->root_device()).first();; + const screen_device *first_screen = screen_device_enumerator(machine->root_device()).first(); if (first_screen == nullptr) { return; |