Merged revisions 1581 and 1582
This commit is contained in:
parent
ca449f72bf
commit
05b4a94f10
|
@ -984,7 +984,7 @@ TEMPLATE static u32 getCRC16()
|
|||
u32 datap = cpu->R[1];
|
||||
u32 size = cpu->R[2];
|
||||
|
||||
static u16 val[] = { 0xC0C1,0xC181,0xC301,0xC601,0xCC01,0xD801,0xF001,0xA001 };
|
||||
const u16 val[] = { 0xC0C1,0xC181,0xC301,0xC601,0xCC01,0xD801,0xF001,0xA001 };
|
||||
for(i = 0; i < size; i++)
|
||||
{
|
||||
crc = crc ^ _MMU_read08(cpu->proc_ID, datap + i);
|
||||
|
|
|
@ -396,6 +396,7 @@ static void Launch()
|
|||
|
||||
gtk_action_set_sensitive(gtk_action_group_get_action(action_group, "pause"), TRUE);
|
||||
gtk_action_set_sensitive(gtk_action_group_get_action(action_group, "run"), FALSE);
|
||||
gtk_action_set_sensitive(gtk_action_group_get_action(action_group, "reset"), TRUE);
|
||||
gtk_action_set_sensitive(gtk_action_group_get_action(action_group, "printscreen"), TRUE);
|
||||
}
|
||||
|
||||
|
@ -468,7 +469,6 @@ static void Open_Select(GtkWidget* widget, gpointer data)
|
|||
gtk_widget_destroy(pDialog);
|
||||
} else {
|
||||
gtk_action_set_sensitive(gtk_action_group_get_action(action_group, "run"), TRUE);
|
||||
gtk_action_set_sensitive(gtk_action_group_get_action(action_group, "reset"), TRUE);
|
||||
}
|
||||
|
||||
//Launch(NULL, pWindow);
|
||||
|
|
Loading…
Reference in New Issue