Removed the packet driver logic from the unload option (misterfs.exe /u). The packet driver routine doesn't exist in MiSTerFS and it was causing a crash when trying to unload it.
The unload code was also updated to not use a hard coded offset of 24. This offset was correct, but it was updated to be more consistent with how the initialization code searched for the correct offset.
Removed the packet driver logic from the unload option (misterfs.exe /u). The packet driver routine doesn't exist in MiSTerFS and it was causing a crash when trying to unload it.
The unload code was also updated to not use a hard coded offset of 24. This offset was correct, but it was updated to be more consistent with how the initialization code searched for the correct offset.
Comments and formatting were updated.