summaryrefslogtreecommitdiffstats
path: root/src/devices/pic/prog/pic_prog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/pic/prog/pic_prog.cpp')
-rw-r--r--src/devices/pic/prog/pic_prog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/pic/prog/pic_prog.cpp b/src/devices/pic/prog/pic_prog.cpp
index e882529..da0b1ca 100644
--- a/src/devices/pic/prog/pic_prog.cpp
+++ b/src/devices/pic/prog/pic_prog.cpp
@@ -375,7 +375,7 @@ bool Programmer::PicBase::restoreBandGapBits()
BitValue ptqmask = device()->config()._words[i].ptqmask;
if ( ptqmask==0 ) continue;
cdata[i] = cdata[i].clearMaskBits(ptqmask);
- cdata[i] |= data[i].tqmaskWith(ptqmask);
+ cdata[i] |= data[i].maskWith(ptqmask);
}
if ( !specific()->canWriteRange(Pic::MemoryRangeType::Config) ) {
log(Log::LineType::Warning, i18n("Could not restore band gap bits because programmer does not support writing config bits."));