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)
|
int VITA_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
|
||||||
{
|
{
|
||||||
#if !SDL_VIDEO_RENDER_VITA_GXM
|
#if SDL_VIDEO_RENDER_VITA_GXM
|
||||||
{
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
SceCommonDialogConfigParam commonDialogConfigParam;
|
SceCommonDialogConfigParam commonDialogConfigParam;
|
||||||
SceMsgDialogParam param;
|
SceMsgDialogParam param;
|
||||||
SceMsgDialogUserMessageParam msgParam;
|
SceMsgDialogUserMessageParam msgParam;
|
||||||
|
@ -139,6 +135,10 @@ int VITA_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
#else
|
||||||
|
(void)messageboxdata;
|
||||||
|
(void)buttonid;
|
||||||
|
return -1;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue