Index: trunk/ppSim/src/ppSimPhotomReadout.c
===================================================================
--- trunk/ppSim/src/ppSimPhotomReadout.c	(revision 20910)
+++ trunk/ppSim/src/ppSimPhotomReadout.c	(revision 21170)
@@ -142,6 +142,6 @@
     // calculate source magnitudes (for which set??)
     pmReadout *background = psphotSelectBackground (config, view, false);
-    psphotMagnitudes(fakeSources, recipe, psf, background);
-    psphotMagnitudes(forceSources, recipe, psf, background);
+    psphotMagnitudes(config, background, view, fakeSources, psf);
+    psphotMagnitudes(config, background, view, forceSources, psf);
 
     // drop the references to the image pixels held by each source
Index: trunk/ppSim/src/ppSimPhotomReadoutFake.c
===================================================================
--- trunk/ppSim/src/ppSimPhotomReadoutFake.c	(revision 20910)
+++ trunk/ppSim/src/ppSimPhotomReadoutFake.c	(revision 21170)
@@ -98,5 +98,5 @@
 
     // calculate source magnitudes (for which set??)
-    psphotMagnitudes(config, view, fakeSources, recipe, psf);
+    psphotMagnitudes(config, readout, view, fakeSources, psf);
 
     // drop the references to the image pixels held by each source
Index: trunk/ppSim/src/ppSimPhotomReadoutForce.c
===================================================================
--- trunk/ppSim/src/ppSimPhotomReadoutForce.c	(revision 20910)
+++ trunk/ppSim/src/ppSimPhotomReadoutForce.c	(revision 21170)
@@ -91,5 +91,5 @@
 
     // calculate source magnitudes (for which set??)
-    psphotMagnitudes(config, view, forceSources, recipe, psf);
+    psphotMagnitudes(config, readout, view, forceSources, psf);
 
     // drop the references to the image pixels held by each source
