Skip to content

Commit

Permalink
Fixed missing tray state initialization in the smc
Browse files Browse the repository at this point in the history
  • Loading branch information
ergo720 committed Aug 21, 2024
1 parent b5ac45e commit 2a99ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hw/smc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ bool
smc::init()
{
reset();
m_regs[SMC_TRAY_STATE] = SMC_TRAY_STATE_MEDIA_DETECT; // TODO: should change state when the user boots new XBEs/XISOs from the gui
m_tray_state = SMC_TRAY_STATE_MEDIA_DETECT; // TODO: should change state when the user boots new XBEs/XISOs from the gui
m_regs[SMC_VIDEO_MODE] = SMC_VIDEO_MODE_HDTV; // TODO: make configurable

return true;
Expand Down

0 comments on commit 2a99ce5

Please sign in to comment.