diff --git a/src/osdep/gui/PanelFloppy.cpp b/src/osdep/gui/PanelFloppy.cpp index c9b8b3ec..2d30e1c1 100644 --- a/src/osdep/gui/PanelFloppy.cpp +++ b/src/osdep/gui/PanelFloppy.cpp @@ -135,7 +135,7 @@ public: //--------------------------------------- // Write-protect changed //--------------------------------------- - // ToDo: set write protect for floppy + disk_setwriteprotect(&changed_prefs, i, changed_prefs.floppyslots[i].df, chkDFxWriteProtect[i]->isSelected()); } } } @@ -384,7 +384,7 @@ void InitPanelFloppy(const struct _ConfigCategory& category) chkDFxWriteProtect[i] = new gcn::UaeCheckBox("Write-protected"); chkDFxWriteProtect[i]->addActionListener(dfxCheckActionListener); - chkDFxWriteProtect[i]->setEnabled(false); + //chkDFxWriteProtect[i]->setEnabled(false); cmdDFxInfo[i] = new gcn::Button("?"); cmdDFxInfo[i]->setSize(SMALL_BUTTON_WIDTH, SMALL_BUTTON_HEIGHT);