diff --git a/rpcs3/Emu/RSX/Common/FragmentProgramDecompiler.h b/rpcs3/Emu/RSX/Common/FragmentProgramDecompiler.h index b0baf8e0ea..05485ce1b2 100644 --- a/rpcs3/Emu/RSX/Common/FragmentProgramDecompiler.h +++ b/rpcs3/Emu/RSX/Common/FragmentProgramDecompiler.h @@ -241,7 +241,7 @@ protected: /** insert declaration of shader constants. */ virtual void insertConstants(std::stringstream &OS) = 0; - /** insert helper functin definitions. + /** insert helper function definitions. */ virtual void insertGlobalFunctions(std::stringstream &OS) = 0; /** insert beginning of main (signature, temporary declaration...) diff --git a/rpcs3/Emu/RSX/Common/TextureUtils.cpp b/rpcs3/Emu/RSX/Common/TextureUtils.cpp index a0f9d54793..81cab0e735 100644 --- a/rpcs3/Emu/RSX/Common/TextureUtils.cpp +++ b/rpcs3/Emu/RSX/Common/TextureUtils.cpp @@ -430,7 +430,7 @@ u32 get_row_pitch_in_block(u16 block_size_in_bytes, u16 width_in_block, size_t a } /** - * Since rsx ignore unused dimensionnality some app set them to 0. + * Since rsx ignore unused dimensionality some app set them to 0. * Use 1 value instead to be more general. */ template diff --git a/rpcs3/Emu/RSX/Common/ring_buffer_helper.h b/rpcs3/Emu/RSX/Common/ring_buffer_helper.h index 60418d322d..b1c6ad58fb 100644 --- a/rpcs3/Emu/RSX/Common/ring_buffer_helper.h +++ b/rpcs3/Emu/RSX/Common/ring_buffer_helper.h @@ -4,7 +4,7 @@ /** * Ring buffer memory helper : - * There are 2 "pointers" (offset inside a memory buffer to be provided by class derrivative) + * There are 2 "pointers" (offset inside a memory buffer to be provided by class derivative) * PUT pointer "points" to the start of allocatable space. * GET pointer "points" to the start of memory in use by the GPU. * Space between GET and PUT is used by the GPU ; this structure check that this memory is not overwritten. diff --git a/rpcs3/Emu/RSX/Common/texture_cache.h b/rpcs3/Emu/RSX/Common/texture_cache.h index a185ab57d3..a3fbc9ead4 100644 --- a/rpcs3/Emu/RSX/Common/texture_cache.h +++ b/rpcs3/Emu/RSX/Common/texture_cache.h @@ -2559,7 +2559,7 @@ namespace rsx { verify(HERE), !dest_texture; - // Need to calculate the minium required size that will fit the data, anchored on the rsx_address + // Need to calculate the minimum required size that will fit the data, anchored on the rsx_address // If the application starts off with an 'inseted' section, the guessed dimensions may not fit! const u32 write_end = dst_address + dst_payload_length; u32 block_end = dst_base_address + (dst.pitch * dst_dimensions.height); diff --git a/rpcs3/Emu/RSX/GL/GLGSRender.cpp b/rpcs3/Emu/RSX/GL/GLGSRender.cpp index 6e90bcccaf..9b21d9eb02 100644 --- a/rpcs3/Emu/RSX/GL/GLGSRender.cpp +++ b/rpcs3/Emu/RSX/GL/GLGSRender.cpp @@ -508,7 +508,7 @@ void GLGSRender::clear_surface(u32 arg) { verify(HERE), mask; - // Only one aspect was cleared. Make sure to memory intialize the other before removing dirty flag + // Only one aspect was cleared. Make sure to memory initialize the other before removing dirty flag if (arg == 1) { // Depth was cleared, initialize stencil diff --git a/rpcs3/Emu/RSX/GL/GLProgramBuffer.h b/rpcs3/Emu/RSX/GL/GLProgramBuffer.h index 7a72dd3b3e..2fedc1b775 100644 --- a/rpcs3/Emu/RSX/GL/GLProgramBuffer.h +++ b/rpcs3/Emu/RSX/GL/GLProgramBuffer.h @@ -44,7 +44,7 @@ struct GLTraits .bind_fragment_data_location("ocol3", 3) .link(); - // Progam locations are guaranteed to not change after linking + // Program locations are guaranteed to not change after linking // Texture locations are simply bound to the TIUs so this can be done once for (int i = 0; i < rsx::limits::fragment_textures_count; ++i) { diff --git a/rpcs3/Emu/RSX/VK/VKGSRender.cpp b/rpcs3/Emu/RSX/VK/VKGSRender.cpp index 9f6cac38b9..ce21e08813 100644 --- a/rpcs3/Emu/RSX/VK/VKGSRender.cpp +++ b/rpcs3/Emu/RSX/VK/VKGSRender.cpp @@ -1092,7 +1092,7 @@ void VKGSRender::clear_surface(u32 mask) if (!g_cfg.video.read_depth_buffer) { - // Only one aspect was cleared. Make sure to memory intialize the other before removing dirty flag + // Only one aspect was cleared. Make sure to memory initialize the other before removing dirty flag if (mask == 1) { // Depth was cleared, initialize stencil diff --git a/rpcs3/Emu/RSX/rsx_cache.h b/rpcs3/Emu/RSX/rsx_cache.h index 0815ba2c9d..6ebfdcf118 100644 --- a/rpcs3/Emu/RSX/rsx_cache.h +++ b/rpcs3/Emu/RSX/rsx_cache.h @@ -19,7 +19,7 @@ namespace rsx { enum protection_policy { - protect_policy_one_page, //Only guard one page, preferrably one where this section 'wholly' fits + protect_policy_one_page, //Only guard one page, preferably one where this section 'wholly' fits protect_policy_conservative, //Guards as much memory as possible that is guaranteed to only be covered by the defined range without sharing protect_policy_full_range //Guard the full memory range. Shared pages may be invalidated by access outside the object we're guarding };