That's not quite right - a fish does not have a cortex.
The pallium of a fish and mammal are structured differently. A fish's (& bird's) pallium has a clustered (aka "nuclear") organization, while a mammal's has a mostly layered organization which is what is referred to as the cortex.
There is also more to a brain than just brainstem + pallium. In a vertebrate it's brainstem (aka hindbrain) + midbrain + forebrain, with the pallium being part of the forebrain.
Ah, I stand corrected:) Maybe a better diagram might be to merge our ideas:
Fish Brain = brain stem + pallium + other parts of brain[1]
Human Brain = brain stem + gigantic cortex(which directly evolved from the pallium) + other parts of brain[1]Good to know:)
[1] Am using "other parts of the brain" to cover any parts of the brain not covered by the brain stem and cortex