diff --git a/desmume/src/gfx3d.cpp b/desmume/src/gfx3d.cpp index f4c9a18b1..d89e0ef9c 100644 --- a/desmume/src/gfx3d.cpp +++ b/desmume/src/gfx3d.cpp @@ -323,7 +323,7 @@ static u32 clCmd = 0; static u32 clInd = 0; static u32 clInd2 = 0; -BOOL isSwapBuffers = FALSE; +u32 isSwapBuffers = FALSE; static u32 BTind = 0; static u32 PTind = 0; diff --git a/desmume/src/gfx3d.h b/desmume/src/gfx3d.h index d1d78a8cb..714e547a5 100644 --- a/desmume/src/gfx3d.h +++ b/desmume/src/gfx3d.h @@ -616,7 +616,7 @@ extern GFX3D gfx3d; extern CACHE_ALIGN u32 dsDepthExtend_15bit_to_24bit[32768]; extern CACHE_ALIGN u8 mixTable555[32][32][32]; -extern BOOL isSwapBuffers; +extern u32 isSwapBuffers; void gfx3d_glFlush(u32 v); // end GE commands