index 936adf598e511e5242076946f02dfb97eaa67715..a3d3fe15c415323c647e899b4f695c81f443f369 100644 (file)
FSoundEnabled := True;
except
- Application.MessageBox('Sound was disabled. Reason: ' + FMOD_ErrorString(res), 'FMOD Error', MB_OK or MB_ICONWARNING);
+ Application.MessageBox(PChar('Sound was disabled. Reason: ' + FMOD_ErrorString(res)), 'FMOD Error', MB_OK or MB_ICONWARNING);
end;
{$ENDIF}