08/05/2016Late spring cleanings!
I decided to go through MAMEUI(FX) source code again another time. The objective was initially remove the "Allow game selection by custom key sequences"
option in the Interface.
After some investigations, it turned out it was a very strange and that probably never completely implemented
option, the user should edit INTERFACE.INI to setup the keys and so on. Time to go away
, at this point. Surprisingly, there were 150+ lines
of dead/unused code related to this option. A good cleanup.
Then, I decided to re-design some bits in the Default Games Options
dialog. I never liked the fact that if a user right-click on a game and select "Audit"
menu option, to display the results the options window is called and displayed. So I decided to have it in a separate dialog and window procedure. After some (un)expected crashes
due to the moving and removal of some portion of code, all is now done. So here we go with the new Single Game Audit
At this point, since it was a similar job, I thought it would be great to have also a Single Game Informations
this option is now available in the right-click context menu under the voice "Informations"
just before the "Audit"
voice. Both these options have now also a shortcut-key
to be displayed, respectively ALT+I
As a nice side effect of these changes, we have now a much cleaner
and expandible for the future
"Default Games Options" dialog:
As you may see, there's now room for at least two other options sections and this is great, IMO.
Last one, the "fullscreen"
option in the INTERFACE.INI, available to the user only editing the file manually, is gone away. The fullscreen switch is now only handled by the F11 key
and it's not possible to run at startup the GUI in fullscreen mode. Maybe this could look unpopular but allowed me to again make the code cleaner
and more understandable