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

Fix crash when closing standalone games #12166

Merged
merged 4 commits into from May 29, 2017
Merged

Conversation

garbear
Copy link
Member

@garbear garbear commented May 26, 2017

Currently, if a game add-on is loaded without a file (standalone mode), when closed it will segfault.

The cause is from #11380, where the in-game saves variable was only initialized for file-based games.

Also included are three code improvements for the games code.

@garbear garbear added Type: Cleanup non-breaking change which removes non-working or unmaintained functionality Type: Fix non-breaking change which fixes an issue Component: Games and removed Type: Cleanup non-breaking change which removes non-working or unmaintained functionality labels May 28, 2017
@AlwinEsch
Copy link
Member

Looks good for me, has also seen also sometimes crashes after the close of a dosbox, thought only that it comes from a bad dosbox dll here at home :)

@garbear
Copy link
Member Author

garbear commented May 28, 2017

I think this is the dosbox error you're talking about: libretro/dosbox-libretro#47

@garbear
Copy link
Member Author

garbear commented May 29, 2017

jenkins build this please

@garbear garbear merged commit 6d90ece into xbmc:master May 29, 2017
@garbear garbear deleted the fix-standalone branch May 29, 2017 22:17
@Rechi Rechi added the v18 Leia label May 30, 2017
@Rechi Rechi added this to the L 18.0-alpha1 milestone May 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Games Type: Fix non-breaking change which fixes an issue v18 Leia
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants