Skip to content

Commit

Permalink
Fix various comment typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Sintendo committed Oct 24, 2016
1 parent b0e2642 commit f163bd1
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Source/CMakeLists.txt
Expand Up @@ -56,4 +56,4 @@ if (DSPTOOL)
add_subdirectory(DSPTool)
endif()

# TODO: Add DSPSpy. Preferrably make it option() and cpack component
# TODO: Add DSPSpy. Preferably make it option() and cpack component
2 changes: 1 addition & 1 deletion Source/Core/Core/PowerPC/JitCommon/JitCache.cpp
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/Core/State.cpp
Expand Up @@ -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
Expand Down
Expand Up @@ -17,7 +17,7 @@
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),
Expand Down
5 changes: 3 additions & 2 deletions Source/Core/VideoBackends/D3D12/D3DState.cpp
Expand Up @@ -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;
Expand All @@ -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();

Expand Down
9 changes: 5 additions & 4 deletions Source/Core/VideoCommon/DriverDetails.h
Expand Up @@ -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+
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit f163bd1

Please sign in to comment.