graydon
2025-08-30 0d5b7df96a2ee186b7b085dca9cf9a33f791c430
src/scene.cpp
@@ -137,7 +137,7 @@
         PhyPort* phy_id = (PhyPort*)(bin + size);
         for(j = 0 ; j< ninports ;j ++, phy_id++) {
            phy_id->mIntType = 0;
            phy_id->mPhyID = hw_adapter->get_physical_channel(1, j);
            phy_id->mPhyID = hw_adapter->get_physical_channel(1, rxBufID[j]-1);
         }
         size += ninports*sizeof(PhyPort);
      }
@@ -145,7 +145,7 @@
         PhyPort* phy_id = (PhyPort*)(bin + size);
         for(j = 0 ; j< noutports ;j ++, phy_id++) {
            phy_id->mIntType = 0;
            phy_id->mPhyID = hw_adapter->get_physical_channel(0, j);
            phy_id->mPhyID = hw_adapter->get_physical_channel(0, txBufID[j]-1);
         }
         size += noutports*sizeof(PhyPort);
      }