summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-11-06 17:18:38 -0500
committer AJR <ajrhacker@users.noreply.github.com>2018-11-06 17:18:38 -0500
commit103afb337b5f25d4031450566f3107ff0f14c733 (patch)
tree3c6c4c8ef91432869a2480f94cffc55af87f2258
parent489c6eaba005d75313354e0777e6e912dc701413 (diff)
ymmu100.cpp: Fix clang build[-Werror,-Wself-assign-field] (nw)
-rw-r--r--src/mame/drivers/ymmu100.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/ymmu100.cpp b/src/mame/drivers/ymmu100.cpp
index aa282e77cce..7f15344b31f 100644
--- a/src/mame/drivers/ymmu100.cpp
+++ b/src/mame/drivers/ymmu100.cpp
@@ -275,7 +275,7 @@ public:
switch(seq) {
case 0: push(0x90); logerror("swp30 midi keyon %d\n", note); timer.adjust(attotime::from_double(0.0005)); if(1) machine().debug_break(); break;
case 1: push(xnote[note]); timer.adjust(attotime::from_double(0.0005)); break;
- case 2: push(0x7f); timer.adjust(attotime::from_double(0.5)); seq = seq; break;
+ case 2: push(0x7f); timer.adjust(attotime::from_double(0.5)); break;
case 3: push(0x80); logerror("swp30 midi keyoff\n"); timer.adjust(attotime::from_double(0.0005)); if(0) machine().debug_break(); break;
case 4: push(xnote[note]); timer.adjust(attotime::from_double(0.0005)); ; if(note == 8) note = 0; break;
case 5: push(0x7f); timer.adjust(attotime::from_double(0.05)); seq=0; return;