mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
SW: Get the log file working and avoid crashing due to not doing so
Patch from Striker. git-svn-id: https://svn.eduke32.com/eduke32@7514 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
2448bbe600
commit
ee6326c2a0
2 changed files with 6 additions and 0 deletions
|
@ -44,6 +44,10 @@ extern "C" {
|
|||
//
|
||||
//****************************************************************************
|
||||
|
||||
#ifndef APPBASENAME
|
||||
#define APPBASENAME "voidsw"
|
||||
#endif
|
||||
|
||||
//
|
||||
// Color Defines
|
||||
//
|
||||
|
|
|
@ -3472,6 +3472,8 @@ int32_t app_main(int32_t argc, char const * const * argv)
|
|||
}
|
||||
#endif
|
||||
|
||||
OSD_SetLogFile(APPBASENAME ".log");
|
||||
|
||||
{
|
||||
char *supportdir = Bgetsupportdir(TRUE);
|
||||
char *appdir = Bgetappdir();
|
||||
|
|
Loading…
Reference in a new issue