mirror of https://github.com/FWGS/xash3d-fwgs
engine: platform: nswitch: delete unused functions
This commit is contained in:
parent
9a8ec780f9
commit
56f27561ce
|
@ -83,17 +83,3 @@ void NSwitch_Shutdown( void )
|
|||
if ( SDL_WasInit( 0 ) )
|
||||
SDL_Quit();
|
||||
}
|
||||
|
||||
int NSwitch_GetScreenWidth( void )
|
||||
{
|
||||
if ( appletGetOperationMode() == AppletOperationMode_Console )
|
||||
return 1920; // docked
|
||||
return 1280; // undocked
|
||||
}
|
||||
|
||||
int NSwitch_GetScreenHeight( void )
|
||||
{
|
||||
if ( appletGetOperationMode() == AppletOperationMode_Console )
|
||||
return 1080; // docked
|
||||
return 720; // undocked
|
||||
}
|
||||
|
|
|
@ -48,8 +48,6 @@ void Android_SaveID( const char *id );
|
|||
#if XASH_NSWITCH
|
||||
void NSwitch_Init( void );
|
||||
void NSwitch_Shutdown( void );
|
||||
int NSwitch_GetScreenWidth( void );
|
||||
int NSwitch_GetScreenHeight( void );
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue