dont build sabl if unable to find sound files

This commit is contained in:
Alex 2024-02-02 11:28:21 -05:00
parent bc1ebfc3bc
commit c3590a911c

View File

@ -222,7 +222,12 @@ public:
bool Write() override
{
WriteEntries();
if (!WriteEntries())
{
std::cerr << "An error occurred writing the sound bank entires. Please check output." << std::endl;
return false;
}
WriteEntryList();
WriteChecksumList();
WriteBranding();