mirror of https://github.com/encounter/SDL.git
SDL_vitamessagebox: rearrange if/else
Set messageboxdata and buttonid as unused variables
This commit is contained in:
parent
70a19fd5ab
commit
29153a1c63
|
@ -32,11 +32,7 @@
|
|||
|
||||
int VITA_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
|
||||
{
|
||||
#if !SDL_VIDEO_RENDER_VITA_GXM
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
#else
|
||||
#if SDL_VIDEO_RENDER_VITA_GXM
|
||||
SceCommonDialogConfigParam commonDialogConfigParam;
|
||||
SceMsgDialogParam param;
|
||||
SceMsgDialogUserMessageParam msgParam;
|
||||
|
@ -139,6 +135,10 @@ int VITA_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
|
|||
}
|
||||
|
||||
return 0;
|
||||
#else
|
||||
(void)messageboxdata;
|
||||
(void)buttonid;
|
||||
return -1;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue