add SH4 to architecture enum

This commit is contained in:
Martin Michelsen
2022-08-28 18:01:51 -07:00
parent 1ed06283a2
commit 6eb77a7193
2 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ string CompiledFunctionCode::generate_client_command(
if (this->arch == Architecture::POWERPC) {
return this->generate_client_command_t<S_ExecuteCode_Footer_GC_B2, be_uint16_t>(
label_writes, suffix);
} else if (this->arch == Architecture::X86) {
} else if ((this->arch == Architecture::X86) || (this->arch == Architecture::SH4)) {
return this->generate_client_command_t<S_ExecuteCode_Footer_DC_PC_XB_BB_B2, le_uint16_t>(
label_writes, suffix);
} else {