here ya go :) (nw)

This commit is contained in:
Miodrag Milanovic 2014-03-31 12:00:06 +00:00
parent f7f10b0e67
commit c43e09d4ae
4 changed files with 6 additions and 6 deletions

View File

@ -76,7 +76,7 @@ WRITE8_MEMBER(h8_adc_device::adcr_w)
WRITE_LINE_MEMBER(h8_adc_device::adtrg_w)
{
if((bool)state != adtrg) {
if(state != adtrg) {
adtrg = state;
if(!adtrg && (trigger & T_EXT) && !(adcsr & F_ADST)) {
adcsr |= F_ADST;

View File

@ -279,8 +279,8 @@ WRITE_LINE_MEMBER(h8_sci_device::rx_w)
WRITE_LINE_MEMBER(h8_sci_device::clk_w)
{
if(ext_clock_value != (bool)state) {
ext_clock_value = (bool)state;
if(ext_clock_value != state) {
ext_clock_value = state;
if(clock_state) {
switch(clock_mode) {
case CLKM_EXTERNAL_ASYNC:

View File

@ -146,8 +146,8 @@ protected:
int eri_int, rxi_int, txi_int, tei_int;
int tx_state, rx_state, tx_bit, rx_bit, clock_state, clock_mode, tx_parity, ext_clock_counter;
bool clock_value, ext_clock_value, rx_value, rx_parity;
int tx_state, rx_state, tx_bit, rx_bit, clock_state, clock_mode, tx_parity, rx_parity, ext_clock_counter;
bool clock_value, ext_clock_value, rx_value;
UINT8 rdr, tdr, smr, scr, ssr, brr, rsr, tsr;
UINT64 clock_base, divider;

View File

@ -68,7 +68,7 @@ static const translation_info gcc_translate[] =
{ 0, "-fomit-frame-pointer", "" },
{ 0, "-Werror", "/WX" },
//{ VS7, "-Wall", "/Wall /W3 /wd4003 /wd4018 /wd4146 /wd4242 /wd4244 /wd4619 /wd4702 /wd4706 /wd4710 /wd4711 /wd4738 /wd4826" },
{ VS7, "-Wall", "/Wall /W4 /wd4003 /wd4018 /wd4146 /wd4242 /wd4244 /wd4619 /wd4702 /wd4706 /wd4710 /wd4711 /wd4738 /wd4826 /wd4820 /wd4514 /wd4668 /wd4127 /wd4625 /wd4626 /wd4512 /wd4100 /wd4310 /wd4571 /wd4061 /wd4131 /wd4255 /wd4510 /wd4610 /wd4505 /wd4324 /wd4611 /wd4201 /wd4189 /wd4296 /wd4986 /wd4347 /wd4987 /wd4250 /wd4435 /wd4150" },
{ VS7, "-Wall", "/Wall /W4 /wd4003 /wd4018 /wd4146 /wd4242 /wd4244 /wd4619 /wd4702 /wd4706 /wd4710 /wd4711 /wd4738 /wd4826 /wd4820 /wd4514 /wd4668 /wd4127 /wd4625 /wd4626 /wd4512 /wd4100 /wd4310 /wd4571 /wd4061 /wd4131 /wd4255 /wd4510 /wd4610 /wd4505 /wd4324 /wd4611 /wd4201 /wd4189 /wd4296 /wd4986 /wd4347 /wd4987 /wd4250 /wd4435 /wd4150 /wd4805" },
{ 0, "-Wall", "/W0" },
{ VS7, "-Wno-unused", "/wd4100 /wd4101 /wd4102 /wd4505" },
{ 0, "-Wno-sign-compare", "/wd4365 /wd4389 /wd4245 /wd4388" },