Minor Initial Tweaks to get the app to build / launch / import games properly first time. #2351
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User description
adjust name of one of the jagboot bioses to temporarily avoid the filename conflict in Realm on initial launch
fix GameImporter.swift to properly load the system to file path map
There is a known issue not fixed here where the HUD state won't properly update after importing games, we will fix that separately.
What does this PR do
Fixes some errors preventing a clean app build / launch / import on first attempt.
Where should the reviewer start
How should this be manually tested
do a fresh clone of the repo, build and run for the first time.
Any background context you want to provide
What are the relevant tickets
Screenshots (important for UI changes)
Questions
PR Type
Bug fix
Description
jagboot.rom
tojagboot1.rom
in two plist files.updateSystemToPathMap
function inGameImporter.swift
to remove redundant code and improve functionality.Changes walkthrough 📝
GameImporter.swift
Refactor system to path map update logic
PVLibrary/Sources/PVLibrary/Importer/Services/GameImporter/GameImporter.swift
updateSystemToPathMap
function.
systems.plist
Rename Jaguar BIOS file to avoid conflict
PVCoreLoader/Sources/PVCoreLoader/Resources/systems.plist
jagboot.rom
tojagboot1.rom
to avoid filename conflict.systems.plist
Rename Jaguar BIOS file to avoid conflict
PVLibrary/Sources/PVLibrary/Resources/systems.plist
jagboot.rom
tojagboot1.rom
to avoid filename conflict.