filename | src/dreamcast.c |
changeset | 461:63d4de8dcec6 |
prev | 450:207461e79f21 |
next | 466: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 +00001.2 +++ b/src/dreamcast.c Wed Oct 24 21:23:22 2007 +00001.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 modules1.8 * together into some kind of coherent structure. This is also where you'd1.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.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);
.