-
Notifications
You must be signed in to change notification settings - Fork 76
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
Memcpy issues #554
Comments
Example of issue created by memcpy and solved by adding readCached reference : #261 |
Another related issue that may be present in some games : the icache may need to be invalidated even if the data is moved by CPU. |
fixed by using tonccpy |
On DSi, some pixels are missing on the Lan/Megaman sprite in the opening of MMBN5. |
Could be linked to the cardReadNormal code |
The usage of memcpy in cardengine_arm9 to copy data from the cache to the card_read destination can create corruption of the memory in some specific cases :
// Copy directly
memcpy(dst, (u8*)buffer+(src-sector), len2);
The usage of readCached (only used for few roms) should solves this but in some cases it seems that it does not.
The text was updated successfully, but these errors were encountered: