From efbe5bc4b651d1f7f726bb064255e0e2562f7490 Mon Sep 17 00:00:00 2001 From: degasus Date: Fri, 9 Oct 2015 20:50:36 +0200 Subject: VideoSW: Use more VideoCommon Now we require lots of empty functions, but this removes by far more duplicated code. --- Source/Core/VideoBackends/Software/EfbInterface.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'Source/Core/VideoBackends/Software/EfbInterface.cpp') diff --git a/Source/Core/VideoBackends/Software/EfbInterface.cpp b/Source/Core/VideoBackends/Software/EfbInterface.cpp index ca6221ef26..b6b55b7204 100644 --- a/Source/Core/VideoBackends/Software/EfbInterface.cpp +++ b/Source/Core/VideoBackends/Software/EfbInterface.cpp @@ -8,9 +8,9 @@ #include "Common/CommonTypes.h" #include "Core/HW/Memmap.h" -#include "VideoBackends/Software/BPMemLoader.h" #include "VideoBackends/Software/EfbInterface.h" +#include "VideoCommon/BPMemory.h" #include "VideoCommon/LookUpTables.h" #include "VideoCommon/PixelEngine.h" @@ -31,11 +31,6 @@ namespace EfbInterface return (x + y * EFB_WIDTH) * 3 + DEPTH_BUFFER_START; } - void DoState(PointerWrap &p) - { - p.DoArray(efb); - } - static void SetPixelAlphaOnly(u32 offset, u8 a) { switch (bpmem.zcontrol.pixel_format) -- cgit v1.2.3