meepingsnesroms / Mu

A new Palm OS emulator targeting compatibility, speed and accuracy in that order.
https://meepingsnesroms.github.io/
183 stars 33 forks source link

Fix 3 possible SD card corruption bugs #68

Closed meepingsnesroms closed 5 years ago

meepingsnesroms commented 5 years ago

0 out SD card struct on load, should prevent a non zero pointer size from getting through and fixed the mask to include the 2, 4 and 8mb size bits, and put parentheses around the size mask to & before +.