summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/sound.lua
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2023-07-12 07:33:52 +1000
committer Vas Crabb <vas@vastheman.com>2023-07-12 07:33:52 +1000
commit6e2d6cd2c56c946b23cefbbb2ab6ac9c9b91a27b (patch)
tree15a305c97f06e9affe5b558e6292670de4d59c1e /scripts/src/sound.lua
parent325f206fa50b7f444dffa02f3d066f7250f93a88 (diff)
Revert "Clean up the Votrax SC-01[-A] class names and device names. [Lord Nightmare]"
Names in the global namespace need to be specific. Making them overly generic is a very bad idea, and leads to confusion and conflicts. Device type names must always be in the global namespace, and most device classes are in the global namespace. Changing members like m_votrax to m_sc01 doesn't help understand the code. If there's only one Votrax speech module in the system, it's obvious what it is. This reverts commit c6f0e83ecfb97c298ffcf16e136496054a88b1ca.
Diffstat (limited to 'scripts/src/sound.lua')
-rw-r--r--scripts/src/sound.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua
index feba44c426b..59ebe104b2e 100644
--- a/scripts/src/sound.lua
+++ b/scripts/src/sound.lua
@@ -1122,11 +1122,11 @@ end
---------------------------------------------------
-- Votrax SC-01[-A] speech synthesizer
---@src/devices/sound/votrax.h,SOUNDS["SC01"] = true
---@src/devices/sound/votrax.h,SOUNDS["SC01A"] = true
+--@src/devices/sound/votrax.h,SOUNDS["VOTRAX_SC01"] = true
+--@src/devices/sound/votrax.h,SOUNDS["VOTRAX_SC01A"] = true
---------------------------------------------------
-if (SOUNDS["SC01"]~=null or SOUNDS["SC01A"]~=null) then
+if (SOUNDS["VOTRAX_SC01"]~=null or SOUNDS["VOTRAX_SC01A"]~=null) then
files {
MAME_DIR .. "src/devices/sound/votrax.cpp",
MAME_DIR .. "src/devices/sound/votrax.h",