aboutsummaryrefslogtreecommitdiff
path: root/hw/shix.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/shix.c')
-rw-r--r--hw/shix.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/hw/shix.c b/hw/shix.c
index e65427a4c3..0ec2b0e37f 100644
--- a/hw/shix.c
+++ b/hw/shix.c
@@ -70,9 +70,12 @@ static void shix_init(int ram_size, int vga_ram_size, const char *boot_device,
int ret;
CPUState *env;
struct SH7750State *s;
+
+ if (!cpu_model)
+ cpu_model = "any";
printf("Initializing CPU\n");
- env = cpu_init();
+ env = cpu_init(cpu_model);
/* Allocate memory space */
printf("Allocating ROM\n");