Load movie SRAM as movie SRAM, not save SRAM
This fixes start from SRAM, and also movieinfo.
This commit is contained in:
parent
94770e0beb
commit
16f94f9cef
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ moviefile::moviefile(const std::string& movie) throw(std::bad_alloc, std::runtim
|
|||
std::string name = r.find_first();
|
||||
for(auto name = r.begin(); name != r.end(); ++name)
|
||||
if((*name).length() >= 10 && (*name).substr(0, 10) == "moviesram.")
|
||||
sram[(*name).substr(10)] = read_raw_file(r, *name);
|
||||
movie_sram[(*name).substr(10)] = read_raw_file(r, *name);
|
||||
read_authors_file(r, authors);
|
||||
read_input(r, input, port1, port2, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue