diff options
| author | 2025-06-21 14:27:46 +0200 | |
|---|---|---|
| committer | 2025-06-21 14:28:26 +0200 | |
| commit | 103ea6a59495a9dfc9040ddcbcab7619876b7db6 (patch) | |
| tree | c5e64a9475cf693489e8f9df66058df98634a484 | |
| parent | ad6b93869e97d13e31ac8c3965b05981734355da (diff) | |
sound: correct dreadful typo that killed stereo
| -rw-r--r-- | src/emu/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/sound.cpp b/src/emu/sound.cpp index bd6e4e15364..b65285fc67d 100644 --- a/src/emu/sound.cpp +++ b/src/emu/sound.cpp @@ -2001,7 +2001,7 @@ std::vector<u32> sound_manager::find_channel_mapping(const osd::channel_position double best_dist = -1; for(u32 port = 0; port != node->m_port_positions.size(); port++) if(!node->m_port_positions[port].is_onreq() && !node->m_port_positions[port].is_lfe()) { - double dx = pos.m_x - node->m_port_positions[port].m_z; + double dx = pos.m_x - node->m_port_positions[port].m_x; double dy = pos.m_y - node->m_port_positions[port].m_y; double dz = pos.m_z - node->m_port_positions[port].m_z; double dist = dx*dx + dy*dy + dz*dz; |
