aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_unai/gpu_blit.h
diff options
context:
space:
mode:
authornegativeExponent2019-08-17 09:31:06 +0800
committernegativeExponent2019-08-17 09:33:48 +0800
commit030d1121f27550429364745419fc5e6161a2a431 (patch)
tree90d83d5855981ad4558f5533a6d6bc2d4a19cfba /plugins/gpu_unai/gpu_blit.h
parentfcb84f0c6ad095c355d8c0835fc6c5fcdc2a6813 (diff)
downloadpcsx_rearmed-030d1121f27550429364745419fc5e6161a2a431.tar.gz
pcsx_rearmed-030d1121f27550429364745419fc5e6161a2a431.tar.bz2
pcsx_rearmed-030d1121f27550429364745419fc5e6161a2a431.zip
Backport GPU Unai plugin from PCSX4ALL
- backports gpu unai plugin from PCSX4ALL - sync necessary files with notaz/master to allow building standalone app
Diffstat (limited to 'plugins/gpu_unai/gpu_blit.h')
-rw-r--r--plugins/gpu_unai/gpu_blit.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/plugins/gpu_unai/gpu_blit.h b/plugins/gpu_unai/gpu_blit.h
index 35cd056..e93f12f 100644
--- a/plugins/gpu_unai/gpu_blit.h
+++ b/plugins/gpu_unai/gpu_blit.h
@@ -32,10 +32,10 @@
///////////////////////////////////////////////////////////////////////////////
// GPU Blitting code with rescale and interlace support.
-INLINE void GPU_BlitWW(const void* src, u16* dst16, u32 isRGB24)
+INLINE void GPU_BlitWW(const void* src, u16* dst16, bool isRGB24)
{
u32 uCount;
- if(isRGB24 == 0)
+ if(!isRGB24)
{
#ifndef USE_BGR15
uCount = 20;
@@ -85,10 +85,10 @@ INLINE void GPU_BlitWW(const void* src, u16* dst16, u32 isRGB24)
}
}
-INLINE void GPU_BlitWWSWWSWS(const void* src, u16* dst16, u32 isRGB24)
+INLINE void GPU_BlitWWSWWSWS(const void* src, u16* dst16, bool isRGB24)
{
u32 uCount;
- if(isRGB24 == 0)
+ if(!isRGB24)
{
#ifndef USE_BGR15
uCount = 32;
@@ -145,10 +145,10 @@ INLINE void GPU_BlitWWSWWSWS(const void* src, u16* dst16, u32 isRGB24)
}
}
-INLINE void GPU_BlitWWWWWS(const void* src, u16* dst16, u32 isRGB24)
+INLINE void GPU_BlitWWWWWS(const void* src, u16* dst16, bool isRGB24)
{
u32 uCount;
- if(isRGB24 == 0)
+ if(!isRGB24)
{
#ifndef USE_BGR15
uCount = 32;
@@ -201,10 +201,10 @@ INLINE void GPU_BlitWWWWWS(const void* src, u16* dst16, u32 isRGB24)
}
}
-INLINE void GPU_BlitWWWWWWWWS(const void* src, u16* dst16, u32 isRGB24, u32 uClip_src)
+INLINE void GPU_BlitWWWWWWWWS(const void* src, u16* dst16, bool isRGB24, u32 uClip_src)
{
u32 uCount;
- if(isRGB24 == 0)
+ if(!isRGB24)
{
#ifndef USE_BGR15
uCount = 20;
@@ -274,10 +274,10 @@ INLINE void GPU_BlitWWWWWWWWS(const void* src, u16* dst16, u32 isRGB24, u32 uCli
}
}
-INLINE void GPU_BlitWWDWW(const void* src, u16* dst16, u32 isRGB24)
+INLINE void GPU_BlitWWDWW(const void* src, u16* dst16, bool isRGB24)
{
u32 uCount;
- if(isRGB24 == 0)
+ if(!isRGB24)
{
#ifndef USE_BGR15
uCount = 32;
@@ -331,10 +331,10 @@ INLINE void GPU_BlitWWDWW(const void* src, u16* dst16, u32 isRGB24)
}
-INLINE void GPU_BlitWS(const void* src, u16* dst16, u32 isRGB24)
+INLINE void GPU_BlitWS(const void* src, u16* dst16, bool isRGB24)
{
u32 uCount;
- if(isRGB24 == 0)
+ if(!isRGB24)
{
#ifndef USE_BGR15
uCount = 20;