mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-09-10 12:02:53 +02:00
Fix AudioMutex
constructor in standalone builds
This commit is contained in:
parent
414d78a327
commit
3b017e7bb4
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ AudioMutex::AudioMutex()
|
|||
#ifdef MKXPZ_RETRO
|
||||
if (mkxp_mutex_init(&mutex, false))
|
||||
#else
|
||||
if (mutex == NULL)
|
||||
if ((mutex = SDL_CreateMutex()) == NULL)
|
||||
#endif // MKXPZ_RETRO
|
||||
{
|
||||
std::abort();
|
||||
|
|
Loading…
Add table
Reference in a new issue