diff options
author | 2016-11-11 18:49:32 +0100 | |
---|---|---|
committer | 2016-11-11 18:50:14 +0100 | |
commit | c0407f073bf7afe26407c4add5cfeaf7104913c9 (patch) | |
tree | 63aa5f4959bf71697bb02e25c9f3ef3ca2c3c761 /src/emu/video | |
parent | cef6cd4a25b30e17d5def7871fa734b878b6f35a (diff) |
Added IS_ENABLED, so we have compiler check for non used part, it is checked but not compiled in (nw)
false and true now used instead of integer where used as bool
Diffstat (limited to 'src/emu/video')
-rw-r--r-- | src/emu/video/resnet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/video/resnet.cpp b/src/emu/video/resnet.cpp index 1b467d016c4..8213b15e0e9 100644 --- a/src/emu/video/resnet.cpp +++ b/src/emu/video/resnet.cpp @@ -201,7 +201,7 @@ double compute_resistor_weights( } /* debug code */ -if (VERBOSE) +if (IS_ENABLED(VERBOSE)) { osd_printf_info("compute_resistor_weights(): scaler = %15.10f\n",scale); osd_printf_info("min val :%i max val:%i Total number of networks :%i\n", minval, maxval, networks_no ); @@ -391,7 +391,7 @@ double compute_resistor_net_outputs( } /* debug code */ -if (VERBOSE) +if (IS_ENABLED(VERBOSE)) { osd_printf_info("compute_resistor_net_outputs(): scaler = %15.10f\n",scale); osd_printf_info("min val :%i max val:%i Total number of networks :%i\n", minval, maxval, networks_no ); |