New Menu Handling #507
Replies: 1 comment 5 replies
-
|
The MPI interface is pretty good the way it is except right now it can't even load a rom cartridge without crashing VCC. My fault for not paying attention. I thought pulling a couple PR's that were just adding doxygen comments would be harmless. I spent a lot of time last summer getting the interface and mpi configuration to work properly and not crash vcc. Now it does not work. Too many PR's that do not fix listed issues and that are not even being tested properly. There is going to much more scrutiny on PR's and what changes are being made in the future. Sorry for the rant but I am sort of pissed. The MPI menu shown above might seem easier to use but it is probably not. Visibility and control over what slots cart are in is just as important as what is being loaded. Unless we create a cartridge metadata system (like mame) we will still need to let users select what cart to load by browsing files in a directory and forcing those file to exist in any particular directory is a bit of a non-starter. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Over the last few days I've managed to make a fair amount of progress on getting the cartridge interfaces moved along including updating how the cartridge menu is handled. The cartridges no longer need to build the menu when they start up or rebuild the menu any time a property of the cartridge changes. Instead, when the cartridge menu is about to be opened the main application will fetch a list of menu items from the attached cartridge. This changes how the menu id's are handled, before the cartridge had to have knowledge of the id range (5000-5099) now their id's start at 0. This also adds separators in sub menus and by the time the release is complete checkboxes and disabled states.
I wasn't going to replace the menu system (CartridgeMenu is completely gone) but having it done makes separating the UI and device implementations of a cartridge easier. I've also been working on updating the menu to select the cartridge there instead of by file and it the old system kept breaking and getting in my way.
Here's a screenshot that shows the submenu separators along with the list of cartridges to select from.

Beta Was this translation helpful? Give feedback.
All reactions