Skip to content

Commit 3c3975b

Browse files
committed
dsp563xx: Fix regression in determining operating mode
1 parent 0af0c82 commit 3c3975b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/devices/cpu/dsp563xx/dsp56303.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void dsp56303_device::device_start()
2626

2727
u32 dsp56303_device::get_reset_vector() const
2828
{
29-
return (m_omr & 15) == 0 ? 0xc00000 : (m_omr & 15) ? 0x008000 : 0xff0000;
29+
return (m_omr & 15) == 0 ? 0xc00000 : (m_omr & 15) == 8 ? 0x008000 : 0xff0000;
3030
}
3131

3232
void dsp56303_device::device_reset()

src/devices/cpu/dsp563xx/dsp56311.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void dsp56311_device::device_start()
2626

2727
u32 dsp56311_device::get_reset_vector() const
2828
{
29-
return (m_omr & 15) == 0 ? 0xc00000 : (m_omr & 15) ? 0x008000 : 0xff0000;
29+
return (m_omr & 15) == 0 ? 0xc00000 : (m_omr & 15) == 8 ? 0x008000 : 0xff0000;
3030
}
3131

3232
void dsp56311_device::device_reset()

src/devices/cpu/dsp563xx/dsp56362.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void dsp56362_device::device_start()
2626

2727
u32 dsp56362_device::get_reset_vector() const
2828
{
29-
return (m_omr & 15) == 0 ? 0xc00000 : (m_omr & 15) ? 0x008000 : 0xff0000;
29+
return (m_omr & 15) == 0 ? 0xc00000 : (m_omr & 15) == 8 ? 0x008000 : 0xff0000;
3030
}
3131

3232
void dsp56362_device::device_reset()

src/devices/cpu/dsp563xx/dsp56364.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ void dsp56364_device::device_start()
2727
u32 dsp56364_device::get_reset_vector() const
2828
{
2929
// Technically, modes 0 and 8 are undocumented and unknown
30-
return (m_omr & 15) == 0 ? 0xc00000 : (m_omr & 15) ? 0x008000 : 0xff0000;
30+
return (m_omr & 15) == 0 ? 0xc00000 : (m_omr & 15) == 8 ? 0x008000 : 0xff0000;
3131
}
3232

3333
void dsp56364_device::device_reset()

0 commit comments

Comments
 (0)