rsx: Fix null renderer

This commit is contained in:
kd-11 authored and kd-11 committed 2018-12-03 20:01:23 +03:00
1 parent 9d0042f509
commit f4c28eceef
2 files changed
+8 -2

No files matched your search

+6 -1
View File
@@ -1,4 +1,4 @@
#include "stdafx.h"
#include "stdafx.h"
#include "NullGSRender.h"
#include "Emu/System.h"
@@ -15,3 +15,8 @@ bool NullGSRender::do_method(u32 cmd, u32 value)
{
return false;
}
void NullGSRender::end()
{
rsx::method_registers.current_draw_clause.end();
}
+2 -1
View File
@@ -1,4 +1,4 @@
#pragma once
#pragma once
#include "Emu/RSX/GSRender.h"
class NullGSRender : public GSRender
@@ -9,4 +9,5 @@ public:
private:
bool do_method(u32 cmd, u32 value) override final;
void end() override;
};