Search
lxdream.org :: lxdream/src/dreamcast.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/dreamcast.c
changeset 461:63d4de8dcec6
prev450:207461e79f21
next466:a6935f46ed78
author nkeynes
date Wed Oct 24 21:23:22 2007 +0000 (16 years ago)
permissions -rw-r--r--
last change Fix long standing texcache management bug (invalidate palette was not placing
the invalidated entries on the free list).
file annotate diff log raw
1.1 --- a/src/dreamcast.c Wed Oct 17 11:26:45 2007 +0000
1.2 +++ b/src/dreamcast.c Wed Oct 24 21:23:22 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: dreamcast.c,v 1.24 2007-10-17 11:26:45 nkeynes Exp $
1.6 + * $Id: dreamcast.c,v 1.25 2007-10-23 10:48:24 nkeynes Exp $
1.7 * Central switchboard for the system. This pulls all the individual modules
1.8 * together into some kind of coherent structure. This is also where you'd
1.9 * add Naomi support, if I ever get a board to play with...
1.10 @@ -85,6 +85,14 @@
1.11 dreamcast_register_module( &ide_module );
1.12 }
1.13
1.14 +void dreamcast_config_changed(void)
1.15 +{
1.16 + mem_load_rom( lxdream_get_config_value(CONFIG_BIOS_PATH),
1.17 + 0x00000000, 0x00200000, 0x89f2b1a1 );
1.18 + mem_load_block( lxdream_get_config_value(CONFIG_FLASH_PATH),
1.19 + 0x00200000, 0x00020000 );
1.20 +}
1.21 +
1.22 void dreamcast_save_flash()
1.23 {
1.24 const char *file = lxdream_get_config_value(CONFIG_FLASH_PATH);
.