mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-14 17:05:08 +01:00
Update N64.ino
This commit is contained in:
parent
2a3963cb64
commit
2ff59bffb9
@ -476,6 +476,9 @@ void adIn_N64() {
|
|||||||
DDRF = 0x00;
|
DDRF = 0x00;
|
||||||
//A8-A15
|
//A8-A15
|
||||||
DDRK = 0x00;
|
DDRK = 0x00;
|
||||||
|
//Enable internal pull-up resistors
|
||||||
|
//PORTF = 0xFF;
|
||||||
|
//PORTK = 0xFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set Cartridge address
|
// Set Cartridge address
|
||||||
@ -2922,10 +2925,8 @@ redumpsamefolder:
|
|||||||
|
|
||||||
// end time
|
// end time
|
||||||
unsigned long timeElapsed = (millis() - startTime) / 1000; // seconds
|
unsigned long timeElapsed = (millis() - startTime) / 1000; // seconds
|
||||||
#endif
|
#else
|
||||||
|
|
||||||
// dumping rom fast
|
// dumping rom fast
|
||||||
#ifdef fastcrc
|
|
||||||
byte buffer[1024] = { 0 };
|
byte buffer[1024] = { 0 };
|
||||||
|
|
||||||
// get current time
|
// get current time
|
||||||
|
@ -38,8 +38,7 @@
|
|||||||
#define clockgen_installed
|
#define clockgen_installed
|
||||||
|
|
||||||
// Define CRC method for dumping N64 ROMs, slow seems to be more compatible with some SD cards
|
// Define CRC method for dumping N64 ROMs, slow seems to be more compatible with some SD cards
|
||||||
#define fastcrc //crc will be calculated during dumping from memory
|
//#define slowcrc // crc will be calculated after dumping from SD card instead of during dumping from memory
|
||||||
//#define slowcrc // crc will be calculated after dumping from SD card
|
|
||||||
|
|
||||||
// saves a n64log.txt file with rom info in /N64/ROM
|
// saves a n64log.txt file with rom info in /N64/ROM
|
||||||
#define savesummarytotxt
|
#define savesummarytotxt
|
||||||
|
Loading…
Reference in New Issue
Block a user