mirror of
https://github.com/sanni/cartreader.git
synced 2025-01-27 12:15:27 +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
|
This project represents a community-driven effort to provide
|
||||||
an easy to build and easy to modify cartridge dumper.
|
an easy to build and easy to modify cartridge dumper.
|
||||||
|
|
||||||
Date: 10.02.2023
|
Date: 13.02.2023
|
||||||
Version: 12.3
|
Version: 12.3
|
||||||
|
|
||||||
SD lib: https://github.com/greiman/SdFat
|
SD lib: https://github.com/greiman/SdFat
|
||||||
|
@ -624,12 +624,16 @@ void getMapping() {
|
|||||||
|
|
||||||
// Display database
|
// Display database
|
||||||
while (database.available()) {
|
while (database.available()) {
|
||||||
|
#ifdef global_log
|
||||||
|
// Disable log to prevent unnecessary logging
|
||||||
|
dont_log = true;
|
||||||
|
#endif
|
||||||
|
|
||||||
byte iNES[16];
|
byte iNES[16];
|
||||||
byte* output;
|
byte* output;
|
||||||
char* input;
|
char* input;
|
||||||
|
|
||||||
struct database_entry entry;
|
struct database_entry entry;
|
||||||
|
|
||||||
display_Clear();
|
display_Clear();
|
||||||
readDatabaseEntry(database, &entry);
|
readDatabaseEntry(database, &entry);
|
||||||
|
|
||||||
@ -689,11 +693,6 @@ void getMapping() {
|
|||||||
ram = 1; // 1K
|
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);
|
println_Msg(entry.filename);
|
||||||
printNESSettings();
|
printNESSettings();
|
||||||
#if defined(enable_OLED)
|
#if defined(enable_OLED)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user