summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorSintendo <bram.speeckaert@gmail.com>2016-09-12 00:25:45 +0200
committerSintendo <bram.speeckaert@gmail.com>2016-10-24 18:27:49 +0200
commitf163bd1048fea457d254dba0677e4e6637c46707 (patch)
tree6300856e2a66181b24d916f08658cf528f8feb2b /Source/Core
parentb0e2642883794e53364873eca3f54347fd6fb2b6 (diff)
Fix various comment typos
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/PowerPC/JitCommon/JitCache.cpp2
-rw-r--r--Source/Core/Core/State.cpp2
-rw-r--r--Source/Core/InputCommon/ControllerInterface/OSX/OSXKeyboard.mm2
-rw-r--r--Source/Core/VideoBackends/D3D12/D3DState.cpp5
-rw-r--r--Source/Core/VideoCommon/DriverDetails.h9
5 files changed, 11 insertions, 9 deletions
diff --git a/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp b/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp
index 32fe07fb2c..1d601b3a64 100644
--- a/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp
+++ b/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp
@@ -295,7 +295,7 @@ void JitBaseBlockCache::DestroyBlock(int block_num, bool invalidate)
UnlinkBlock(block_num);
- // Delete linking adresses
+ // Delete linking addresses
auto it = links_to.equal_range(b.effectiveAddress);
while (it.first != it.second)
{
diff --git a/Source/Core/Core/State.cpp b/Source/Core/Core/State.cpp
index 1ad2b8cb26..4ad28f1d21 100644
--- a/Source/Core/Core/State.cpp
+++ b/Source/Core/Core/State.cpp
@@ -75,7 +75,7 @@ static const u32 STATE_VERSION = 65; // Last changed in PR 4120
// Maps savestate versions to Dolphin versions.
// Versions after 42 don't need to be added to this list,
-// beacuse they save the exact Dolphin version to savestates.
+// because they save the exact Dolphin version to savestates.
static const std::map<u32, std::pair<std::string, std::string>> s_old_versions = {
// The 16 -> 17 change modified the size of StateHeader,
// so versions older than that can't even be decompressed anymore
diff --git a/Source/Core/InputCommon/ControllerInterface/OSX/OSXKeyboard.mm b/Source/Core/InputCommon/ControllerInterface/OSX/OSXKeyboard.mm
index a2ca55649d..8fb6ebe80d 100644
--- a/Source/Core/InputCommon/ControllerInterface/OSX/OSXKeyboard.mm
+++ b/Source/Core/InputCommon/ControllerInterface/OSX/OSXKeyboard.mm
@@ -17,7 +17,7 @@ namespace OSX
Keyboard::Keyboard(IOHIDDeviceRef device, std::string name, void* window)
: m_device(device), m_device_name(name)
{
- // This class should only recieve Keyboard or Keypad devices
+ // This class should only receive Keyboard or Keypad devices
// Now, filter on just the buttons we can handle sanely
NSDictionary* matchingElements = @{
@kIOHIDElementTypeKey : @(kIOHIDElementTypeInput_Button),
diff --git a/Source/Core/VideoBackends/D3D12/D3DState.cpp b/Source/Core/VideoBackends/D3D12/D3DState.cpp
index 6d87c974ea..8c96793505 100644
--- a/Source/Core/VideoBackends/D3D12/D3DState.cpp
+++ b/Source/Core/VideoBackends/D3D12/D3DState.cpp
@@ -133,7 +133,7 @@ void StateCache::Init()
// Root signature isn't available at time of StateCache construction, so fill it in now.
gx_state_cache.m_current_pso_desc.pRootSignature = D3D::default_root_signature;
- // Multi-sample configuration isn't available at time of StateCache construction, so fille it in
+ // Multi-sample configuration isn't available at time of StateCache construction, so fill it in
// now.
gx_state_cache.m_current_pso_desc.SampleDesc.Count = g_ActiveConfig.iMultisamples;
gx_state_cache.m_current_pso_desc.SampleDesc.Quality = 0;
@@ -154,7 +154,8 @@ void StateCache::Init()
// - The file itself is corrupt.
// - A driver/HW change has occurred, causing the existing cache blobs to be invalid.
//
- // In either case, we want to re-create the disk cache. This should not be a frequent occurence.
+ // In either case, we want to re-create the disk cache. This should not be a frequent
+ // occurrence.
s_pso_disk_cache.Close();
diff --git a/Source/Core/VideoCommon/DriverDetails.h b/Source/Core/VideoCommon/DriverDetails.h
index ebf38886be..ffadaa44d3 100644
--- a/Source/Core/VideoCommon/DriverDetails.h
+++ b/Source/Core/VideoCommon/DriverDetails.h
@@ -104,7 +104,8 @@ enum Bug
// Ended Version: -1
// Both Adreno and Mali have issues when you call glBufferSubData or glMapBufferRange
// The driver stalls in each instance no matter what you do
- // Apparently Mali and Adreno share code in this regard since it was wrote by the same person.
+ // Apparently Mali and Adreno share code in this regard since they were written by the same
+ // person.
BUG_BROKENBUFFERSTREAM,
// Bug: ARB_buffer_storage doesn't work with ARRAY_BUFFER type streams
// Affected devices: GeForce 4xx+
@@ -153,8 +154,8 @@ enum Bug
// This bug has a secondary issue tied to it unlike other bugs.
// The correction of this bug is to check the boolean value against false which results in us
// not doing a negation of the source but instead checking against the boolean value we want.
- // The issue with this is that Intel's Window driver is broken when checking if a boolean value is
- // equal to true or false, so one has to do a boolean negation of the source
+ // The issue with this is that Intel's Windows driver is broken when checking if a boolean value
+ // is equal to true or false, so one has to do a boolean negation of the source
//
// eg.
// Broken on Qualcomm
@@ -198,7 +199,7 @@ enum Bug
// Started Version: -1
// Ended Version: -1
// Our ARB_buffer_storage code uses explicit flush to avoid coherent mapping.
- // Qualcomm seems to have lots of overhead on exlicit flushing, but the coherent mapping path is
+ // Qualcomm seems to have lots of overhead on explicit flushing, but the coherent mapping path is
// fine.
// So let's use coherent mapping there.
BUG_BROKENEXPLICITFLUSH,