-
-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Game Importer Fixes for cloud and local files #2354
Game Importer Fixes for cloud and local files #2354
Conversation
ensures directories and caches are set up on first launch ensures cloud and local files import correctly various sequencing fixes for async stuff for RomDatabase and GameImporter
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨Explore these optional code suggestions:
|
5bd9b54
into
Provenance-Emu:develop-spm-2024
User description
What does this PR do
Generally, this PR should ensure that upon first successful launch, the app will be in a state to properly accept imports from cloud and local files sources.
Where should the reviewer start
How should this be manually tested
After imports are processed, the library should be updated properly with the ROMs selected.
Cases I tested:
Any background context you want to provide
What are the relevant tickets
Screenshots (important for UI changes)
Questions
PR Type
enhancement, bug_fix
Description
RomDatabase
with async cache management methods and synchronous access options.GameImporter
to ensure necessary directories are created.PVRootViewController
.Changes walkthrough 📝
PVEmulatorConfiguration+Frameworks.swift
Update database refresh and BIOS addition logic
PVLibrary/Sources/PVLibrary/Configuration/PVEmulatorConfiguration+Frameworks.swift
RomDatabase
method call fromrefresh
toreloadCache
.database.add
to avoid conflicts with duplicate BIOS names.PVEmulatorConfiguration.swift
Use synchronous system cache access
PVLibrary/Sources/PVLibrary/Configuration/PVEmulatorConfiguration.swift
getSystemCache
withgetSystemCacheSync
for synchronousaccess.
RomDatabase+Caches.swift
Implement async cache management in RomDatabase
PVLibrary/Sources/PVLibrary/Database/Realm Database/RomDatabase+Caches.swift
PVGame+Paths.swift
Use synchronous system cache access in PVGame
PVLibrary/Sources/PVLibrary/Game Media/PVGame+Paths.swift
GameImporter.swift
Refactor GameImporter directory setup and cache access
PVLibrary/Sources/PVLibrary/Importer/Services/GameImporter/GameImporter.swift
biosPath
property for BIOS directory management.PVGameLibraryViewController.swift
Use synchronous BIOS cache access in Game Library
PVUI/Sources/PVUIBase/Game Library/CollectionViewController/PVGameLibraryViewController.swift
PVGameLibraryUpdatesController.swift
Use async cache retrieval in Game Library Updates
PVUI/Sources/PVUIBase/Game Library/PVGameLibraryUpdatesController.swift
PVRootViewController.swift
Improve security-scoped resource handling
PVUI/Sources/PVSwiftUI/RootView/PVRootViewController.swift