ricrpi / mupen64plus-video-gles2n64

Manually ported from mupen64plus-ae for use with the Raspberry PI
5 stars 10 forks source link

Remove unneeded volatile keyword for constant global values #26

Closed mmusenbr closed 5 years ago

mmusenbr commented 5 years ago

convert.h: Remove unneeded volatile keyword for constant global values. As those global values are never changed and serve as simple constant, the volatile keyword is not needed here. As a plus, it fixes the linkage errors encountered on newer gcc versions and therefore Closes: #25

mmusenbr commented 5 years ago

I thought about adding additional inline functions with shifting operations or switch-cases but i assumed that the code is intended to work most effectively. So I kept the current flow.

romanbsd commented 5 years ago

Fixes linkage