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 a crash that got recently introduced. #203

Merged
merged 1 commit into from Mar 24, 2014

Conversation

Sonicadvance1
Copy link
Contributor

When CFileSystemGCWii::GetFileName can't find a valid filename it would return nullptr.
nullptr as a std::string throws an assert within the std lib.
So return an empty string and check if it is empty or not

When CFileSystemGCWii::GetFileName can't find a valid filename it would return nullptr.
nullptr as a std::string throws an assert within the std lib.
So return an empty string and check if it is empty or not
Sonicadvance1 added a commit that referenced this pull request Mar 24, 2014
Fix a crash that got recently introduced.
@Sonicadvance1 Sonicadvance1 merged commit 94ceb4d into dolphin-emu:master Mar 24, 2014
Joern-P pushed a commit to Joern-P/dolphin that referenced this pull request Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants