Firmware: clear has_msu1 flag on ROM load (fixes SaveRAM polling after reset)

This commit is contained in:
Maximilian Rehkopf 2011-10-09 14:14:54 +02:00
parent 86576d2e48
commit fc5a281744

View File

@ -271,6 +271,8 @@ uint32_t load_rom(uint8_t* filename, uint32_t base_addr, uint8_t flags) {
if(msu1_check(filename)) {
romprops.fpga_features |= FEAT_MSU1;
romprops.has_msu1 = 1;
} else {
romprops.has_msu1 = 0;
}
printf("done\n");