Saves are stored on your nand. If you're inside emuNAND they are stored on that hidden partition and they indeed work with both, XCIs that were mounted or NSPs that are installed.
In other words: You can mount a Zelda XCI, start a savegame, install the NSP and continue the savegame with the installed NSP.