mirror of
https://github.com/sanni/cartreader.git
synced 2025-01-11 20:49:06 +01:00
Fix adding multiple newlines to log when scrolling through NES database
This commit is contained in:
parent
9bfa9c3418
commit
e98d21f9c1
@ -4,7 +4,7 @@
|
||||
This project represents a community-driven effort to provide
|
||||
an easy to build and easy to modify cartridge dumper.
|
||||
|
||||
Date: 10.02.2023
|
||||
Date: 13.02.2023
|
||||
Version: 12.3
|
||||
|
||||
SD lib: https://github.com/greiman/SdFat
|
||||
|
@ -624,12 +624,16 @@ void getMapping() {
|
||||
|
||||
// Display database
|
||||
while (database.available()) {
|
||||
#ifdef global_log
|
||||
// Disable log to prevent unnecessary logging
|
||||
dont_log = true;
|
||||
#endif
|
||||
|
||||
byte iNES[16];
|
||||
byte* output;
|
||||
char* input;
|
||||
|
||||
struct database_entry entry;
|
||||
|
||||
display_Clear();
|
||||
readDatabaseEntry(database, &entry);
|
||||
|
||||
@ -689,11 +693,6 @@ void getMapping() {
|
||||
ram = 1; // 1K
|
||||
}
|
||||
|
||||
#ifdef global_log
|
||||
// Disable log to prevent unnecessary logging
|
||||
//println_Log(F("Get Mapping from List"));
|
||||
dont_log = true;
|
||||
#endif
|
||||
println_Msg(entry.filename);
|
||||
printNESSettings();
|
||||
#if defined(enable_OLED)
|
||||
|
Loading…
x
Reference in New Issue
Block a user