Skip to content

Commit

Permalink
Fixed a bug in the SMC_VERSION_STR register
Browse files Browse the repository at this point in the history
Thank to RadWolfie
  • Loading branch information
ergo720 committed Aug 23, 2024
1 parent 2a99ce5 commit 5a3b407
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hw/smc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ smc::read_byte(uint8_t command)
{
case SMC_VERSION_STR:
value = m_version[m_version_idx];
m_version_idx = (m_version_idx + 1) % 3;
break;

case SMC_TRAY_STATE:
Expand Down

0 comments on commit 5a3b407

Please sign in to comment.