mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Add newlines to some diagostic log messages that lack them and need them.
git-svn-id: https://svn.eduke32.com/eduke32@3668 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
cbb003ba6e
commit
82b6414d92
4 changed files with 8 additions and 8 deletions
|
@ -453,7 +453,7 @@ void makeasmwriteable(void)
|
||||||
DWORD oldprot;
|
DWORD oldprot;
|
||||||
if (!VirtualProtect((LPVOID)&dep_begin, (SIZE_T)&dep_end - (SIZE_T)&dep_begin, PAGE_EXECUTE_READWRITE, &oldprot))
|
if (!VirtualProtect((LPVOID)&dep_begin, (SIZE_T)&dep_end - (SIZE_T)&dep_begin, PAGE_EXECUTE_READWRITE, &oldprot))
|
||||||
{
|
{
|
||||||
initprintf("Error making code writeable");
|
initprintf("Error making code writeable\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
# elif defined __linux || defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__ || defined __APPLE__
|
# elif defined __linux || defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__ || defined __APPLE__
|
||||||
|
|
|
@ -197,7 +197,7 @@ int32_t RTS_SoundLength(int32_t lump)
|
||||||
lump++;
|
lump++;
|
||||||
if (lump >= rts_numlumps)
|
if (lump >= rts_numlumps)
|
||||||
{
|
{
|
||||||
initprintf("RTS_SoundLength: %i >= numlumps",lump);
|
initprintf("RTS_SoundLength: %i >= numlumps\n",lump);
|
||||||
RTS_Started = FALSE;
|
RTS_Started = FALSE;
|
||||||
rts_numlumps = 0;
|
rts_numlumps = 0;
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -218,7 +218,7 @@ const char *RTS_GetSoundName(int32_t i)
|
||||||
i++;
|
i++;
|
||||||
if (i>=rts_numlumps)
|
if (i>=rts_numlumps)
|
||||||
{
|
{
|
||||||
initprintf("RTS_GetSoundName: %i >= numlumps",i);
|
initprintf("RTS_GetSoundName: %i >= numlumps\n",i);
|
||||||
RTS_Started = FALSE;
|
RTS_Started = FALSE;
|
||||||
rts_numlumps = 0;
|
rts_numlumps = 0;
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -242,7 +242,7 @@ void RTS_ReadLump(int32_t lump, void *dest)
|
||||||
|
|
||||||
if (lump >= rts_numlumps)
|
if (lump >= rts_numlumps)
|
||||||
{
|
{
|
||||||
initprintf("RTS_ReadLump: %i >= numlumps",lump);
|
initprintf("RTS_ReadLump: %i >= numlumps\n",lump);
|
||||||
RTS_Started = FALSE;
|
RTS_Started = FALSE;
|
||||||
rts_numlumps = 0;
|
rts_numlumps = 0;
|
||||||
return;
|
return;
|
||||||
|
@ -250,7 +250,7 @@ void RTS_ReadLump(int32_t lump, void *dest)
|
||||||
|
|
||||||
if (lump < 0)
|
if (lump < 0)
|
||||||
{
|
{
|
||||||
initprintf("RTS_ReadLump: %i < 0",lump);
|
initprintf("RTS_ReadLump: %i < 0\n",lump);
|
||||||
RTS_Started = FALSE;
|
RTS_Started = FALSE;
|
||||||
rts_numlumps = 0;
|
rts_numlumps = 0;
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -133,7 +133,7 @@ void S_MusicShutdown(void)
|
||||||
S_StopMusic();
|
S_StopMusic();
|
||||||
|
|
||||||
if (MUSIC_Shutdown() != MUSIC_Ok)
|
if (MUSIC_Shutdown() != MUSIC_Ok)
|
||||||
initprintf("%s", MUSIC_ErrorString(MUSIC_ErrorCode));
|
initprintf("%s\n", MUSIC_ErrorString(MUSIC_ErrorCode));
|
||||||
}
|
}
|
||||||
|
|
||||||
void S_PauseMusic(int32_t onf)
|
void S_PauseMusic(int32_t onf)
|
||||||
|
|
|
@ -93,7 +93,7 @@ int32_t S_SoundStartup(void)
|
||||||
|
|
||||||
if (status != FX_Ok)
|
if (status != FX_Ok)
|
||||||
{
|
{
|
||||||
initprintf("Sound startup error: %s", FX_ErrorString(FX_Error));
|
initprintf("Sound startup error: %s\n", FX_ErrorString(FX_Error));
|
||||||
return -2;
|
return -2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ void S_SoundShutdown(void)
|
||||||
|
|
||||||
status = FX_Shutdown();
|
status = FX_Shutdown();
|
||||||
if (status != FX_Ok)
|
if (status != FX_Ok)
|
||||||
initprintf("Sound shutdown error: %s", FX_ErrorString(FX_Error));
|
initprintf("Sound shutdown error: %s\n", FX_ErrorString(FX_Error));
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t S_LoadSound(uint32_t num)
|
int32_t S_LoadSound(uint32_t num)
|
||||||
|
|
Loading…
Reference in a new issue