mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 05:32:47 +00:00
sha.c: add volatile keyword where required
This commit is contained in:
parent
89e9aceaaf
commit
f51a48c39e
@ -22,7 +22,7 @@ void sha_update(const void* src, u32 size)
|
||||
|
||||
while(size >= 0x40) {
|
||||
while(*REG_SHACNT & 1);
|
||||
*((_sha_block*)REG_SHAINFIFO) = *((const _sha_block*)src32);
|
||||
*((volatile _sha_block*)REG_SHAINFIFO) = *((const _sha_block*)src32);
|
||||
src32 += 16;
|
||||
size -= 0x40;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user