VERY experimental Nintendo Switch 2 emulator
C++
Remove extraneous semicolons
Lioncash1a8f466217f5
diff --git a/src/common/symbols.h b/src/common/symbols.hindex b13a8001ab..4560f52404 100644--- a/src/common/symbols.h+++ b/src/common/symbols.h@@ -33,5 +33,5 @@ namespace Symbolsconst std::string GetName(u32 _address);void Remove(u32 _address);void Clear();-};+}diff --git a/src/common/thread.h b/src/common/thread.hindex f7ace21b4a..5e7bc1f9ce 100644--- a/src/common/thread.h+++ b/src/common/thread.h@@ -36,7 +36,7 @@ class Eventpublic:Event(): is_set(false)- {};+ {}void Set(){diff --git a/src/core/core_timing.h b/src/core/core_timing.hindex 09fdf7a908..b197cf40ce 100644--- a/src/core/core_timing.h+++ b/src/core/core_timing.h@@ -106,4 +106,4 @@ void SetClockFrequencyMHz(int cpuMhz);int GetClockFrequencyMHz();extern int slicelength;-}; // namespace+} // namespacediff --git a/src/core/file_sys/archive_romfs.cpp b/src/core/file_sys/archive_romfs.cppindex 3ea60134f6..551913a422 100644--- a/src/core/file_sys/archive_romfs.cpp+++ b/src/core/file_sys/archive_romfs.cpp@@ -41,7 +41,7 @@ std::unique_ptr<File> Archive_RomFS::OpenFile(const Path& path, const Mode mode)bool Archive_RomFS::CreateDirectory(const Path& path) const {ERROR_LOG(FILESYS, "Attempted to create a directory in ROMFS.");return false;-};+}/*** Open a directory specified by its pathdiff --git a/src/core/file_sys/archive_romfs.h b/src/core/file_sys/archive_romfs.hindex 8d57157341..b0dd421b7a 100644--- a/src/core/file_sys/archive_romfs.h+++ b/src/core/file_sys/archive_romfs.h@@ -26,7 +26,7 @@ public:* Get the IdCode of the archive (e.g. RomFS, SaveData, etc.)* @return IdCode of the archive*/- IdCode GetIdCode() const override { return IdCode::RomFS; };+ IdCode GetIdCode() const override { return IdCode::RomFS; }/*** Open a file specified by its path, using the specified modediff --git a/src/core/file_sys/archive_sdmc.h b/src/core/file_sys/archive_sdmc.hindex 1f621b3f7e..17b9209b45 100644--- a/src/core/file_sys/archive_sdmc.h+++ b/src/core/file_sys/archive_sdmc.h@@ -30,7 +30,7 @@ public:* Get the IdCode of the archive (e.g. RomFS, SaveData, etc.)* @return IdCode of the archive*/- IdCode GetIdCode() const override { return IdCode::SDMC; };+ IdCode GetIdCode() const override { return IdCode::SDMC; }/*** Open a file specified by its path, using the specified modediff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.hindex 867d1b89cd..dd7c91d4f6 100644--- a/src/core/hle/kernel/kernel.h+++ b/src/core/hle/kernel/kernel.h@@ -87,7 +87,7 @@ public:delete pool[handle - HANDLE_OFFSET];}return error;- };+ }bool IsValid(Handle handle);diff --git a/src/core/system.h b/src/core/system.hindex 8f8ddf87bc..b5f0c5a559 100644--- a/src/core/system.h+++ b/src/core/system.h@@ -30,4 +30,4 @@ void RunLoopFor(int cycles);void RunLoopUntil(u64 global_cycles);void Shutdown();-};+}