nop90 / ZeldaROTH

Port of Zelda ROTH on 3ds
28 stars 2 forks source link

Black screen hang after closing screen #1

Open Selver-gba opened 8 years ago

Selver-gba commented 8 years ago

To cause the bug:

  1. Begin play of ZeldaROTH on N3DS (A9LH+Luma)
  2. After completing first dungeon, and asked to save, do so
  3. Close screen and leave device alone for 10-15 minutes
  4. Open screen
  5. Cry as all you get is a black screen....

Not sure what causes this... other applications have had to add explicit support for closing the screen and resuming. Maybe just need to re-setup the screen and graphics buffers? (not sure...)

Anyways, thought it worth logging an issue, in case you have a moment to track it down or already know how to fix this.

Thanks for the great port, this is my first exposure to the game, and I'm enjoying it!

nop90 commented 8 years ago

Thanks for reporting.

I'l check it, but this problem is related to CIA version of the game that is provided only because some GBATemp users requested it (I prefer to release 3dsx homebrew), but it always has problems handlings system events.

Smealum about ayear ago enclosed the 3ds application events management in a function making all the low level code privete, so we don't have anymore control on them.

Another problem is that I'm using Xerpi's Sf2dlib for graphics, so again I don't have direct control of the screen buffers.

I'll try to do my best.