Merge pull request #509 from Fire-Head/master

OpenAL update
This commit is contained in:
erorcun 2020-05-11 03:23:36 +03:00 committed by GitHub
commit c66c45f4c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
50 changed files with 18965 additions and 2123 deletions

View file

@ -462,6 +462,20 @@ void re3_trace(const char *filename, unsigned int lineno, const char *func, cons
OutputDebugStringA(buff);
}
void re3_usererror(const char *format, ...)
{
va_list va;
va_start(va, format);
vsprintf_s(re3_buff, re3_buffsize, format, va);
va_end(va);
::MessageBoxA(nil, re3_buff, "RE3 Error!",
MB_OK|MB_ICONHAND|MB_SETFOREGROUND|MB_TASKMODAL);
raise(SIGABRT);
_exit(3);
}
#ifdef VALIDATE_SAVE_SIZE
int32 _saveBufCount;
#endif