Skip to content

Platforms rework

Alice Mikhaylenko requested to merge (removed):platforms into master

This introduces PlatformRegister that is a global collection of Platform objects. Instead of having Platform object created for each game, platforms are only registered once.

Also cleans up RetroPlatform.get_platform_name(), which has many unused names and moves remaining names to RetroSimpleType.get_platform_name(), and finally removes RetroPlatform.

Also adds missing translator comments to platform names in plugins.

This will be very useful for #22 (closed) (and is partially based on the WIP branch for that issue), but is generally nice to have now.

Edited by Alice Mikhaylenko

Merge request reports