VOGONS


First post, by superfury

User metadata
Rank l33t++
Rank
l33t++

Why does the type check have priority over the present bit check? If it isn't present, then wouldn't the type be invalid anyways? Why does it throw #GP(selector) instead of #NP(selector) when both are the case?

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io

Reply 1 of 1, by peterferrie

User metadata
Rank Oldbie
Rank
Oldbie

I suppose that checking present first might trigger someone to try to bring it into memory before finding that it's not usable anyway.