diff --git a/common/include/Pcsx2Types.h b/common/include/Pcsx2Types.h index 5ca16dc129..0842dbf9e7 100644 --- a/common/include/Pcsx2Types.h +++ b/common/include/Pcsx2Types.h @@ -105,10 +105,10 @@ typedef s32 sptr; ////////////////////////////////////////////////////////////////////////////////////////// // A rough-and-ready cross platform 128-bit datatype, Non-SSE style. // -// Note: These structs do not provide any additional constructors because C++ can't allow -// the use of dataypes with constructors in unions (and since unions are ont of the primary -// uses of these types, that measn we can't have constructors). Embedded functions for -// performing explicity conversion from 64 and 32 bit values is provided instead. +// Note: These structs don't provide any additional constructors because C++ doesn't allow +// the use of datatypes with constructors in unions (and since unions aren't the primary +// uses of these types, that means we can't have constructors). Embedded functions for +// performing explicit conversion from 64 and 32 bit values are provided instead. // #ifdef __cplusplus struct u128 @@ -167,4 +167,4 @@ typedef union _s128_t #endif -#endif \ No newline at end of file +#endif diff --git a/common/include/Utilities/ScopedPtr.h b/common/include/Utilities/ScopedPtr.h index 44a34153ee..e2d031b77c 100644 --- a/common/include/Utilities/ScopedPtr.h +++ b/common/include/Utilities/ScopedPtr.h @@ -165,7 +165,7 @@ public: operator unspecified_bool_type() const { - return ( !IsEmpty() ) ? &pxScopedPtr::get : NULL; + return ( !IsEmpty() ) ? &ScopedPtr::get : NULL; } void reset(T * ptr = &DefaultStaticInst)