Remove unused variables in N64.ino

This commit is contained in:
Ancyker 2023-09-13 10:32:48 -04:00
parent fafd9caf7f
commit 4f8ef61355

View File

@ -4050,7 +4050,6 @@ unsigned long verifyFlashrom_N64() {
N64 Gameshark Flash Functions N64 Gameshark Flash Functions
*****************************************/ *****************************************/
void flashGameshark_N64() { void flashGameshark_N64() {
int flashSize = 0;
// Check flashrom ID's // Check flashrom ID's
unlockGSAddressRanges(); unlockGSAddressRanges();
idGameshark_N64(); idGameshark_N64();
@ -4384,7 +4383,6 @@ void writeGameshark_N64() {
uint32_t processedProgressBar = 0; uint32_t processedProgressBar = 0;
uint32_t totalProgressBar = (uint32_t)(fileSize); uint32_t totalProgressBar = (uint32_t)(fileSize);
draw_progressbar(0, totalProgressBar); draw_progressbar(0, totalProgressBar);
bool toggle = true;
myFile.seek(0); myFile.seek(0);
for (unsigned long currSector = 0; currSector < fileSize; currSector += 16384) { for (unsigned long currSector = 0; currSector < fileSize; currSector += 16384) {
for (unsigned long currSdBuffer = 0; currSdBuffer < 16384; currSdBuffer += 256) { for (unsigned long currSdBuffer = 0; currSdBuffer < 16384; currSdBuffer += 256) {