2005 indmar 340hp oil light

The light for low oil pressure is on right beside the bilge pump toggle switches. It stays on no matter how many rpms the engine is running. The oil pressure gauge is fine and normal so what oil pressure is the light actually measuring and how do you check it? If it is low how much oil should I put in it and what type is everyone using? Also would it hurt to run the boat if this light was on because I ran it for about 2 hours one day while it was on and everything seemed fine. I have a 2005 supra sunsport 24'.