DSPHLE: Make all uCode implementations final classes

(Apart from AXUCode, which is inherited by AXWiiUCode.)
This commit is contained in:
Pokechu22 2022-06-19 11:34:53 -07:00
parent a8b2174ce6
commit 8b65e84121
7 changed files with 8 additions and 7 deletions

View File

@ -62,7 +62,7 @@ enum AXMixControl
// clang-format on
};
class AXUCode : public UCodeInterface
class AXUCode /* not final: subclassed by AXWiiUCode */ : public UCodeInterface
{
public:
AXUCode(DSPHLE* dsphle, u32 crc);

View File

@ -11,7 +11,7 @@ namespace DSP::HLE
struct AXPBWii;
class DSPHLE;
class AXWiiUCode : public AXUCode
class AXWiiUCode final : public AXUCode
{
public:
AXWiiUCode(DSPHLE* dsphle, u32 crc);

View File

@ -10,7 +10,7 @@ namespace DSP::HLE
{
class DSPHLE;
class CARDUCode : public UCodeInterface
class CARDUCode final : public UCodeInterface
{
public:
CARDUCode(DSPHLE* dsphle, u32 crc);

View File

@ -15,8 +15,9 @@ class DSPHLE;
// written back to RAM at the dest address provided in the crypto parameters.
void ProcessGBACrypto(u32 address);
struct GBAUCode : public UCodeInterface
class GBAUCode final : public UCodeInterface
{
public:
GBAUCode(DSPHLE* dsphle, u32 crc);
void Initialize() override;

View File

@ -10,7 +10,7 @@ namespace DSP::HLE
{
class DSPHLE;
class INITUCode : public UCodeInterface
class INITUCode final : public UCodeInterface
{
public:
INITUCode(DSPHLE* dsphle, u32 crc);

View File

@ -10,7 +10,7 @@ namespace DSP::HLE
{
class DSPHLE;
class ROMUCode : public UCodeInterface
class ROMUCode final : public UCodeInterface
{
public:
ROMUCode(DSPHLE* dsphle, u32 crc);

View File

@ -187,7 +187,7 @@ private:
u32 m_reverb_pb_base_addr = 0;
};
class ZeldaUCode : public UCodeInterface
class ZeldaUCode final : public UCodeInterface
{
public:
ZeldaUCode(DSPHLE* dsphle, u32 crc);