mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-10 23:15:08 +01:00
Remove unused variables in N64.ino
This commit is contained in:
parent
fafd9caf7f
commit
4f8ef61355
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user