Use `size_t` for iterator in `save_write`

This commit is contained in:
angie 2024-05-14 10:44:34 -04:00
parent d450aa98fc
commit 0de47dedc2
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ void save_write_ptr(const void* in, uint32_t offset, uint32_t count) {
void save_write(RDRAM_ARG PTR(void) rdram_address, uint32_t offset, uint32_t count) {
{
std::lock_guard lock { save_context.save_buffer_mutex };
for (uint32_t i = 0; i < count; i++) {
for (size_t i = 0; i < count; i++) {
save_context.save_buffer[offset + i] = MEM_B(i, rdram_address);
}
}