summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/symbols.h2
-rw-r--r--src/common/thread.h2
-rw-r--r--src/core/arm/dyncom/arm_dyncom.h2
-rw-r--r--src/core/arm/interpreter/arm_interpreter.h2
-rw-r--r--src/core/core_timing.h2
-rw-r--r--src/core/file_sys/archive_romfs.cpp2
-rw-r--r--src/core/file_sys/archive_romfs.h2
-rw-r--r--src/core/file_sys/archive_sdmc.h2
-rw-r--r--src/core/file_sys/directory_sdmc.cpp2
-rw-r--r--src/core/hle/kernel/kernel.h2
-rw-r--r--src/core/mem_map.h2
-rw-r--r--src/core/system.h22
12 files changed, 22 insertions, 22 deletions
diff --git a/src/common/symbols.h b/src/common/symbols.h
index b13a8001a..4560f5240 100644
--- a/src/common/symbols.h
+++ b/src/common/symbols.h
@@ -33,5 +33,5 @@ namespace Symbols
33 const std::string GetName(u32 _address); 33 const std::string GetName(u32 _address);
34 void Remove(u32 _address); 34 void Remove(u32 _address);
35 void Clear(); 35 void Clear();
36}; 36}
37 37
diff --git a/src/common/thread.h b/src/common/thread.h
index f7ace21b4..5e7bc1f9c 100644
--- a/src/common/thread.h
+++ b/src/common/thread.h
@@ -36,7 +36,7 @@ class Event
36public: 36public:
37 Event() 37 Event()
38 : is_set(false) 38 : is_set(false)
39 {}; 39 {}
40 40
41 void Set() 41 void Set()
42 { 42 {
diff --git a/src/core/arm/dyncom/arm_dyncom.h b/src/core/arm/dyncom/arm_dyncom.h
index 1f8cd3a3a..f3c70b7d3 100644
--- a/src/core/arm/dyncom/arm_dyncom.h
+++ b/src/core/arm/dyncom/arm_dyncom.h
@@ -19,7 +19,7 @@ public:
19 19
20 /** 20 /**
21 * Set the Program Counter to an address 21 * Set the Program Counter to an address
22 * @param addr Address to set PC to 22 * @param pc Address to set PC to
23 */ 23 */
24 void SetPC(u32 pc) override; 24 void SetPC(u32 pc) override;
25 25
diff --git a/src/core/arm/interpreter/arm_interpreter.h b/src/core/arm/interpreter/arm_interpreter.h
index ceb1be438..f1e7198c5 100644
--- a/src/core/arm/interpreter/arm_interpreter.h
+++ b/src/core/arm/interpreter/arm_interpreter.h
@@ -18,7 +18,7 @@ public:
18 18
19 /** 19 /**
20 * Set the Program Counter to an address 20 * Set the Program Counter to an address
21 * @param addr Address to set PC to 21 * @param pc Address to set PC to
22 */ 22 */
23 void SetPC(u32 pc) override; 23 void SetPC(u32 pc) override;
24 24
diff --git a/src/core/core_timing.h b/src/core/core_timing.h
index 09fdf7a90..b197cf40c 100644
--- a/src/core/core_timing.h
+++ b/src/core/core_timing.h
@@ -106,4 +106,4 @@ void SetClockFrequencyMHz(int cpuMhz);
106int GetClockFrequencyMHz(); 106int GetClockFrequencyMHz();
107extern int slicelength; 107extern int slicelength;
108 108
109}; // namespace 109} // namespace
diff --git a/src/core/file_sys/archive_romfs.cpp b/src/core/file_sys/archive_romfs.cpp
index 3ea60134f..551913a42 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)
41bool Archive_RomFS::CreateDirectory(const Path& path) const { 41bool Archive_RomFS::CreateDirectory(const Path& path) const {
42 ERROR_LOG(FILESYS, "Attempted to create a directory in ROMFS."); 42 ERROR_LOG(FILESYS, "Attempted to create a directory in ROMFS.");
43 return false; 43 return false;
44}; 44}
45 45
46/** 46/**
47 * Open a directory specified by its path 47 * Open a directory specified by its path
diff --git a/src/core/file_sys/archive_romfs.h b/src/core/file_sys/archive_romfs.h
index 8d5715734..b0dd421b7 100644
--- a/src/core/file_sys/archive_romfs.h
+++ b/src/core/file_sys/archive_romfs.h
@@ -26,7 +26,7 @@ public:
26 * Get the IdCode of the archive (e.g. RomFS, SaveData, etc.) 26 * Get the IdCode of the archive (e.g. RomFS, SaveData, etc.)
27 * @return IdCode of the archive 27 * @return IdCode of the archive
28 */ 28 */
29 IdCode GetIdCode() const override { return IdCode::RomFS; }; 29 IdCode GetIdCode() const override { return IdCode::RomFS; }
30 30
31 /** 31 /**
32 * Open a file specified by its path, using the specified mode 32 * Open a file specified by its path, using the specified mode
diff --git a/src/core/file_sys/archive_sdmc.h b/src/core/file_sys/archive_sdmc.h
index 1f621b3f7..17b9209b4 100644
--- a/src/core/file_sys/archive_sdmc.h
+++ b/src/core/file_sys/archive_sdmc.h
@@ -30,7 +30,7 @@ public:
30 * Get the IdCode of the archive (e.g. RomFS, SaveData, etc.) 30 * Get the IdCode of the archive (e.g. RomFS, SaveData, etc.)
31 * @return IdCode of the archive 31 * @return IdCode of the archive
32 */ 32 */
33 IdCode GetIdCode() const override { return IdCode::SDMC; }; 33 IdCode GetIdCode() const override { return IdCode::SDMC; }
34 34
35 /** 35 /**
36 * Open a file specified by its path, using the specified mode 36 * Open a file specified by its path, using the specified mode
diff --git a/src/core/file_sys/directory_sdmc.cpp b/src/core/file_sys/directory_sdmc.cpp
index 923ca6862..60a197ce9 100644
--- a/src/core/file_sys/directory_sdmc.cpp
+++ b/src/core/file_sys/directory_sdmc.cpp
@@ -45,7 +45,7 @@ u32 Directory_SDMC::Read(const u32 count, Entry* entries) {
45 WARN_LOG(FILESYS, "File %s: size=%llu dir=%d", filename.c_str(), file.size, file.isDirectory); 45 WARN_LOG(FILESYS, "File %s: size=%llu dir=%d", filename.c_str(), file.size, file.isDirectory);
46 46
47 // TODO(Link Mauve): use a proper conversion to UTF-16. 47 // TODO(Link Mauve): use a proper conversion to UTF-16.
48 for (int j = 0; j < FILENAME_LENGTH; ++j) { 48 for (size_t j = 0; j < FILENAME_LENGTH; ++j) {
49 entry.filename[j] = filename[j]; 49 entry.filename[j] = filename[j];
50 if (!filename[j]) 50 if (!filename[j])
51 break; 51 break;
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index 867d1b89c..dd7c91d4f 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -87,7 +87,7 @@ public:
87 delete pool[handle - HANDLE_OFFSET]; 87 delete pool[handle - HANDLE_OFFSET];
88 } 88 }
89 return error; 89 return error;
90 }; 90 }
91 91
92 bool IsValid(Handle handle); 92 bool IsValid(Handle handle);
93 93
diff --git a/src/core/mem_map.h b/src/core/mem_map.h
index 87de5cd63..a58c59244 100644
--- a/src/core/mem_map.h
+++ b/src/core/mem_map.h
@@ -157,7 +157,7 @@ u8* GetPointer(VAddr virtual_address);
157 * Maps a block of memory on the heap 157 * Maps a block of memory on the heap
158 * @param size Size of block in bytes 158 * @param size Size of block in bytes
159 * @param operation Memory map operation type 159 * @param operation Memory map operation type
160 * @param flags Memory allocation flags 160 * @param permissions Memory allocation permissions
161 */ 161 */
162u32 MapBlock_Heap(u32 size, u32 operation, u32 permissions); 162u32 MapBlock_Heap(u32 size, u32 operation, u32 permissions);
163 163
diff --git a/src/core/system.h b/src/core/system.h
index 8f8ddf87b..0be8711e4 100644
--- a/src/core/system.h
+++ b/src/core/system.h
@@ -11,16 +11,16 @@
11namespace System { 11namespace System {
12 12
13// State of the full emulator 13// State of the full emulator
14typedef enum { 14enum State {
15 STATE_NULL = 0, ///< System is in null state, nothing initialized 15 STATE_NULL = 0, ///< System is in null state, nothing initialized
16 STATE_IDLE, ///< System is in an initialized state, but not running 16 STATE_IDLE, ///< System is in an initialized state, but not running
17 STATE_RUNNING, ///< System is running 17 STATE_RUNNING, ///< System is running
18 STATE_LOADING, ///< System is loading a ROM 18 STATE_LOADING, ///< System is loading a ROM
19 STATE_HALTED, ///< System is halted (error) 19 STATE_HALTED, ///< System is halted (error)
20 STATE_STALLED, ///< System is stalled (unused) 20 STATE_STALLED, ///< System is stalled (unused)
21 STATE_DEBUG, ///< System is in a special debug mode (unused) 21 STATE_DEBUG, ///< System is in a special debug mode (unused)
22 STATE_DIE ///< System is shutting down 22 STATE_DIE ///< System is shutting down
23} State; 23};
24 24
25extern volatile State g_state; 25extern volatile State g_state;
26 26
@@ -30,4 +30,4 @@ void RunLoopFor(int cycles);
30void RunLoopUntil(u64 global_cycles); 30void RunLoopUntil(u64 global_cycles);
31void Shutdown(); 31void Shutdown();
32 32
33}; 33}