From 37bc2b3bb96d43cfde48a0648aa8fb78068f4ab0 Mon Sep 17 00:00:00 2001 From: Zangetsu38 Date: Sat, 19 Aug 2017 22:04:11 +0200 Subject: [PATCH] rsx: implement pixel size 16. --- rpcs3/Emu/RSX/rsx_utils.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rpcs3/Emu/RSX/rsx_utils.cpp b/rpcs3/Emu/RSX/rsx_utils.cpp index 31ff08a040..393e31fffc 100644 --- a/rpcs3/Emu/RSX/rsx_utils.cpp +++ b/rpcs3/Emu/RSX/rsx_utils.cpp @@ -179,6 +179,9 @@ namespace rsx case 8: scale_image_fallback_impl((u64*)dst, (const u64*)src, src_width, src_height, dst_pitch, src_pitch, pixel_size, samples); break; + case 16: + scale_image_fallback_impl((u128*)dst, (const u128*)src, src_width, src_height, dst_pitch, src_pitch, pixel_size, samples); + break; default: fmt::throw_exception("unsupported pixel size %d" HERE, pixel_size); } @@ -200,6 +203,9 @@ namespace rsx case 8: scale_image_fallback_impl>((u64*)dst, (const be_t*)src, src_width, src_height, dst_pitch, src_pitch, pixel_size, samples); break; + case 16: + scale_image_fallback_impl>((u128*)dst, (const be_t*)src, src_width, src_height, dst_pitch, src_pitch, pixel_size, samples); + break; default: fmt::throw_exception("unsupported pixel size %d" HERE, pixel_size); }