[Glitch64] change grQueryResolutionsExt(FxI32*) to grQueryResolutionsExt(int32_t*)

This commit is contained in:
zilmar 2016-03-03 21:10:30 +11:00
parent 0a4e436c07
commit 0e0702fd42
2 changed files with 11 additions and 11 deletions

View File

@ -88,13 +88,13 @@ public:
}
}
char ** getResolutionsList(FxI32 * Size)
char ** getResolutionsList(int32_t * Size)
{
if (dwNumResolutions == 0)
{
init();
}
*Size = (FxI32)dwNumResolutions;
*Size = (int32_t)dwNumResolutions;
return aResolutionsStr;
}
@ -2635,7 +2635,7 @@ FxI32 src_stride, void *src_data)
/* wrapper-specific glide extensions */
FX_ENTRY char ** FX_CALL
grQueryResolutionsExt(FxI32 * Size)
grQueryResolutionsExt(int32_t * Size)
{
WriteTrace(TraceGlitch, TraceDebug, "-");
return g_FullScreenResolutions.getResolutionsList(Size);

View File

@ -159,7 +159,7 @@ void set_copy_shader();
//FX_ENTRY void FX_CALL grConfigWrapperExt(HINSTANCE instance, HWND hwnd);
FX_ENTRY void FX_CALL grConfigWrapperExt(FxI32, FxI32, FxBool, FxBool);
FX_ENTRY GrScreenResolution_t FX_CALL grWrapperFullScreenResolutionExt(FxU32*, FxU32*);
FX_ENTRY char ** FX_CALL grQueryResolutionsExt(FxI32*);
FX_ENTRY char ** FX_CALL grQueryResolutionsExt(int32_t*);
FX_ENTRY FxBool FX_CALL grKeyPressedExt(FxU32 key);
FX_ENTRY void FX_CALL grGetGammaTableExt(FxU32, FxU32*, FxU32*, FxU32*);