aboutsummaryrefslogtreecommitdiff
path: root/src/NDSCart.cpp
diff options
context:
space:
mode:
authorRSDuck <rsduck@users.noreply.github.com>2020-12-30 01:59:35 +0100
committerRSDuck <rsduck@users.noreply.github.com>2020-12-30 01:59:35 +0100
commit1649c0e089ef929fe3eb654cd39d627668c3778a (patch)
tree17e815370be25ba789920f19571777d22e1a9eb6 /src/NDSCart.cpp
parentc32e83f1405ebab26323f10a0bb488b3c19d483a (diff)
don't calculate the CRC checksum of ROMs on load
the value isn't used anywhere anyway
Diffstat (limited to 'src/NDSCart.cpp')
-rw-r--r--src/NDSCart.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/NDSCart.cpp b/src/NDSCart.cpp
index 2d8396a..fa235a4 100644
--- a/src/NDSCart.cpp
+++ b/src/NDSCart.cpp
@@ -22,7 +22,6 @@
#include "DSi.h"
#include "NDSCart.h"
#include "ARM.h"
-#include "CRC32.h"
#include "DSi_AES.h"
#include "Platform.h"
#include "Config.h"
@@ -485,7 +484,6 @@ u8 TransferCmd[8];
bool CartInserted;
u8* CartROM;
u32 CartROMSize;
-u32 CartCRC;
u32 CartID;
bool CartIsHomebrew;
bool CartIsDSi;
@@ -932,9 +930,6 @@ bool LoadROM(const char* path, const char* sram, bool direct)
fclose(f);
//CartROM = f;
- CartCRC = CRC32(CartROM, CartROMSize);
- printf("ROM CRC32: %08X\n", CartCRC);
-
ROMListEntry romparams;
if (!ReadROMParams(gamecode, &romparams))
{