Skip to content

Commit

Permalink
Re-checkin Action Replay fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
slinga-homebrew committed Aug 18, 2021
1 parent 19595e0 commit 771e818
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backends/sat.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ int calcNumBlocks(unsigned int saveSize, unsigned int blockSize, unsigned int* n
unsigned int numBlocks = 0;
unsigned int numBlocks2 = 0;

if(saveSize == 0)s
if(saveSize == 0)
{
return -1;
}
Expand Down Expand Up @@ -104,7 +104,7 @@ int satListSaves(unsigned char* partitionBuf, unsigned int partitionSize, unsign
memcpy(saves[savesFound].name, metadata->saveName, MAX_SAVE_FILENAME - 1);
saves[savesFound].name[MAX_SAVE_FILENAME -1] = '\0';

snprintf(saves[savesFound].filename, MAX_FILENAME - 1, "%s.BUP", metadata->saveName);
snprintf(saves[savesFound].filename, MAX_FILENAME - 1, "%s.BUP", saves[savesFound].name);
saves[savesFound].filename[MAX_FILENAME -1] = '\0';

// langugae
Expand Down

0 comments on commit 771e818

Please sign in to comment.