mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix mac build
This commit is contained in:
parent
0cd57b7712
commit
89f8c7d15b
2 changed files with 14 additions and 4 deletions
|
|
@ -788,12 +788,12 @@ void I_GetConsoleEvents(void){}
|
|||
static inline void I_StartupConsole(void)
|
||||
{
|
||||
#ifdef _DEBUG
|
||||
consolevent = !M_CheckParm("-noconsole");
|
||||
consolevent = M_CheckParm("-noconsole") > 0 ? SDL_FALSE : SDL_TRUE;
|
||||
#else
|
||||
consolevent = M_CheckParm("-console");
|
||||
consolevent = M_CheckParm("-console") > 0 ? SDL_TRUE : SDL_FALSE;
|
||||
#endif
|
||||
|
||||
framebuffer = M_CheckParm("-framebuffer");
|
||||
framebuffer = M_CheckParm("-framebuffer") > 0 ? SDL_TRUE : SDL_FALSE;
|
||||
|
||||
if (framebuffer)
|
||||
consolevent = SDL_FALSE;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,15 @@
|
|||
#ifndef __MAC_RESOURCES_H__
|
||||
#define __MAC_RESOURCES_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
void OSX_GetResourcesPath(char * buffer);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue