mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-02-22 20:57:12 +01:00
add log message to indicate file open failed
This commit is contained in:
parent
f1d4c399a2
commit
f928eee5f3
@ -852,7 +852,10 @@ void LatteShaderCache_StreamBootSound()
|
||||
sint32 fscStatus = FSC_STATUS_UNDEFINED;
|
||||
bootSndFileHandle = fsc_open(sndPath.c_str(), FSC_ACCESS_FLAG::OPEN_FILE | FSC_ACCESS_FLAG::READ_PERMISSION, &fscStatus);
|
||||
if(!bootSndFileHandle)
|
||||
{
|
||||
cemuLog_log(LogType::Force, "failed to open bootSound.btsnd");
|
||||
return;
|
||||
}
|
||||
|
||||
constexpr sint32 audioBlockSize = samplesPerBlock * (bitsPerSample/8) * nChannels;
|
||||
bootSndFileReader = std::make_unique<BootSoundReader>(bootSndFileHandle, audioBlockSize);
|
||||
|
Loading…
x
Reference in New Issue
Block a user