It works on real GBA hardware too, except the Everdrive GBA doesn't skip the logo check, so I had to add that back in, borking the DOS header.

That means a GBA+DOS/Win32 polyglot is not possible on real hardware. Bummer.