diff options
| author | 2022-09-23 20:28:43 -0400 | |
|---|---|---|
| committer | 2022-09-23 20:28:43 -0400 | |
| commit | d794ced30328cf347f2dbacb9444bbe0a3b22a32 (patch) | |
| tree | ab67b6d87f8c02f2d070a3bfb518c369e038d740 | |
| parent | Merge pull request #8948 from german77/order (diff) | |
| parent | chore: fix some typos (diff) | |
| download | yuzu-d794ced30328cf347f2dbacb9444bbe0a3b22a32.tar.gz yuzu-d794ced30328cf347f2dbacb9444bbe0a3b22a32.tar.xz yuzu-d794ced30328cf347f2dbacb9444bbe0a3b22a32.zip | |
Merge pull request #8945 from Tachi107/typos
chore: fix some typos
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/service/nfp/nfp.cpp | 4 | ||||
| -rw-r--r-- | src/core/hle/service/sockets/bsd.cpp | 2 | ||||
| -rw-r--r-- | src/network/network.cpp | 2 | ||||
| -rw-r--r-- | src/shader_recompiler/backend/glasm/emit_glasm.cpp | 2 | ||||
| -rw-r--r-- | src/shader_recompiler/backend/glsl/emit_glsl.cpp | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/src/core/hle/service/nfp/nfp.cpp b/src/core/hle/service/nfp/nfp.cpp index e0ed3f771..037b86653 100644 --- a/src/core/hle/service/nfp/nfp.cpp +++ b/src/core/hle/service/nfp/nfp.cpp | |||
| @@ -800,12 +800,12 @@ Result Module::Interface::Flush() { | |||
| 800 | 800 | ||
| 801 | // Return to the start of the file | 801 | // Return to the start of the file |
| 802 | if (!amiibo_file.Seek(0)) { | 802 | if (!amiibo_file.Seek(0)) { |
| 803 | LOG_ERROR(Service_NFP, "Error writting to file"); | 803 | LOG_ERROR(Service_NFP, "Error writing to file"); |
| 804 | return ErrCodes::WriteAmiiboFailed; | 804 | return ErrCodes::WriteAmiiboFailed; |
| 805 | } | 805 | } |
| 806 | 806 | ||
| 807 | if (!amiibo_file.Write(encrypted_tag_data)) { | 807 | if (!amiibo_file.Write(encrypted_tag_data)) { |
| 808 | LOG_ERROR(Service_NFP, "Error writting to file"); | 808 | LOG_ERROR(Service_NFP, "Error writing to file"); |
| 809 | return ErrCodes::WriteAmiiboFailed; | 809 | return ErrCodes::WriteAmiiboFailed; |
| 810 | } | 810 | } |
| 811 | 811 | ||
diff --git a/src/core/hle/service/sockets/bsd.cpp b/src/core/hle/service/sockets/bsd.cpp index cc679cc81..9e94a462f 100644 --- a/src/core/hle/service/sockets/bsd.cpp +++ b/src/core/hle/service/sockets/bsd.cpp | |||
| @@ -929,7 +929,7 @@ BSD::BSD(Core::System& system_, const char* name) | |||
| 929 | proxy_packet_received = room_member->BindOnProxyPacketReceived( | 929 | proxy_packet_received = room_member->BindOnProxyPacketReceived( |
| 930 | [this](const Network::ProxyPacket& packet) { OnProxyPacketReceived(packet); }); | 930 | [this](const Network::ProxyPacket& packet) { OnProxyPacketReceived(packet); }); |
| 931 | } else { | 931 | } else { |
| 932 | LOG_ERROR(Service, "Network isn't initalized"); | 932 | LOG_ERROR(Service, "Network isn't initialized"); |
| 933 | } | 933 | } |
| 934 | } | 934 | } |
| 935 | 935 | ||
diff --git a/src/network/network.cpp b/src/network/network.cpp index 0841e4134..6652a186b 100644 --- a/src/network/network.cpp +++ b/src/network/network.cpp | |||
| @@ -15,7 +15,7 @@ RoomNetwork::RoomNetwork() { | |||
| 15 | 15 | ||
| 16 | bool RoomNetwork::Init() { | 16 | bool RoomNetwork::Init() { |
| 17 | if (enet_initialize() != 0) { | 17 | if (enet_initialize() != 0) { |
| 18 | LOG_ERROR(Network, "Error initalizing ENet"); | 18 | LOG_ERROR(Network, "Error initializing ENet"); |
| 19 | return false; | 19 | return false; |
| 20 | } | 20 | } |
| 21 | m_room = std::make_shared<Room>(); | 21 | m_room = std::make_shared<Room>(); |
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm.cpp b/src/shader_recompiler/backend/glasm/emit_glasm.cpp index 97a6b383b..01f9abc71 100644 --- a/src/shader_recompiler/backend/glasm/emit_glasm.cpp +++ b/src/shader_recompiler/backend/glasm/emit_glasm.cpp | |||
| @@ -175,7 +175,7 @@ bool IsReference(IR::Inst& inst) { | |||
| 175 | } | 175 | } |
| 176 | 176 | ||
| 177 | void PrecolorInst(IR::Inst& phi) { | 177 | void PrecolorInst(IR::Inst& phi) { |
| 178 | // Insert phi moves before references to avoid overwritting other phis | 178 | // Insert phi moves before references to avoid overwriting other phis |
| 179 | const size_t num_args{phi.NumArgs()}; | 179 | const size_t num_args{phi.NumArgs()}; |
| 180 | for (size_t i = 0; i < num_args; ++i) { | 180 | for (size_t i = 0; i < num_args; ++i) { |
| 181 | IR::Block& phi_block{*phi.PhiBlock(i)}; | 181 | IR::Block& phi_block{*phi.PhiBlock(i)}; |
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl.cpp b/src/shader_recompiler/backend/glsl/emit_glsl.cpp index 76c18e488..e8a4390f6 100644 --- a/src/shader_recompiler/backend/glsl/emit_glsl.cpp +++ b/src/shader_recompiler/backend/glsl/emit_glsl.cpp | |||
| @@ -101,7 +101,7 @@ bool IsReference(IR::Inst& inst) { | |||
| 101 | } | 101 | } |
| 102 | 102 | ||
| 103 | void PrecolorInst(IR::Inst& phi) { | 103 | void PrecolorInst(IR::Inst& phi) { |
| 104 | // Insert phi moves before references to avoid overwritting other phis | 104 | // Insert phi moves before references to avoid overwriting other phis |
| 105 | const size_t num_args{phi.NumArgs()}; | 105 | const size_t num_args{phi.NumArgs()}; |
| 106 | for (size_t i = 0; i < num_args; ++i) { | 106 | for (size_t i = 0; i < num_args; ++i) { |
| 107 | IR::Block& phi_block{*phi.PhiBlock(i)}; | 107 | IR::Block& phi_block{*phi.PhiBlock(i)}; |