Green’s Dictionary of Slang

squashed flies n.

also dead-fly cake, fly pies, squashed fly

[late 19C+] biscuits containing currants, Garibaldi biscuits.