Search
lxdream.org :: lxdream/src/dreamcast.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/dreamcast.c
changeset 951:63483914846f
prev934:3acd3b3ee6d1
next1067:d3c00ffccfcd
author nkeynes
date Wed Jan 07 05:45:15 2009 +0000 (11 years ago)
branchlxdream-mem
permissions -rw-r--r--
last change Tidy up exceptions+resets
Implement manual reset on general exception when SR.BL == 1
file annotate diff log raw
1.1 --- a/src/dreamcast.c Fri Dec 26 14:25:23 2008 +0000
1.2 +++ b/src/dreamcast.c Wed Jan 07 05:45:15 2009 +0000
1.3 @@ -277,6 +277,7 @@
1.4 dreamcast_program_name = g_strdup(name);
1.5 dreamcast_entry_point = entry_point;
1.6 sh4_set_pc(entry_point);
1.7 + sh4_write_sr( sh4_read_sr() & (~SR_BL) ); /* Unmask interrupts */
1.8 bios_install();
1.9 dcload_install();
1.10 gui_update_state();
.