summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/ScaleAction.h
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2022-07-02 14:49:51 -0500
committeriwubcode <iwubcode@users.noreply.github.com>2022-10-09 00:00:01 -0500
commitbc360584a3a8a8902f50642496b2d1287e5088ac (patch)
tree335aac640b71462ecbe3e7ba672be08c9d0255f3 /Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/ScaleAction.h
parent6cf99195c645f54d54c72322ad0312a0e56bc985 (diff)
VideoCommon: add structures to graphics mods to allow for future adding or removing parameters with less code overhead
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/ScaleAction.h')
-rw-r--r--Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/ScaleAction.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/ScaleAction.h b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/ScaleAction.h
index cbe8744941..7192fe0c76 100644
--- a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/ScaleAction.h
+++ b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/ScaleAction.h
@@ -14,10 +14,9 @@ class ScaleAction final : public GraphicsModAction
public:
static std::unique_ptr<ScaleAction> Create(const picojson::value& json_data);
explicit ScaleAction(Common::Vec3 scale);
- void OnEFB(bool* skip, u32 texture_width, u32 texture_height, u32* scaled_width,
- u32* scaled_height) override;
- void OnProjection(Common::Matrix44* matrix) override;
- void OnProjectionAndTexture(Common::Matrix44* matrix) override;
+ void OnEFB(GraphicsModActionData::EFB*) override;
+ void OnProjection(GraphicsModActionData::Projection*) override;
+ void OnProjectionAndTexture(GraphicsModActionData::Projection*) override;
private:
Common::Vec3 m_scale;