limyz / DTXmaniaNX

A program that replicates gameplay from Konami's music video game, Gitadora - Drummania/GuitarFreaks. This project provides QoL updates, previously was forked from the DTXManiaXG verK SVN repository.
https://en.osdn.jp/projects/dtxmaniaxg-verk/
83 stars 19 forks source link

DTXViewerNX crashes after moving to a different monitor. #137

Closed yaladre closed 2 years ago

yaladre commented 2 years ago

when moving DTXViewerNX from one monitor to another, it will show a general "an exception has occured" and promptly will crash.

fisyher commented 2 years ago

A fix has been applied to resolved the DTXViewerNX crash during Performance of chart. However, upon further testing, I found that DTXViewerNX may also crash when moved to different monitor while it still shows the Loading Screen (i.e. it does not occur consistently). In this case, an unhandled SharpDX.SharpDXException is thrown from within FDK tDraw3D method with a E_FAIL/unspecified error code returned.

As the cause of the new crash is deep into the SharpDX library and it does not occur consistently, I will not be attempting to fix this crash. The current workaround is to wait for the Loading Screen to completely transition into Performance Screen before moving the DTXViewer to another monitor. In the next version, I will fully remove the Loading Screen from being shown when played as DTXViewerNX.