Skip to content

Commit

Permalink
add a comment to look into some weird code
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Mattiello <git@joemattiello.com>
  • Loading branch information
JoeMatt committed Dec 2, 2024
1 parent dd5b192 commit 24bfae3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ final class PVEmulatorViewController: PVEmulatorViewControllerRootClass, PVAudio
// Load now. Moved here becauase Mednafen needed to know what kind of game it's working with in order
// to provide the correct data for creating views.
let m3uFile: URL? = PVEmulatorConfiguration.m3uFile(forGame: game)
// TODO: Why are we using `UserDefaults`? @JoeMatt
var romPathMaybe: URL? = UserDefaults.standard.url(forKey: game.romPath) ?? m3uFile
if romPathMaybe == nil {
romPathMaybe = game.file.url
Expand Down

0 comments on commit 24bfae3

Please sign in to comment.