mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
rsx: Fix null renderer
This commit is contained in:
parent
9d0042f509
commit
f4c28eceef
2 changed files with 8 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "NullGSRender.h"
|
#include "NullGSRender.h"
|
||||||
#include "Emu/System.h"
|
#include "Emu/System.h"
|
||||||
|
|
||||||
|
@ -15,3 +15,8 @@ bool NullGSRender::do_method(u32 cmd, u32 value)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void NullGSRender::end()
|
||||||
|
{
|
||||||
|
rsx::method_registers.current_draw_clause.end();
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "Emu/RSX/GSRender.h"
|
#include "Emu/RSX/GSRender.h"
|
||||||
|
|
||||||
class NullGSRender : public GSRender
|
class NullGSRender : public GSRender
|
||||||
|
@ -9,4 +9,5 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool do_method(u32 cmd, u32 value) override final;
|
bool do_method(u32 cmd, u32 value) override final;
|
||||||
|
void end() override;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue