Seemingly random crash. Might be related to disc swapping
I am using the latest stable Windows version of Redream v1.5.0 (But this also occurs on v1.5.0-185-g72dd4e5, the latest Dev). I added a bit of code to my project (Initialise my audio sound system) that shouldn't really change anything, but adding the code causes the screen to go black and slightly different console output. NOTE: I know this audio code does work because I have a different smaller project that fully uses that code and it runs fine on Redream (With SEGA bios).
When I run this project, the console output doesn't say anything useful (to me). This same build worked fine on DEMUL, but on nullDC it goes black screen as well. nullDC's console mentioned my code is technically doing disc swaps (Due to using romdisks or virtual discs) and I hear nullDC isn't great at doing them so maybe that's why it black screens. Its possible there's a bug with the disc swapping code of Redream as well.
Attached is a zip containing two versions of my program. The first in the "doesnt-crash" folder does not contain the extra code and it works fine on Redream (With and without SEGA bios). The second folder named "does-crash" adds the above mentioned audio code and the crash occurs. Moving-Day-Example.7z