Skip to content

Commit

Permalink
Fix for EP128_FILE configurations started without content.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltanvb committed Dec 29, 2023
1 parent 9eca2e7 commit cbf1e70
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,11 @@ void retro_init(void)
else if (core->machineDetailedType == Ep128Emu::VM_config.at("EP128_FILE")) {
fileContent = true;
log_cb(RETRO_LOG_DEBUG, "File content override\n");
core->vm->setFileNameCallback(&fileNameCallback, NULL);
config->fileioSettingsChanged = true;
config->vm.enableFileIO=true;
config->vmConfigurationChanged = true;
config->applySettings();
}
else {
diskContent = true;
Expand Down

0 comments on commit cbf1e70

Please sign in to comment.