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

DmaConfig's DmaDeviceConfig flags and structure reversed in terms of src/dst #539

Open
xzn opened this issue Feb 5, 2024 · 0 comments
Open

Comments

@xzn
Copy link

xzn commented Feb 5, 2024

Test case source:

https://github.com/xzn/libctru_dma_test/blob/master/source/main.c

Interactive test:

https://github.com/xzn/libctru_dma_test/raw/master/libctru_dma_test.3dsx

Press any button to advance.

Compiled using official devkitPro's pacman installed Windows binaries in msys2.

Output from test:

image

Switched case:

image

(As suggested in #536)

Edit:

Not sure how to do a test case for this one but the current DMACFG_SRC_IS_DEVICE and DMACFG_USE_SRC_CONFIG do seem to correspond to the current srcCfg, so if the structs are to be reversed, the flags should be too.

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

No branches or pull requests

1 participant