Wolfenstein 3D:

- Fixed crash when finishing a game in Linux.
- Fixed makefile libSDLn dir.

git-svn-id: svn://kolibrios.org@8647 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat 2021-03-25 19:08:20 +00:00
parent 462a623097
commit 4ab1cbe4b1
2 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,7 @@ CFLAGS = -c -fno-ident -O2 -fomit-frame-pointer -fno-ident -U__WIN32__ -U_Win32
LDFLAGS = -static -S -nostdlib -T $(SDK_DIR)/sources/newlib/app.lds --image-base 0 LDFLAGS = -static -S -nostdlib -T $(SDK_DIR)/sources/newlib/app.lds --image-base 0
INCLUDES = -I$(SDK_DIR)/sources/newlib/libc/include -I$(SDK_DIR)/sources/SDL-1.2.2_newlib/include -I. -I SDL_mixer INCLUDES = -I$(SDK_DIR)/sources/newlib/libc/include -I$(SDK_DIR)/sources/SDL-1.2.2_newlib/include -I. -I SDL_mixer
LIBPATH = -L $(SDK_DIR)/lib -L /home/autobuild/tools/win32/mingw32/lib LIBPATH = -L $(SDK_DIR)/lib -L /home/autobuild/tools/win32/mingw32/lib -L $(SDK_DIR)/lib
OBJECTS += wl_cloudsky.o OBJECTS += wl_cloudsky.o
OBJECTS += wl_debug.o OBJECTS += wl_debug.o

View File

@ -1115,7 +1115,9 @@ SD_Shutdown(void)
free(DigiList); free(DigiList);
SD_Started = false; SD_Started = false;
#ifdef _KOLIBRI
Mix_CloseAudio(); Mix_CloseAudio();
#endif
} }
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////