Support changing cpu model for sparc

This commit is contained in:
lazymio
2021-11-04 19:22:08 +01:00
parent b0280f5e55
commit 64452e249d
4 changed files with 17 additions and 23 deletions

View File

@ -181,7 +181,7 @@ static int sparc_cpus_init(struct uc_struct *uc, const char *cpu_model)
{
SPARCCPU *cpu;
cpu = cpu_sparc_init(uc, cpu_model);
cpu = cpu_sparc_init(uc);
if (cpu == NULL) {
return -1;
}