summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2018-03-13 18:11:14 +1100
committer Robbbert <Robbbert@users.noreply.github.com>2018-03-13 18:11:14 +1100
commitc66bfa88bf54ab25447b6f48cd96f4206ae760dd (patch)
treeab39bb68f5b103883dbe576250b7e7520a8c3de7 /src
parent6909c7a0de2264c67f066c9b0e9dec75d0150459 (diff)
(nw) Fixed the build (variables set but not used)
Diffstat (limited to 'src')
-rw-r--r--src/devices/machine/68230pit.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/machine/68230pit.cpp b/src/devices/machine/68230pit.cpp
index ca9ccc8ca63..4fb2c0ee2a9 100644
--- a/src/devices/machine/68230pit.cpp
+++ b/src/devices/machine/68230pit.cpp
@@ -629,13 +629,13 @@ TCR bit 0 - Timer Enable
*/
void pit68230_device::wr_pitreg_tcr(uint8_t data)
{
- int tout = 0;
- int tiack = 0;
- int irq = 0;
+ //int tout = 0;
+ //int tiack = 0;
+ //int irq = 0;
int psc = 0;
int clk = 0;
int pen = 0;
- int sqr = 0;
+ //int sqr = 0;
LOG("%s(%02x) %s\n", FUNCNAME, data, tag());
m_tcr = data;
@@ -644,11 +644,11 @@ void pit68230_device::wr_pitreg_tcr(uint8_t data)
case REG_TCR_PC3_PC7:
case REG_TCR_PC3_PC7_DC: LOG("- PC3 and PC7 used as I/O pins\n"); break;
case REG_TCR_TOUT_PC7_SQ:
- case REG_TCR_TOUT_PC7_SQ_DC: LOG("- PC3 used as SQuare wave TOUT and PC7 used as I/O pin - not implemented yet\n"); sqr = 1; break;
- case REG_TCR_TOUT_TIACK: LOG("- PC3 used as TOUT and PC7 used as TIACK - not implemented yet\n"); tout = 1; tiack = 1; break;
- case REG_TCR_TOUT_TIACK_INT: LOG("- PC3 used as TOUT and PC7 used as TIACK, Interrupts enabled\n"); tout = 1; tiack = 1; irq = 1; break;
+ case REG_TCR_TOUT_PC7_SQ_DC: LOG("- PC3 used as SQuare wave TOUT and PC7 used as I/O pin - not implemented yet\n"); /* sqr = 1; */ break;
+ case REG_TCR_TOUT_TIACK: LOG("- PC3 used as TOUT and PC7 used as TIACK - not implemented yet\n"); /*tout = 1; tiack = 1;*/ break;
+ case REG_TCR_TOUT_TIACK_INT: LOG("- PC3 used as TOUT and PC7 used as TIACK, Interrupts enabled\n"); /*tout = 1; tiack = 1; irq = 1;*/ break;
case REG_TCR_TOUT_PC7: LOG("- PC3 used as TOUT and PC7 used as I/O pin - not implemented yet\n"); break;
- case REG_TCR_TOUT_PC7_INT: LOG("- PC3 used as TOUT and PC7 used as I/O pin, Interrupts enabled\n"); tout = 1; irq = 1; break;
+ case REG_TCR_TOUT_PC7_INT: LOG("- PC3 used as TOUT and PC7 used as I/O pin, Interrupts enabled\n"); /*tout = 1; irq = 1; */ break;
}
switch (m_tcr & REG_TCR_CC_MASK)