Johnny on Flame did the newer ports (the ones that are actually playable) and if I remember correctly there's no way to set a custom resolution for hexen/heretic because the games are designed to support only 320x200. The best you could do is render to one surface and then blit that surface on your 400x240 surface at a certain x,y position to center the screen, however that will cost you the performance. You could also use a software scaler, but then again, it will result in a noticable frame drop.
Perhaps you could modify SDL and add a routine to blit the screen surface into another surface (and then center it) whenever the screen surface resolution is smaller than 400x240, that would work for any game and not just Hexen/Heretic.
Either way, I have mixed feelings about helping in A380 developement.