mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
Merge pull request #5848 from lioncash/semi
General: Remove unnecessary semicolons
This commit is contained in:
commit
141fb0f03c
@ -13,7 +13,7 @@
|
||||
class TraversalClientClient
|
||||
{
|
||||
public:
|
||||
virtual ~TraversalClientClient(){};
|
||||
virtual ~TraversalClientClient() = default;
|
||||
virtual void OnTraversalStateChanged() = 0;
|
||||
virtual void OnConnectReady(ENetAddress addr) = 0;
|
||||
virtual void OnConnectFailed(u8 reason) = 0;
|
||||
|
@ -46,8 +46,7 @@ public:
|
||||
~WiimoteScannerLinux() override;
|
||||
bool IsReady() const override;
|
||||
void FindWiimotes(std::vector<Wiimote*>&, Wiimote*&) override;
|
||||
void Update() override{}; // not needed on Linux
|
||||
|
||||
void Update() override {} // not needed on Linux
|
||||
private:
|
||||
int m_device_id;
|
||||
int m_device_sock;
|
||||
|
@ -996,4 +996,4 @@ bool ForgetWiimote(BLUETOOTH_DEVICE_INFO_STRUCT& btdi)
|
||||
|
||||
return false;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ public:
|
||||
~WiimoteScannerDarwin() override = default;
|
||||
bool IsReady() const override;
|
||||
void FindWiimotes(std::vector<Wiimote*>&, Wiimote*&) override;
|
||||
void Update() override{}; // not needed
|
||||
void Update() override {} // not needed
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -37,7 +37,7 @@ public:
|
||||
~WiimoteScannerHidapi();
|
||||
bool IsReady() const override;
|
||||
void FindWiimotes(std::vector<Wiimote*>&, Wiimote*&) override;
|
||||
void Update() override{}; // not needed for hidapi
|
||||
void Update() override {} // not needed for hidapi
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -116,7 +116,7 @@ public:
|
||||
JitBase();
|
||||
~JitBase() override;
|
||||
|
||||
static const u8* Dispatch() { return g_jit->GetBlockCache()->Dispatch(); };
|
||||
static const u8* Dispatch() { return g_jit->GetBlockCache()->Dispatch(); }
|
||||
virtual JitBaseBlockCache* GetBlockCache() = 0;
|
||||
|
||||
virtual void Jit(u32 em_address) = 0;
|
||||
|
@ -11,7 +11,7 @@ namespace Config
|
||||
{
|
||||
template <typename T>
|
||||
struct ConfigInfo;
|
||||
};
|
||||
}
|
||||
|
||||
class GraphicsBool : public QCheckBox
|
||||
{
|
||||
|
@ -10,7 +10,7 @@ namespace Config
|
||||
{
|
||||
template <typename T>
|
||||
struct ConfigInfo;
|
||||
};
|
||||
}
|
||||
|
||||
class GraphicsChoice : public QComboBox
|
||||
{
|
||||
|
@ -10,7 +10,7 @@ namespace Config
|
||||
{
|
||||
template <typename T>
|
||||
struct ConfigInfo;
|
||||
};
|
||||
}
|
||||
|
||||
class GraphicsSlider : public QSlider
|
||||
{
|
||||
|
@ -12,7 +12,7 @@ class MappingWidget;
|
||||
namespace ControllerEmu
|
||||
{
|
||||
class NumericSetting;
|
||||
};
|
||||
}
|
||||
|
||||
class MappingNumeric : public QSpinBox
|
||||
{
|
||||
|
@ -116,4 +116,4 @@ void PerformOnlineUpdate(const std::string& region, QWidget* parent)
|
||||
break;
|
||||
}
|
||||
}
|
||||
}; // namespace WiiUpdate
|
||||
} // namespace WiiUpdate
|
||||
|
@ -11,4 +11,4 @@ class QWidget;
|
||||
namespace WiiUpdate
|
||||
{
|
||||
void PerformOnlineUpdate(const std::string& region, QWidget* parent = nullptr);
|
||||
}; // namespace WiiUpdate
|
||||
} // namespace WiiUpdate
|
||||
|
@ -27,7 +27,7 @@ private:
|
||||
std::array<u16, 32> m_CachedRegs{};
|
||||
std::array<bool, 32> m_CachedRegHasChanged{};
|
||||
|
||||
DECLARE_NO_COPY_CLASS(CDSPRegTable);
|
||||
DECLARE_NO_COPY_CLASS(CDSPRegTable)
|
||||
};
|
||||
|
||||
class DSPRegisterView final : public wxGrid
|
||||
|
@ -30,7 +30,7 @@ private:
|
||||
std::array<u32, MAX_SPECIALS> m_CachedWatch;
|
||||
std::array<bool, MAX_SPECIALS> m_CachedWatchHasChanged;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(CWatchTable);
|
||||
DECLARE_NO_COPY_CLASS(CWatchTable)
|
||||
};
|
||||
|
||||
class CWatchView : public wxGrid
|
||||
|
@ -366,5 +366,5 @@ private:
|
||||
bool InitControllers();
|
||||
|
||||
// Event table
|
||||
DECLARE_EVENT_TABLE();
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
@ -59,7 +59,7 @@ public:
|
||||
virtual ~CISOProperties();
|
||||
|
||||
private:
|
||||
DECLARE_EVENT_TABLE();
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
||||
std::unique_ptr<DiscIO::Volume> m_open_iso;
|
||||
|
||||
|
@ -26,7 +26,7 @@ public:
|
||||
~CMemcardManager();
|
||||
|
||||
private:
|
||||
DECLARE_EVENT_TABLE();
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
||||
std::array<int, 2> page;
|
||||
int itemsPerPage;
|
||||
|
@ -26,8 +26,7 @@ public:
|
||||
|
||||
void RenderText(const std::string& pstr, int left, int top, u32 color) override;
|
||||
u32 AccessEFB(EFBAccessType type, u32 x, u32 y, u32 poke_data) override;
|
||||
void PokeEFB(EFBAccessType type, const EfbPokeData* points, size_t num_points) override{};
|
||||
|
||||
void PokeEFB(EFBAccessType type, const EfbPokeData* points, size_t num_points) override {}
|
||||
u16 BBoxRead(int index) override;
|
||||
void BBoxWrite(int index, u16 value) override;
|
||||
|
||||
|
@ -40,9 +40,9 @@ public:
|
||||
{
|
||||
memset(EfbInterface::perf_values, 0, sizeof(EfbInterface::perf_values));
|
||||
}
|
||||
u32 GetQueryResult(PerfQueryType type) override { return EfbInterface::perf_values[type]; };
|
||||
u32 GetQueryResult(PerfQueryType type) override { return EfbInterface::perf_values[type]; }
|
||||
void FlushResults() override {}
|
||||
bool IsFlushed() const override { return true; };
|
||||
bool IsFlushed() const override { return true; }
|
||||
};
|
||||
|
||||
class TextureCache : public TextureCacheBase
|
||||
|
Loading…
Reference in New Issue
Block a user