mirror of
https://github.com/mkwong98/HDNes.git
synced 2024-05-20 13:07:54 -04:00
Fix batch mapping for new matches
This commit is contained in:
parent
f495780202
commit
f544ea70d4
|
@ -987,6 +987,7 @@ void fraHDNesImp::confirmImgSelection( wxCommandEvent& event ){
|
|||
c.x = b->x;
|
||||
c.y = b->y;
|
||||
c.brightness = b->brightness;
|
||||
|
||||
|
||||
offsetx = imagetileX + ((b->x - screentileX) * vid->packScale);
|
||||
offsety = imagetileY + ((b->y - screentileY) * vid->packScale);
|
||||
|
@ -997,6 +998,7 @@ void fraHDNesImp::confirmImgSelection( wxCommandEvent& event ){
|
|||
if(vid->packData[b->patternAddress] == BAD_ADDRESS){
|
||||
vid->packData[b->patternAddress] = vid->tdata.size();
|
||||
t.defaultID = -1;
|
||||
t.patternAddress = b->patternAddress;
|
||||
vid->tdata.push_back(t);
|
||||
}
|
||||
tid = vid->packData[b->patternAddress];
|
||||
|
|
Loading…
Reference in a new issue