Skip to content

Commit

Permalink
Fix compile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
RedPanda4552 committed Feb 23, 2025
1 parent 30b8488 commit 915a3af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pcsx2/SIO/Memcard/Memcard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace Memcard

bool Memcard::Initialize()
{
for (auto i = 0; i < Memcard::MAX_SLOTS; i++)
for (u32 i = 0; i < Memcard::MAX_SLOTS; i++)
{
const std::string fileName = EmuConfig.Mcd[i].Filename;

Expand Down
2 changes: 1 addition & 1 deletion pcsx2/SIO/Memcard/MemcardPS2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ void MemcardPS2::WriteData()
const u8 writeLength = g_Sio2FifoIn.front();
g_Sio2FifoIn.pop_front();

if (this->currentAddr + writeLength >= this->lastClearedEraseBlockAddr + MemcardPS2::ERASE_BLOCK_LENGTH);
if (this->currentAddr + writeLength >= this->lastClearedEraseBlockAddr + MemcardPS2::ERASE_BLOCK_LENGTH)
{
Console.Warning(
"%s Write outside of cleared erase block! Write addr = 0x%08X, len = %d; erase block addr = 0x%08X, len = %d",
Expand Down

0 comments on commit 915a3af

Please sign in to comment.