Fix warnings in core and common

This commit is contained in:
Lioncash committed 2014-09-28 11:44:14 -04:00
1 parent ee7cfc71bd
commit ca2f0de08a
5 files changed
+7 -17

No files matched your search

+1 -1
View File
@@ -287,7 +287,7 @@ void Write64(const VAddr addr, const u64 data) {
}
void WriteBlock(const VAddr addr, const u8* data, const size_t size) {
int offset = 0;
u32 offset = 0;
while (offset < (size & ~3)) {
Write32(addr + offset, *(u32*)&data[offset]);
offset += 4;