isle-portable/ISLE
MS 4f4863af6f
Use bitfield for MxVideoParamFlags (#40)
* Use bitfield for MxVideoParamFlags

Using a bitfield for MxVideoParamFlags results in the same xor/and logic that was partially inlined in the header file. This approach is a lot cleaner and there's a good chance this is what the devs would have landed on.

The code generation is really finicky -- other inlines in the header influence the code just by being there -- so I decided to stub out all of them. This got the match to 100%.

While I was in isle.cpp::SetupVideoFlags, I changed the signature so that the `m_using16bit` parameter is just `using16bit`.

* fix: cast Set16Bit inline arg to byte
2023-06-22 23:00:51 -07:00
..
ext reorganized repo, implemented mxcore 2023-05-05 02:54:17 -07:00
res ISLE and mingw32 fixes (#18) 2023-06-18 21:45:25 -07:00
define.cpp isle: match Isle::Tick and FindExistingInstance (#32) 2023-06-21 15:18:37 -07:00
define.h hotfix: messed up structure due to windows.h (#37) 2023-06-21 23:13:15 -07:00
isle.cpp Use bitfield for MxVideoParamFlags (#40) 2023-06-22 23:00:51 -07:00
isle.h Use bitfield for MxVideoParamFlags (#40) 2023-06-22 23:00:51 -07:00
main.cpp hotfix: messed up structure due to windows.h (#37) 2023-06-21 23:13:15 -07:00