Skip to content
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

Savedata management screen #7808

Merged
merged 9 commits into from
Jun 12, 2015
Merged

Savedata management screen #7808

merged 9 commits into from
Jun 12, 2015

Conversation

hrydgard
Copy link
Owner

This adds some basic UI to manage save data. See #7783. It lists all savedata and save states available, so now you can delete save data from games you no longer have, without having to use external file managers and stuff.

Make sure to update native if you try to build this.

Some work remains before I'll merge, like localization hooks and maybe try to improve the save state display. Unfortunately we don't store much metadata in our save states so the list ends up really ugly, and the images are too large to use as thumbnails in a long list of them.

I'm not sure if this is really worth a place in the main menu. Any better ideas for how to get to this screen?

@@ -317,8 +317,6 @@ static void __IoFreeFd(int fd, u32 &error) {
// TODO: We don't do any of that yet.
// For now, let's at least delay the callback notification.
static void __IoAsyncNotify(u64 userdata, int cyclesLate) {
PROFILE_THIS_SCOPE("io_rw");
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hmm, why? The goal is to capture time in __IoCompleteAsyncIO essentially.

-[Unknown]

Copy link
Owner Author

Choose a reason for hiding this comment

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

Had to remove it because our profiler can't handle entering the same scope recursively.

However shouldn't have done it in this branch, and should probably rather have fixed the profiler :)

@hrydgard
Copy link
Owner Author

Travis failures don't seem to be related to changes in this branch, so I'm merging soon.

hrydgard added a commit that referenced this pull request Jun 12, 2015
@hrydgard hrydgard merged commit 00e57b1 into master Jun 12, 2015
@hrydgard hrydgard deleted the savedata-screen branch June 12, 2015 21:18
@@ -466,7 +466,7 @@ void SoftGPU::ExecuteOp(u32 op, u32 diff)
}

if (!(gstate_c.skipDrawReason & SKIPDRAW_SKIPFRAME)) {
TransformUnit::SubmitSpline(control_points, indices, sp_ucount, sp_vcount, sp_utype, sp_vtype, gstate.getPatchPrimitiveType(), gstate.vertType);
//TransformUnit::SubmitSpline(control_points, indices, sp_ucount, sp_vcount, sp_utype, sp_vtype, gstate.getPatchPrimitiveType(), gstate.vertType);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hmm, not sure if this belonged in this branch either?

-[Unknown]

Copy link
Owner Author

Choose a reason for hiding this comment

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

It crashes, but yeah, you're right, it should have been separate.

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