[libgens] Vdp: Use symbolic constants for register bits.
authorDavid Korth <gerbilsoft@gerbilsoft.com>
Thu, 31 Mar 2016 03:59:44 +0000 (23:59 -0400)
committerDavid Korth <gerbilsoft@gerbilsoft.com>
Thu, 31 Mar 2016 03:59:44 +0000 (23:59 -0400)
commit306505565f8f76abefb1fd3003303cc71d1b6d33
treeaa306b09e163eb5f7500861dc98622066ed55025
parent879ac1318facc114363915e8033ad05a2eb528ef
[libgens] Vdp: Use symbolic constants for register bits.

Other changes:

VdpPrivate::setReg():
- Reg.#01 (Mode Set 2): Check if M1 was changed. Previously, 0x8C
  was checked, which included 128K, M2, and M5, but not M1.
- Reg.#11 (Mode Set 3): Updated the comment to indicate the correct bit.
src/libgens/Vdp/Vdp.cpp
src/libgens/Vdp/VdpDma.cpp
src/libgens/Vdp/VdpIo.cpp
src/libgens/Vdp/VdpReg.cpp
src/libgens/Vdp/VdpRend_m4.cpp
src/libgens/Vdp/VdpRend_m5.cpp