summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/nes_defs.h
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2013-11-06 15:44:00 +0000
committer Ivan Vangelista <mesgnet@yahoo.it>2013-11-06 15:44:00 +0000
commit71d5693f2427666f9cea379ddde46b450771d734 (patch)
tree96d52cfdbaca048067c49160e747800c37d3161b /src/emu/sound/nes_defs.h
parent6ad3abb55ca6ee8d28daa624fce5ff724c396229 (diff)
Fix compiling problems. (nw)
Diffstat (limited to 'src/emu/sound/nes_defs.h')
-rw-r--r--src/emu/sound/nes_defs.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/emu/sound/nes_defs.h b/src/emu/sound/nes_defs.h
index 8490ee602b0..652297872da 100644
--- a/src/emu/sound/nes_defs.h
+++ b/src/emu/sound/nes_defs.h
@@ -100,10 +100,10 @@ struct square_t
}
vbl_length =0;
freq = 0;
- phaseacc = 0.0d;
- output_vol = 0.0d;
- env_phase = 0.0d;
- sweep_phase = 0.0d;
+ phaseacc = 0.0;
+ output_vol = 0.0;
+ env_phase = 0.0;
+ sweep_phase = 0.0;
adder = 0;
env_vol = 0;
enabled = false;
@@ -133,8 +133,8 @@ struct triangle_t
linear_length =0;
vbl_length =0;
write_latency = 0;
- phaseacc = 0.0d;
- output_vol = 0.0d;
+ phaseacc = 0.0;
+ output_vol = 0.0;
adder = 0;
counter_started = false;
enabled = false;
@@ -162,9 +162,9 @@ struct noise_t
}
cur_pos =0;
vbl_length =0;
- phaseacc = 0.0d;
- output_vol = 0.0d;
- env_phase = 0.0d;
+ phaseacc = 0.0;
+ output_vol = 0.0;
+ env_phase = 0.0;
env_vol = 0;
enabled = false;
}
@@ -191,13 +191,13 @@ struct dpcm_t
address = 0;
length = 0;
bits_left = 0;
- phaseacc = 0.0d;
- output_vol = 0.0d;
+ phaseacc = 0.0;
+ output_vol = 0.0;
cur_byte = 0;
enabled = false;
irq_occurred = false;
memory = NULL;
- vol = '\u0000';
+ vol = NULL;
}
uint8 regs[4];