Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bytecode Extractor / Disassembly #11

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

felipesanches
Copy link
Contributor

This is an initial implementation of a bytecode dumper/disassembler

…egers anywhere we deal with the mementry state field.

Also using type==Resource::RT_SOUND instead of type==0 in sfxplayer.cpp.
@fabiensanglard
Copy link
Owner

Great job on 8934c32, it makes things much clearer: If you can send it as an individual pull request, I will merge it.

With regards to the bytecode analyzer I will merge it when you have something fully functional. For now it looks like it is a work in progress.

I woud suggest to use an array to establish a 1to1 mapping instead of the huge switch cases like here:

felipesanches@0bc969d#L1R186

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants