1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 23:52:26 +00:00

Merge pull request #383 from TomHarte/D64Crash

Ensures the rom fetcher is properly provided to the C1540.
This commit is contained in:
Thomas Harte 2018-03-23 18:22:37 -04:00 committed by GitHub
commit 4407fd2f1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -336,6 +336,8 @@ class ConcreteMachine:
// Obtains the system ROMs.
bool set_rom_fetcher(const std::function<std::vector<std::unique_ptr<std::vector<uint8_t>>>(const std::string &machine, const std::vector<std::string> &names)> &roms_with_names) override {
rom_fetcher_ = roms_with_names;
auto roms = roms_with_names(
"Vic20",
{