2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Src/Debugger/CodeWindowFunctions.cpp
Expand Up @@ -397,7 +397,7 @@ void CCodeWindow::OnChangeFont(wxCommandEvent& event)
DebuggerFont = dialog.GetFontData().GetChosenFont();
}

// Toogle windows
// Toggle windows

void CCodeWindow::OpenPages()
{
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Src/Debugger/DebuggerPanel.h
Expand Up @@ -79,7 +79,7 @@ class GFXDebuggerPanel : public wxPanel, public GFXDebuggerBase

void GeneralSettings(wxCommandEvent& event);

// These set GFXDebuggerPauseFlag to true (either immediately or once the specified event has occured)
// These set GFXDebuggerPauseFlag to true (either immediately or once the specified event has occurred)
void OnPauseButton(wxCommandEvent& event);
void OnPauseAtNextButton(wxCommandEvent& event);

Expand Down
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Src/Debugger/MemoryWindow.cpp
Expand Up @@ -66,7 +66,7 @@ CMemoryWindow::CMemoryWindow(wxWindow* parent, wxWindowID id,
{
wxBoxSizer* sizerBig = new wxBoxSizer(wxHORIZONTAL);
wxBoxSizer* sizerRight = new wxBoxSizer(wxVERTICAL);
// Didn't see anything usefull in the left part
// Didn't see anything useful in the left part
//wxBoxSizer* sizerLeft = new wxBoxSizer(wxVERTICAL);

DebugInterface* di = &PowerPC::debug_interface;
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Src/Frame.cpp
Expand Up @@ -43,7 +43,7 @@ extern "C" {


#ifdef _WIN32
// I could not use FindItemByHWND() instead of this, it crashed on that occation I used it */
// I could not use FindItemByHWND() instead of this, it crashed on that occasion I used it */
HWND MSWGetParent_(HWND Parent)
{
return GetParent(Parent);
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Src/GameListCtrl.cpp
Expand Up @@ -988,7 +988,7 @@ void CGameListCtrl::OnSetDefaultGCM(wxCommandEvent& event)
}
else
{
// Othwerise blank the value and save it
// Otherwise blank the value and save it
SConfig::GetInstance().m_LocalCoreStartupParameter.m_strDefaultGCM = "";
SConfig::GetInstance().SaveSettings();
}
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Src/GeckoCodeDiag.cpp
Expand Up @@ -207,7 +207,7 @@ void CodeConfigPanel::DownloadCodes(wxCommandEvent&)
case 0 :
{
std::istringstream ssline(line);
// stop at [ character (begining of contributer name)
// stop at [ character (beginning of contributor name)
std::getline(ssline, gcode.name, '[');
gcode.name = StripSpaces(gcode.name);
// read the code creator name
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Src/ISOFile.cpp
Expand Up @@ -67,7 +67,7 @@ GameListItem::GameListItem(const std::string& _rFileName)
m_IsDiscTwo = pVolume->IsDiscTwo();
m_Revision = pVolume->GetRevision();

// check if we can get some infos from the banner file too
// check if we can get some info from the banner file too
DiscIO::IFileSystem* pFileSystem = DiscIO::CreateFileSystem(pVolume);

if (pFileSystem != NULL || m_Platform == WII_WAD)
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Src/ISOProperties.cpp
Expand Up @@ -1347,7 +1347,7 @@ void CISOProperties::ChangeBannerDetails(int lang)
wxString const comment = StrToWxStr(OpenGameListItem->GetDescription(lang));
wxString const maker = StrToWxStr(OpenGameListItem->GetCompany());

// Updates the informations shown in the window
// Updates the information shown in the window
m_ShortName->SetValue(shortName);
m_Comment->SetValue(comment);
m_Maker->SetValue(maker);//dev too
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Src/VideoConfigDiag.cpp
Expand Up @@ -126,7 +126,7 @@ wxString cache_efb_copies_desc = wxTRANSLATE("Slightly speeds up EFB to RAM copi
wxString shader_errors_desc = wxTRANSLATE("Usually if shader compilation fails, an error message is displayed.\nHowever, one may skip the popups to allow interruption free gameplay by checking this option.\n\nIf unsure, leave this unchecked.");


// Search for avaliable resolutions - TODO: Move to Common?
// Search for available resolutions - TODO: Move to Common?
wxArrayString GetListOfResolutions()
{
wxArrayString retlist;
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Src/WiimoteConfigDiag.cpp
Expand Up @@ -23,7 +23,7 @@ WiimoteConfigDiag::WiimoteConfigDiag(wxWindow* const parent, InputPlugin& plugin
const wxString src_choices[] = { _("None"),
_("Emulated Wiimote"), _("Real Wiimote"), _("Hybrid Wiimote") };

// reserve four ids, so that we can calculate the index from the ids lateron
// reserve four ids, so that we can calculate the index from the ids later on
// Stupid wx 2.8 doesn't support reserving sequential IDs, so we need to do that more complicated..
int source_ctrl_id = wxWindow::NewControlId();
m_wiimote_index_from_ctrl_id.insert(std::pair<wxWindowID, unsigned int>(source_ctrl_id, i));
Expand Down
8 changes: 4 additions & 4 deletions Source/Core/InputCommon/Src/ControllerEmu.h
Expand Up @@ -140,7 +140,7 @@ class ControllerEmu
// deadzone / square stick code
if (deadzone || square)
{
// this section might be all wrong, but its working good enough, i think
// this section might be all wrong, but its working good enough, I think

ControlState ang = atan2(yy, xx);
ControlState ang_sin = sin(ang);
Expand All @@ -150,7 +150,7 @@ class ControllerEmu
ControlState square_full = std::min(ang_sin ? 1/fabsf(ang_sin) : 2, ang_cos ? 1/fabsf(ang_cos) : 2);

// the amt a full stick would have that was ( user setting squareness) at current angle
// i think this is more like a pointed circle rather than a rounded square like it should be
// I think this is more like a pointed circle rather than a rounded square like it should be
ControlState stick_full = (1 + (square_full - 1) * square);

ControlState dist = sqrt(xx*xx + yy*yy);
Expand Down Expand Up @@ -312,7 +312,7 @@ class ControllerEmu
// deadzone / circle stick code
if (deadzone || circle)
{
// this section might be all wrong, but its working good enough, i think
// this section might be all wrong, but its working good enough, I think

ControlState ang = atan2(yy, xx);
ControlState ang_sin = sin(ang);
Expand All @@ -322,7 +322,7 @@ class ControllerEmu
ControlState square_full = std::min(ang_sin ? 1/fabsf(ang_sin) : 2, ang_cos ? 1/fabsf(ang_cos) : 2);

// the amt a full stick would have that was (user setting circular) at current angle
// i think this is more like a pointed circle rather than a rounded square like it should be
// I think this is more like a pointed circle rather than a rounded square like it should be
ControlState stick_full = (square_full * (1 - circle)) + (circle);

ControlState dist = sqrt(xx*xx + yy*yy);
Expand Down
Expand Up @@ -33,13 +33,13 @@
#define CIFACE_USE_ANDROID
#endif

// idk in case i wanted to change it to double or somethin, idk what's best
// idk in case I wanted to change it to double or something, idk what's best
typedef float ControlState;

//
// ControllerInterface
//
// some crazy shit i made to control different device inputs and outputs
// some crazy shit I made to control different device inputs and outputs
// from lots of different sources, hopefully more easily
//
class ControllerInterface
Expand Down Expand Up @@ -189,7 +189,7 @@ class ControllerInterface
//
// these are what you create to actually use the inputs, InputReference or OutputReference
//
// after being binded to devices and controls with ControllerInterface::UpdateReference,
// after being bound to devices and controls with ControllerInterface::UpdateReference,
// each one can link to multiple devices and controls
// when you change a ControlReference's expression,
// you must use ControllerInterface::UpdateReference on it to rebind controls
Expand Down
Expand Up @@ -22,13 +22,13 @@ static const struct
} force_type_names[] =
{
{GUID_ConstantForce, "Constant"}, // DICONSTANTFORCE
{GUID_RampForce, "Ramp"}, // DIRAMPFORCE
{GUID_Square, "Square"}, // DIPERIODIC ...
{GUID_RampForce, "Ramp"}, // DIRAMPFORCE
{GUID_Square, "Square"}, // DIPERIODIC ...
{GUID_Sine, "Sine"},
{GUID_Triangle, "Triangle"},
{GUID_SawtoothUp, "Sawtooth Up"},
{GUID_SawtoothDown, "Sawtooth Down"},
//{GUID_Spring, "Spring"}, // DICUSTOMFORCE ... < i think
//{GUID_Spring, "Spring"}, // DICUSTOMFORCE ... < I think
//{GUID_Damper, "Damper"},
//{GUID_Inertia, "Inertia"},
//{GUID_Friction, "Friction"},
Expand Down Expand Up @@ -70,9 +70,9 @@ void GetXInputGUIDS( std::vector<DWORD>& guids )
if( FAILED(hr) || pIWbemLocator == NULL )
goto LCleanup;

bstrNamespace = SysAllocString( L"\\\\.\\root\\cimv2" );if( bstrNamespace == NULL ) goto LCleanup;
bstrClassName = SysAllocString( L"Win32_PNPEntity" ); if( bstrClassName == NULL ) goto LCleanup;
bstrDeviceID = SysAllocString( L"DeviceID" ); if( bstrDeviceID == NULL ) goto LCleanup;
bstrNamespace = SysAllocString( L"\\\\.\\root\\cimv2" );if( bstrNamespace == NULL ) goto LCleanup;
bstrClassName = SysAllocString( L"Win32_PNPEntity" ); if( bstrClassName == NULL ) goto LCleanup;
bstrDeviceID = SysAllocString( L"DeviceID" ); if( bstrDeviceID == NULL ) goto LCleanup;

// Connect to WMI
hr = pIWbemLocator->ConnectServer( bstrNamespace, NULL, NULL, 0L, 0L, NULL, NULL, &pIWbemServices );
Expand All @@ -81,7 +81,7 @@ void GetXInputGUIDS( std::vector<DWORD>& guids )

// Switch security level to IMPERSONATE.
CoSetProxyBlanket( pIWbemServices, RPC_C_AUTHN_WINNT, RPC_C_AUTHZ_NONE, NULL,
RPC_C_AUTHN_LEVEL_CALL, RPC_C_IMP_LEVEL_IMPERSONATE, NULL, EOAC_NONE );
RPC_C_AUTHN_LEVEL_CALL, RPC_C_IMP_LEVEL_IMPERSONATE, NULL, EOAC_NONE );

hr = pIWbemServices->CreateInstanceEnum( bstrClassName, 0, NULL, &pEnumDevices );
if( FAILED(hr) || pEnumDevices == NULL )
Expand Down Expand Up @@ -184,7 +184,7 @@ void InitJoystick(IDirectInput8* const idi8, std::vector<ControllerInterface::De
}

Joystick* js = new Joystick(/*&*i, */js_device, name_counts[i->tszInstanceName]++);
// only add if it has some inputs/outpus
// only add if it has some inputs/outputs
if (js->Inputs().size() || js->Outputs().size())
devices.push_back(js);
else
Expand All @@ -196,7 +196,6 @@ void InitJoystick(IDirectInput8* const idi8, std::vector<ControllerInterface::De
js_device->Release();
}
}

}
}

Expand Down Expand Up @@ -226,7 +225,7 @@ Joystick::Joystick( /*const LPCDIDEVICEINSTANCE lpddi, */const LPDIRECTINPUTDEVI
if (FAILED(m_device->GetCapabilities(&js_caps)))
return;

// max of 32 buttons and 4 hats / the limit of the data format i am using
// max of 32 buttons and 4 hats / the limit of the data format I am using
js_caps.dwButtons = std::min((DWORD)32, js_caps.dwButtons);
js_caps.dwPOVs = std::min((DWORD)4, js_caps.dwPOVs);

Expand Down Expand Up @@ -258,9 +257,9 @@ Joystick::Joystick( /*const LPCDIDEVICEINSTANCE lpddi, */const LPDIRECTINPUTDEVI
range.lMin = -(1 << 7);
range.lMax = (1 << 7);
m_device->SetProperty(DIPROP_RANGE, &range.diph);
// but i guess not all devices support setting range
// so i getproperty right afterward incase it didn't set :P
// this also checks that the axis is present
// but I guess not all devices support setting range
// so I getproperty right afterward incase it didn't set.
// This also checks that the axis is present
if (SUCCEEDED(m_device->GetProperty(DIPROP_RANGE, &range.diph)))
{
const LONG base = (range.lMin + range.lMax) / 2;
Expand Down Expand Up @@ -404,7 +403,7 @@ bool Joystick::UpdateInput()
HRESULT hr = 0;

// just always poll,
// msdn says if this isn't needed it doesnt do anything
// MSDN says if this isn't needed it doesn't do anything
m_device->Poll();

if (m_buffered)
Expand Down Expand Up @@ -539,7 +538,7 @@ ControlState Joystick::Button::GetState() const
ControlState Joystick::Hat::GetState() const
{
// can this func be simplified ?
// hat centered code from msdn
// hat centered code from MSDN
if (0xFFFF == LOWORD(m_hat))
return 0;
return (abs((int)(m_hat / 4500 - m_direction * 2 + 8) % 8 - 4) > 2);
Expand Down
Expand Up @@ -6,7 +6,7 @@
#include "DInput.h"

// (lower would be more sensitive) user can lower sensitivity by setting range
// seems decent here ( at 8 ), I dont think anyone would need more sensitive than this
// seems decent here ( at 8 ), I don't think anyone would need more sensitive than this
// and user can lower it much farther than they would want to with the range
#define MOUSE_AXIS_SENSITIVITY 8

Expand Down Expand Up @@ -47,7 +47,7 @@ void InitKeyboardMouse(IDirectInput8* const idi8, std::vector<ControllerInterfac
hwnd = _hwnd;

// mouse and keyboard are a combined device, to allow shift+click and stuff
// if thats dumb, i will make a VirtualDevice class that just uses ranges of inputs/outputs from other devices
// if that's dumb, I will make a VirtualDevice class that just uses ranges of inputs/outputs from other devices
// so there can be a separated Keyboard and mouse, as well as combined KeyboardMouse

LPDIRECTINPUTDEVICE8 kb_device = NULL;
Expand Down Expand Up @@ -181,7 +181,7 @@ bool KeyboardMouse::UpdateInput()

if (SUCCEEDED(kb_hr) && SUCCEEDED(mo_hr))
{
// need to smooth out the axes, otherwise it doesnt work for shit
// need to smooth out the axes, otherwise it doesn't work for shit
for (unsigned int i = 0; i < 3; ++i)
((&m_state_in.mouse.lX)[i] += (&tmp_mouse.lX)[i]) /= 2;

Expand Down
Expand Up @@ -78,15 +78,15 @@ Device::Device(const XINPUT_CAPABILITIES& caps, u8 index)
// get supported triggers
for (int i = 0; i != sizeof(named_triggers)/sizeof(*named_triggers); ++i)
{
//BYTE val = (&caps.Gamepad.bLeftTrigger)[i]; // should be max value / msdn lies
//BYTE val = (&caps.Gamepad.bLeftTrigger)[i]; // should be max value / MSDN lies
if ((&caps.Gamepad.bLeftTrigger)[i])
AddInput(new Trigger(i, (&m_state_in.Gamepad.bLeftTrigger)[i], 255 ));
}

// get supported axes
for (int i = 0; i != sizeof(named_axes)/sizeof(*named_axes); ++i)
{
//SHORT val = (&caps.Gamepad.sThumbLX)[i]; // xinput doesnt give the range / msdn is lier
//SHORT val = (&caps.Gamepad.sThumbLX)[i]; // xinput doesn't give the range / MSDN is a liar
if ((&caps.Gamepad.sThumbLX)[i])
{
const SHORT& ax = (&m_state_in.Gamepad.sThumbLX)[i];
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/InputCommon/Src/UDPWiimote.h
Expand Up @@ -37,7 +37,7 @@ class UDPWiimote
private:
std::string port,displayName;
int pharsePacket(u8 * data, size_t size);
struct _d; //using pimpl because Winsock2.h doesen't have include guards -_-
struct _d; //using pimpl because Winsock2.h doesn't have include guards -_-
_d *d;
double x,y,z;
double naX,naY,naZ;
Expand Down
4 changes: 2 additions & 2 deletions Source/Core/VideoCommon/Src/EmuWindow.cpp
Expand Up @@ -160,8 +160,8 @@ LRESULT CALLBACK WndProc( HWND hWnd, UINT iMsg, WPARAM wParam, LPARAM lParam )
s_sizing = false;
break;

/* Post the mouse events to the main window, it's nessesary because in difference to the
keyboard inputs these events only appear here, not in the parent window or any other WndProc()*/
/* Post the mouse events to the main window, it's necessary, because the difference between the
keyboard inputs is that these events only appear here, not in the parent window or any other WndProc()*/
case WM_LBUTTONDOWN:
if(g_ActiveConfig.backend_info.bSupports3DVision && g_ActiveConfig.b3DVision)
{
Expand Down
4 changes: 2 additions & 2 deletions Source/Core/VideoCommon/Src/Fifo.cpp
Expand Up @@ -112,7 +112,7 @@ void ReadDataFromFifo(u8* _uData, u32 len)
size -= pos;
if (size + len > FIFO_SIZE)
{
PanicAlert("FIFO out of bounds (sz = %i, len = %i at %08x)", size, len, pos);
PanicAlert("FIFO out of bounds (size = %i, len = %i at %08x)", size, len, pos);
}
memmove(&videoBuffer[0], &videoBuffer[pos], size);
g_pVideoData = videoBuffer;
Expand Down Expand Up @@ -165,7 +165,7 @@ void RunGpuLoop()
else readPtr += 32;

_assert_msg_(COMMANDPROCESSOR, (s32)fifo.CPReadWriteDistance - 32 >= 0 ,
"Negative fifo.CPReadWriteDistance = %i in FIFO Loop !\nThat can produce instabilty in the game. Please report it.", fifo.CPReadWriteDistance - 32);
"Negative fifo.CPReadWriteDistance = %i in FIFO Loop !\nThat can produce instability in the game. Please report it.", fifo.CPReadWriteDistance - 32);

ReadDataFromFifo(uData, 32);

Expand Down
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/Src/OpcodeDecoding.h
Expand Up @@ -31,7 +31,7 @@
#define GX_DRAW_LINES 0x5 // 0xA8
#define GX_DRAW_LINE_STRIP 0x6 // 0xB0
#define GX_DRAW_POINTS 0x7 // 0xB8
#define GX_DRAW_NONE 0x1; //Tis is a fake value to used in the backends
#define GX_DRAW_NONE 0x1; // This is a fake value to used in the backends

extern bool g_bRecordFifoData;

Expand Down
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/Src/PixelEngine.cpp
Expand Up @@ -450,7 +450,7 @@ void SetFinish()
void ResetSetFinish()
{
//if SetFinish happened but PE_CTRL_REGISTER not, I reset the interrupt else
//remove event from the queque
//remove event from the queue
if (g_bSignalFinishInterrupt)
{
UpdateFinishInterrupt(false);
Expand Down
16 changes: 8 additions & 8 deletions Source/Core/VideoCommon/Src/Statistics.cpp
Expand Up @@ -33,8 +33,8 @@ void Statistics::SwapDL()
char *Statistics::ToString(char *ptr)
{
char *p = ptr;
ptr+=sprintf(ptr,"textures created: %i\n",stats.numTexturesCreated);
ptr+=sprintf(ptr,"textures alive: %i\n",stats.numTexturesAlive);
ptr+=sprintf(ptr,"Textures created: %i\n",stats.numTexturesCreated);
ptr+=sprintf(ptr,"Textures alive: %i\n",stats.numTexturesAlive);
ptr+=sprintf(ptr,"pshaders created: %i\n",stats.numPixelShadersCreated);
ptr+=sprintf(ptr,"pshaders alive: %i\n",stats.numPixelShadersAlive);
ptr+=sprintf(ptr,"pshaders (unique, delete cache first): %i\n",stats.numUniquePixelShaders);
Expand All @@ -43,12 +43,12 @@ char *Statistics::ToString(char *ptr)
ptr+=sprintf(ptr,"dlists called: %i\n",stats.numDListsCalled);
ptr+=sprintf(ptr,"dlists called(f): %i\n",stats.thisFrame.numDListsCalled);
ptr+=sprintf(ptr,"dlists alive: %i\n",stats.numDListsAlive);
ptr+=sprintf(ptr,"primitive joins: %i\n",stats.thisFrame.numPrimitiveJoins);
ptr+=sprintf(ptr,"draw calls: %i\n",stats.thisFrame.numDrawCalls);
ptr+=sprintf(ptr,"indexed draw calls: %i\n",stats.thisFrame.numIndexedDrawCalls);
ptr+=sprintf(ptr,"buffer splits: %i\n",stats.thisFrame.numBufferSplits);
ptr+=sprintf(ptr,"primitives: %i\n",stats.thisFrame.numPrims);
ptr+=sprintf(ptr,"primitives (DL): %i\n",stats.thisFrame.numDLPrims);
ptr+=sprintf(ptr,"Primitive joins: %i\n",stats.thisFrame.numPrimitiveJoins);
ptr+=sprintf(ptr,"Draw calls: %i\n",stats.thisFrame.numDrawCalls);
ptr+=sprintf(ptr,"Indexed draw calls: %i\n",stats.thisFrame.numIndexedDrawCalls);
ptr+=sprintf(ptr,"Buffer splits: %i\n",stats.thisFrame.numBufferSplits);
ptr+=sprintf(ptr,"Primitives: %i\n",stats.thisFrame.numPrims);
ptr+=sprintf(ptr,"Primitives (DL): %i\n",stats.thisFrame.numDLPrims);
ptr+=sprintf(ptr,"XF loads: %i\n",stats.thisFrame.numXFLoads);
ptr+=sprintf(ptr,"XF loads (DL): %i\n",stats.thisFrame.numXFLoadsInDL);
ptr+=sprintf(ptr,"CP loads: %i\n",stats.thisFrame.numCPLoads);
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/Src/TextureCacheBase.cpp
Expand Up @@ -382,7 +382,7 @@ TextureCache::TCacheEntryBase* TextureCache::Load(unsigned int const stage,

// TODO: Print a warning if the format changes! In this case,
// we could reinterpret the internal texture object data to the new pixel format
// (similiar to what is already being done in Renderer::ReinterpretPixelFormat())
// (similar to what is already being done in Renderer::ReinterpretPixelFormat())
return ReturnEntry(stage, entry);
}

Expand Down
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/Src/VertexLoader.cpp
Expand Up @@ -399,7 +399,7 @@ void VertexLoader::CompileVertexTranslator()
} else {
_assert_msg_(VIDEO, DIRECT <= tc[i] && tc[i] <= INDEX16, "Invalid texture coordinates!\n(tc[i] = %d)", tc[i]);
_assert_msg_(VIDEO, FORMAT_UBYTE <= format && format <= FORMAT_FLOAT, "Invalid texture coordinates format!\n(format = %d)", format);
_assert_msg_(VIDEO, 0 <= elements && elements <= 1, "Invalid number of texture coordinates elemnts!\n(elements = %d)", elements);
_assert_msg_(VIDEO, 0 <= elements && elements <= 1, "Invalid number of texture coordinates elements!\n(elements = %d)", elements);

m_NativeFmt->m_components |= VB_HAS_UV0 << i;
WriteCall(VertexLoader_TextCoord::GetFunction(tc[i], format, elements));
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/Src/x64DLCache.cpp
Expand Up @@ -93,7 +93,7 @@ struct CachedDisplayList
// Compile the commands themselves down to native code.
const u8* compiled_code;
u32 uncachable; // if set, this DL will always be interpreted. This gets set if hash ever changes.
// Analitic data
// Analytic data
u32 num_xf_reg;
u32 num_cp_reg;
u32 num_bp_reg;
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/Src/x64TextureDecoder.cpp
Expand Up @@ -675,7 +675,7 @@ PC_TexFormat GetPC_TexFormat(int texformat, int tlutfmt)
inline void SetOpenMPThreadCount(int width, int height)
{
#ifdef _OPENMP
// Dont use multithreading in small Textures
// Don't use multithreading in small Textures
if (g_ActiveConfig.bOMPDecoder && width > 127 && height > 127)
{
// don't span to many threads they will kill the rest of the emu :)
Expand Down
2 changes: 1 addition & 1 deletion Source/Plugins/Plugin_VideoDX11/Src/Render.cpp
Expand Up @@ -554,7 +554,7 @@ void Renderer::UpdateViewport(Matrix44& vpCorrection)
(float)X, (float)Y,
(float)Wd, (float)Ht);

// Some games set invalids values for z min and z max so fix them to the max an min alowed and let the shaders do this work
// Some games set invalid values for z-min and z-max so fix them to the max and min allowed and let the shaders do this work
D3D11_VIEWPORT vp = CD3D11_VIEWPORT((float)X, (float)Y,
(float)Wd, (float)Ht,
0.f, // (xfregs.viewport.farZ - xfregs.viewport.zRange) / 16777216.0f;
Expand Down
2 changes: 1 addition & 1 deletion Source/Plugins/Plugin_VideoDX9/Src/Render.cpp
Expand Up @@ -126,7 +126,7 @@ Renderer::Renderer()

IS_AMD = D3D::IsATIDevice();

// Decide frambuffer size
// Decide framebuffer size
s_backbuffer_width = D3D::GetBackBufferWidth();
s_backbuffer_height = D3D::GetBackBufferHeight();

Expand Down
2 changes: 1 addition & 1 deletion Source/Plugins/Plugin_VideoOGL/Src/ProgramShaderCache.cpp
Expand Up @@ -517,7 +517,7 @@ void ProgramShaderCache::CreateHeader ( void )
, v==GLSL_120 ? "#define round(x) floor((x)+0.5f)" : ""
, v==GLSL_120 ? "#define out " : ""
, v==GLSL_120 ? "#define ocol0 gl_FragColor" : ""
, v==GLSL_120 ? "#define ocol1 gl_FragColor" : "" //TODO: implemenet dual source blend
, v==GLSL_120 ? "#define ocol1 gl_FragColor" : "" //TODO: implement dual source blend
, v==GLSL_120 ? "" : "out vec4 name;"
);
}
Expand Down
2 changes: 1 addition & 1 deletion Source/Plugins/Plugin_VideoOGL/Src/RasterFont.cpp
Expand Up @@ -205,7 +205,7 @@ void RasterFont::printMultilineText(const char *text, double start_x, double sta
continue;
}

// do not print spaces, they can be skipped easyly
// do not print spaces, they can be skipped easily
if(c == ' ') {
x += delta_x + border_x;
continue;
Expand Down
8 changes: 4 additions & 4 deletions Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
Expand Up @@ -293,7 +293,7 @@ Renderer::Renderer()

if (!GLEW_ARB_framebuffer_object)
{
ERROR_LOG(VIDEO, "GPU: ERROR: Need GL_ARB_framebufer_object for multiple render targets.\n"
ERROR_LOG(VIDEO, "GPU: ERROR: Need GL_ARB_framebuffer_object for multiple render targets.\n"
"GPU: Does your video card support OpenGL 3.0?");
bSuccess = false;
}
Expand Down Expand Up @@ -344,13 +344,13 @@ Renderer::Renderer()
{
ERROR_LOG(VIDEO, "GPU: OGL ERROR: Need at least GLSL 1.20\n"
"GPU: Does your video card support OpenGL 2.1?\n"
"GPU: Your driver supports glsl %s", g_ogl_config.glsl_version);
"GPU: Your driver supports GLSL %s", g_ogl_config.glsl_version);
bSuccess = false;
}
else if(strstr(g_ogl_config.glsl_version, "1.20"))
{
g_ogl_config.eSupportedGLSLVersion = GLSL_120;
g_Config.backend_info.bSupportsDualSourceBlend = false; //TODO: implemenet dual source blend
g_Config.backend_info.bSupportsDualSourceBlend = false; //TODO: implement dual source blend
}
else if(strstr(g_ogl_config.glsl_version, "1.30"))
{
Expand Down Expand Up @@ -403,7 +403,7 @@ Renderer::Renderer()
s_MSAACoverageSamples = GetNumMSAACoverageSamples(s_LastMultisampleMode);
ApplySSAASettings();

// Decide frambuffer size
// Decide framebuffer size
s_backbuffer_width = (int)GLInterface->GetBackBufferWidth();
s_backbuffer_height = (int)GLInterface->GetBackBufferHeight();

Expand Down
2 changes: 1 addition & 1 deletion Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp
Expand Up @@ -37,7 +37,7 @@ extern NativeVertexFormat *g_nativeVertexFmt;

namespace OGL
{
//This are the initially requeted size for the buffers expresed in bytes
//This are the initially requested size for the buffers expressed in bytes
const u32 MAX_IBUFFER_SIZE = 2*1024*1024;
const u32 MAX_VBUFFER_SIZE = 16*1024*1024;

Expand Down
2 changes: 1 addition & 1 deletion Source/Plugins/Plugin_VideoSoftware/Src/OpcodeDecoder.cpp
Expand Up @@ -129,7 +129,7 @@ void DecodeStandard(u32 bufferSize)
// XXX: Investigate
#ifndef ANDROID
// check if switching in or out of an object
// only used for debuggging
// only used for debugging
if (inObjectStream && (Cmd & 0x87) != lastPrimCmd)
{
inObjectStream = false;
Expand Down
2 changes: 1 addition & 1 deletion Source/Plugins/Plugin_VideoSoftware/Src/Rasterizer.cpp
Expand Up @@ -171,7 +171,7 @@ inline void Draw(s32 x, s32 y, s32 xi, s32 yi)
// tex coords
for (unsigned int i = 0; i < bpmem.genMode.numtexgens; i++)
{
// multiply by 128 because TEV stores stores UVs as s17.7
// multiply by 128 because TEV stores UVs as s17.7
tev.Uv[i].s = (s32)(pixel.Uv[i][0] * 128);
tev.Uv[i].t = (s32)(pixel.Uv[i][1] * 128);
}
Expand Down
Expand Up @@ -259,12 +259,12 @@ void Write16(const u16 _Value, const u32 _Address)
void Read32(u32& _rReturnValue, const u32 _Address)
{
_rReturnValue = 0;
_dbg_assert_msg_(COMMANDPROCESSOR, 0, "Read32 from CommandProccessor at 0x%08x", _Address);
_dbg_assert_msg_(COMMANDPROCESSOR, 0, "Read32 from CommandProcessor at 0x%08x", _Address);
}

void Write32(const u32 _Data, const u32 _Address)
{
_dbg_assert_msg_(COMMANDPROCESSOR, 0, "Write32 at CommandProccessor at 0x%08x", _Address);
_dbg_assert_msg_(COMMANDPROCESSOR, 0, "Write32 at CommandProcessor at 0x%08x", _Address);
}

void STACKALIGN GatherPipeBursted()
Expand Down Expand Up @@ -424,7 +424,7 @@ bool RunBuffer()

bool ranDecoder = false;

// move data remaing in command buffer
// move data remaining in the command buffer
if (readPos > 0)
{
memmove(&commandBuffer[0], &commandBuffer[readPos], availableBytes);
Expand Down