diff --git a/backend/handler/metadata/ss_handler.py b/backend/handler/metadata/ss_handler.py index 24192e945..dc01487f9 100644 --- a/backend/handler/metadata/ss_handler.py +++ b/backend/handler/metadata/ss_handler.py @@ -408,8 +408,7 @@ class SSBaseHandler(MetadataHandler): async def get_matched_roms_by_name( self, search_term: str, platform_ss_id: int ) -> list[SSGamesRom]: - # TODO: migrate to put all SS platform IDs - platform_ss_id = 9 + # TODO: migrate to put all SS platform IDs in the database if not SS_API_ENABLED: return [] diff --git a/frontend/src/components/common/Game/Dialog/MatchRom.vue b/frontend/src/components/common/Game/Dialog/MatchRom.vue index 2653f9d31..e702bf9c6 100644 --- a/frontend/src/components/common/Game/Dialog/MatchRom.vue +++ b/frontend/src/components/common/Game/Dialog/MatchRom.vue @@ -47,7 +47,7 @@ const isMobyFiltered = ref(true); const isSSFiltered = ref(true); const computedAspectRatio = computed(() => { const ratio = - platfotmsStore.getAspectRatio(rom.value?.platform_id) || + platfotmsStore.getAspectRatio(rom.value?.platform_id ?? -1) || galleryViewStore.defaultAspectRatioCover; return parseFloat(ratio.toString()); });