KEMBAR78
ANDROID: Add ability to delete files by lephilousophe · Pull Request #4749 · scummvm/scummvm · GitHub
Skip to content

Conversation

@lephilousophe
Copy link
Member

And create a specific save manager which uses this new ability to delete saves.
This makes deleting saves on SAF possible.

env->DeleteGlobalRef(_safNode);
_safNode = nullptr;

// Create the parent node to fetch informations needed to make us a non-existent node
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am unsure I completely understand what we're doing starting from here. The comment helps a bit, but still maybe a bit more clarification needed?

Copy link
Contributor

@antoniou79 antoniou79 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added my review.
In general it looks good to me.
I am not sure how useful it would be to work on folder deletion (I read the comment that we're not dealing with this yet, and I agree).

I have not tested to build and test on my devices yet. But I'm ok to merge and test after. It's simplest too

@antoniou79 antoniou79 merged commit 2c089c4 into scummvm:master Feb 28, 2023
@antoniou79
Copy link
Contributor

Merged.
I will backport to branch-2-7 too.
Thank you!

@lephilousophe lephilousophe deleted the saf-remove branch February 28, 2023 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants