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

[3DS] Handle missing DSP firmware graceful instead of crashing #1142

Closed
Spazturtle opened this Issue Apr 10, 2017 · 4 comments

Comments

Projects
None yet
4 participants
@Spazturtle

Spazturtle commented Apr 10, 2017

Build #1​21 on 19-Feb-2017 is the last build I can get working, all newer builds crash on startup or cause the system to freeze.

Console: New 3DS EUR.

The log shows this for every version that crashes:

[2017-04-10 21:11:16] Error: Couldn't initialize audio.
Error code: 0xD880A7FA

easyrpg_log.txt

@Ghabry

This comment has been minimized.

Show comment
Hide comment
@Ghabry

Ghabry Apr 10, 2017

Member

Strange. The last build I tested was from 10 days ago and worked.

No idea what that error code is, I have to ask in #3dsdev channel first

Member

Ghabry commented Apr 10, 2017

Strange. The last build I tested was from 10 days ago and worked.

No idea what that error code is, I have to ask in #3dsdev channel first

@Ghabry

This comment has been minimized.

Show comment
Hide comment
@Ghabry

Ghabry Apr 10, 2017

Member

Do you use the cia?
Try dumping the dsp firmware with
https://github.com/Cruel/DspDump/releases/tag/1.0
And run easyrpg again.

Member

Ghabry commented Apr 10, 2017

Do you use the cia?
Try dumping the dsp firmware with
https://github.com/Cruel/DspDump/releases/tag/1.0
And run easyrpg again.

@Spazturtle

This comment has been minimized.

Show comment
Hide comment
@Spazturtle

Spazturtle Apr 10, 2017

Dumping the DSP Firmware fixed it, thanks.

Might be worth mentioning on the website that the 3DS CIA version requires the DSP firmware to be dumped.

Spazturtle commented Apr 10, 2017

Dumping the DSP Firmware fixed it, thanks.

Might be worth mentioning on the website that the 3DS CIA version requires the DSP firmware to be dumped.

@Ghabry

This comment has been minimized.

Show comment
Hide comment
@Ghabry

Ghabry Apr 11, 2017

Member

Agreed. Missing DSP firmware must be handled more graceful. Warning instead of Error e.g.

I will reword the issue.

Member

Ghabry commented Apr 11, 2017

Agreed. Missing DSP firmware must be handled more graceful. Warning instead of Error e.g.

I will reword the issue.

@Ghabry Ghabry changed the title from [3DS] Crash on startup to [3DS] Handle missing DSP firmware graceful instead of crashing Apr 11, 2017

@carstene1ns carstene1ns self-assigned this Apr 12, 2017

@carstene1ns carstene1ns added this to the 0.5.2 milestone Apr 17, 2017

Ghabry pushed a commit to libretro/easyrpg-libretro that referenced this issue May 22, 2018

3DS: Stay silent when DSP cannot be initialized
Fixes EasyRPG#1142.
Cleanup audio_3ds.cpp/h a bit
Earlier console initialization for debug builds (so audio errors can be
catched as well)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment