diff options
author | smf- <smf-@users.noreply.github.com> | 2018-04-12 07:45:15 +0100 |
---|---|---|
committer | smf- <smf-@users.noreply.github.com> | 2018-04-12 07:45:39 +0100 |
commit | cfcbccbbd06a3f1f04a6223e420d4da8971439ee (patch) | |
tree | a6b42c13ededdec484c20c4bab29a8b01f8e39f6 | |
parent | 4949b8362637abd6c1ccbbc24d18e00d4855730b (diff) |
fixed building with Visual Studio (nw)
-rw-r--r-- | src/mame/drivers/model2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/model2.cpp b/src/mame/drivers/model2.cpp index cbe9e922190..53787d0c878 100644 --- a/src/mame/drivers/model2.cpp +++ b/src/mame/drivers/model2.cpp @@ -1453,7 +1453,7 @@ READ8_MEMBER( model2_state::lightgun_coords_r ) READ8_MEMBER( model2_state::lightgun_offscreen_r ) { // 5 percent border size - const float BORDER_SIZE = 0.05; + const float BORDER_SIZE = 0.05f; // calculate width depending on min/max port value const int BORDER_P1X = (m_lightgun_ports[1]->field(0x3ff)->maxval() - m_lightgun_ports[1]->field(0x3ff)->minval()) * BORDER_SIZE; |