[Scummvm-tracker] [ScummVM :: Bugs] #12766: SKY: Savegame 0 produces write permission error on Android
ScummVM :: Bugs
trac at scummvm.org
Wed Jul 28 17:57:17 UTC 2021
#12766: SKY: Savegame 0 produces write permission error on Android
--------------------+----------------------------------
Reporter: puetsch | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: Sky
Version: | Resolution:
Keywords: | Game: Beneath a Steel Sky
--------------------+----------------------------------
Comment (by antoniou79):
I agree. At the very least I'll see if I can add something to the
documentation somewhere.
I did bring up this issue in Discord a while ago (when I committed the
fix), but I don't think there was any solution suggested for it, and I
moved on to something else.
https://discord.com/channels/581224060529148060/581224061091446795/735130522522747001
The problem is that this engine function SkyEngine::saveGameState() has to
return a Common::Error, and of the available ones none is exactly fitting
with this situation. There's little room to maneuver here, since this save
method is called from the common engine code (Engine::saveGameDialog()) --
it's not specific to the SKY engine.
So we either add a new Error (along with a description) in the common code
(common\error.h, common\error.cpp) which would be specific to this
situation, or I guess we could disable writing to slot 0 (making it greyed
out or something)?
I'm leaving the ticker open until I or someone else addresses this issue.
--
Ticket URL: <https://bugs.scummvm.org/ticket/12766#comment:4>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list