Skip to content

Commit

Permalink
Update MemoryScanner.h
Browse files Browse the repository at this point in the history
Fix capitalization, add hyphen for 64-bit
  • Loading branch information
DerekTurtleRoe committed Mar 18, 2021
1 parent bc6de64 commit acda5a8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Source/Project64/UserInterface/Debugger/MemoryScanner.h
Expand Up @@ -15,7 +15,7 @@ enum ValueType
ValueType_int64,
ValueType_float,
ValueType_double,
// non-primitives:
// Non-primitives:
ValueType_string,
ValueType_istring,
ValueType_unkstring
Expand All @@ -34,10 +34,10 @@ enum SearchType
SearchType_GreaterThanValue,
SearchType_LessThanOrEqualToValue,
SearchType_GreaterThanOrEqualToValue,
// first scan only:
// First scan only:
SearchType_UnknownValue,
SearchType_JalTo,
// next scan only:
// Next scan only:
SearchType_ChangedValue,
SearchType_UnchangedValue,
SearchType_IncreasedValue,
Expand Down Expand Up @@ -250,7 +250,7 @@ class CMemoryScanner
}
}

// for int64 and double
// For int64 and double
template <class T>
void FirstScanLoopPrimitive64(bool(*CompareFunc)(T, T), DisplayFormat resultDisplayFormat)
{
Expand All @@ -276,7 +276,7 @@ class CMemoryScanner
}
}

// compare result's current value in memory against m_Value
// Compare result's current value in memory against m_Value
template <class T>
void NextScanLoopPrimitive(bool(*CompareFunc)(T, T))
{
Expand All @@ -301,7 +301,7 @@ class CMemoryScanner
m_Results.swap(m_NewResults);
}

// compare result's current value in memory against m_Value (for 64 bit types)
// Compare result's current value in memory against m_Value (for 64-bit types)
template <class T>
void NextScanLoopPrimitive64(bool(*CompareFunc)(T, T))
{
Expand All @@ -328,7 +328,7 @@ class CMemoryScanner
m_Results.swap(m_NewResults);
}

// compare result's current value in memory against result's old value
// Compare result's current value in memory against result's old value
template <class T>
void NextScanLoopPrimitiveResults(bool(*CompareFunc)(T, T))
{
Expand All @@ -354,7 +354,7 @@ class CMemoryScanner
m_Results.swap(m_NewResults);
}

// compare result's current value in memory against result's old value (for 64 bit types)
// Compare result's current value in memory against result's old value (for 64-bit types)
template <class T>
void NextScanLoopPrimitiveResults64(bool(*CompareFunc)(T, T))
{
Expand Down

0 comments on commit acda5a8

Please sign in to comment.