-
Notifications
You must be signed in to change notification settings - Fork 430
Mark IRomAsset.RomPath as [Obsolete]
#4558
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
base: master
Are you sure you want to change the base?
Conversation
|
I personally don't like making things that are actively used disallowed by default and have them require a Making it the standard to have every single use case I explicitly added the |
|
In general I agree. |
|
I don't particularly like this implementation, ideally the warning should alert the developer that there are alternatives available (Extension and Game.Name should be used if those are what RomPath ends up getting used for), and RomPath can't necessarily be used raw for file access, since it may actually be a file in an archive, therefore the path is invalid as it has a | (granted this is probably more a doc update if anything, maybe this warning too should yell at the developer for every inserting the prop into a Path.* API since such may fail due to the |). RomPath being used should be used extremely sparingly in any case, and never, ever be sent into the waterbox (again Extension and Game.Name are available). |
|
Does your IDE not show it?
|
As a matter of fact some established functionality DOES depend on the host filesystem, for example msu1 support for bsnes/snes9x. There might be a way to implement this in a way that it doesn't depend on the filesystem and break compatibility with every other emulator and make it unusable for every casual user (or we could drop support outright), but I don't think that's a great alternative. |
Per today's conversation on Discord.