Clang: Fixed compilation warnings

This commit is contained in:
Sour 2020-02-07 18:30:23 -05:00
parent 0dec581233
commit 408dacb2e9
3 changed files with 2 additions and 3 deletions

View file

@ -119,7 +119,6 @@ void EventManager::FilterEvents(EventViewerDisplayOptions &options)
bool isWrite = evt.Operation.Type == MemoryOperationType::Write || evt.Operation.Type == MemoryOperationType::DmaWrite;
bool isDma = evt.Operation.Type == MemoryOperationType::DmaWrite || evt.Operation.Type == MemoryOperationType::DmaRead;
bool showEvent = false;
uint32_t color = 0;
switch(evt.Type) {
case DebugEventType::Breakpoint: showEvent = options.ShowMarkedBreakpoints;break;
case DebugEventType::Irq: showEvent = options.ShowIrq; break;

View file

@ -6,7 +6,7 @@
class Spc;
class Msu1 : public ISerializable
class Msu1 final : public ISerializable
{
private:
Spc * _spc;

View file

@ -14,7 +14,7 @@ private:
public:
GifRecorder();
~GifRecorder();
virtual ~GifRecorder();
bool StartRecording(string filename, uint32_t width, uint32_t height, uint32_t bpp, uint32_t audioSampleRate, double fps) override;
void StopRecording() override;