diff options
author | sanni <[email protected]> | 2022-10-27 23:43:46 +0200 |
---|---|---|
committer | sanni <[email protected]> | 2022-10-27 23:43:46 +0200 |
commit | 5357dea659632141a8c4360132ef894d13fe0c18 (patch) | |
tree | 61daf23ee06699e2812c6e56e5187d46e82f039f /Cart_Reader/SMS.ino | |
parent | 1a081eb6f60be1f2e64b4782c63bf1a0f1d41005 (diff) | |
download | cartreader-5357dea659632141a8c4360132ef894d13fe0c18.tar.gz cartreader-5357dea659632141a8c4360132ef894d13fe0c18.zip |
Print checksum and header CRC32 when searching database
Diffstat (limited to 'Cart_Reader/SMS.ino')
-rw-r--r-- | Cart_Reader/SMS.ino | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/Cart_Reader/SMS.ino b/Cart_Reader/SMS.ino index bdf9bc4..052e60a 100644 --- a/Cart_Reader/SMS.ino +++ b/Cart_Reader/SMS.ino @@ -69,11 +69,9 @@ void _smsMenu() { readROM_SMS();
if ((retrode_mode && !retrode_mode_sms) || retron_mode) {
compareCRC("gg.txt", 0, 1, 0);
- }
- else if (raphnet_mode_sg1000) {
+ } else if (raphnet_mode_sg1000) {
compareCRC("sg1000.txt", 0, 1, 0);
- }
- else {
+ } else {
compareCRC("sms.txt", 0, 1, 0);
}
#ifdef global_log
@@ -568,12 +566,10 @@ void readROM_SMS() { if ((retrode_mode && !retrode_mode_sms) || retron_mode) {
strcat(fileName, ".gg");
sprintf(folder, "GG/ROM/%s/%d", romName, foldern);
- }
- else if (raphnet_mode_sg1000) {
+ } else if (raphnet_mode_sg1000) {
strcat(fileName, ".sg");
sprintf(folder, "SG1000/ROM/%s/%d", romName, foldern);
- }
- else {
+ } else {
strcat(fileName, ".sms");
sprintf(folder, "SMS/ROM/%s/%d", romName, foldern);
}
@@ -762,4 +758,4 @@ void writeSRAM_SMS() { //******************************************
// End of File
-//******************************************
+//******************************************
\ No newline at end of file |