diff options
author | notaz | 2012-08-02 01:30:57 +0300 |
---|---|---|
committer | notaz | 2012-08-02 01:43:03 +0300 |
commit | 9ed4ca47610027e8a0448d61389df5a583bd659b (patch) | |
tree | 427f9ddabff4c2747759c367305fd0afdea81996 /plugins/gpu_unai/gpu_raster_sprite.h | |
parent | 6983a9ae5accfbb9be955e4b9320fddb7572e00f (diff) | |
download | pcsx_rearmed-9ed4ca47610027e8a0448d61389df5a583bd659b.tar.gz pcsx_rearmed-9ed4ca47610027e8a0448d61389df5a583bd659b.tar.bz2 pcsx_rearmed-9ed4ca47610027e8a0448d61389df5a583bd659b.zip |
gpu_unai: merge Franxis' range fix
Diffstat (limited to 'plugins/gpu_unai/gpu_raster_sprite.h')
-rw-r--r-- | plugins/gpu_unai/gpu_raster_sprite.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/gpu_unai/gpu_raster_sprite.h b/plugins/gpu_unai/gpu_raster_sprite.h index 5075227..a700db3 100644 --- a/plugins/gpu_unai/gpu_raster_sprite.h +++ b/plugins/gpu_unai/gpu_raster_sprite.h @@ -29,8 +29,8 @@ void gpuDrawS(const PS gpuSpriteSpanDriver) s32 u0; s32 v0; - x1 = x0 = GPU_EXPANDSIGN_SPRT(PacketBuffer.S2[2]) + DrawingOffset[0]; - y1 = y0 = GPU_EXPANDSIGN_SPRT(PacketBuffer.S2[3]) + DrawingOffset[1]; + x1 = x0 = GPU_EXPANDSIGN(PacketBuffer.S2[2]) + DrawingOffset[0]; + y1 = y0 = GPU_EXPANDSIGN(PacketBuffer.S2[3]) + DrawingOffset[1]; x1+= PacketBuffer.S2[6]; y1+= PacketBuffer.S2[7]; @@ -95,8 +95,8 @@ void gpuDrawS16(void) s32 ymin, ymax; u32 h = 16; - x0 = GPU_EXPANDSIGN_SPRT(PacketBuffer.S2[2]) + DrawingOffset[0]; - y0 = GPU_EXPANDSIGN_SPRT(PacketBuffer.S2[3]) + DrawingOffset[1]; + x0 = GPU_EXPANDSIGN(PacketBuffer.S2[2]) + DrawingOffset[0]; + y0 = GPU_EXPANDSIGN(PacketBuffer.S2[3]) + DrawingOffset[1]; xmin = DrawingArea[0]; xmax = DrawingArea[2]; ymin = DrawingArea[1]; ymax = DrawingArea[3]; @@ -131,8 +131,8 @@ void gpuDrawT(const PT gpuTileSpanDriver) s32 x0, y0; s32 x1, y1; - x1 = x0 = GPU_EXPANDSIGN_SPRT(PacketBuffer.S2[2]) + DrawingOffset[0]; - y1 = y0 = GPU_EXPANDSIGN_SPRT(PacketBuffer.S2[3]) + DrawingOffset[1]; + x1 = x0 = GPU_EXPANDSIGN(PacketBuffer.S2[2]) + DrawingOffset[0]; + y1 = y0 = GPU_EXPANDSIGN(PacketBuffer.S2[3]) + DrawingOffset[1]; x1+= PacketBuffer.S2[4]; y1+= PacketBuffer.S2[5]; |