mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 05:09:46 -06:00
don't calculate the CRC checksum of ROMs on load
the value isn't used anywhere anyway
This commit is contained in:
@ -22,7 +22,6 @@
|
|||||||
#include "DSi.h"
|
#include "DSi.h"
|
||||||
#include "NDSCart.h"
|
#include "NDSCart.h"
|
||||||
#include "ARM.h"
|
#include "ARM.h"
|
||||||
#include "CRC32.h"
|
|
||||||
#include "DSi_AES.h"
|
#include "DSi_AES.h"
|
||||||
#include "Platform.h"
|
#include "Platform.h"
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
@ -485,7 +484,6 @@ u8 TransferCmd[8];
|
|||||||
bool CartInserted;
|
bool CartInserted;
|
||||||
u8* CartROM;
|
u8* CartROM;
|
||||||
u32 CartROMSize;
|
u32 CartROMSize;
|
||||||
u32 CartCRC;
|
|
||||||
u32 CartID;
|
u32 CartID;
|
||||||
bool CartIsHomebrew;
|
bool CartIsHomebrew;
|
||||||
bool CartIsDSi;
|
bool CartIsDSi;
|
||||||
@ -932,9 +930,6 @@ bool LoadROM(const char* path, const char* sram, bool direct)
|
|||||||
fclose(f);
|
fclose(f);
|
||||||
//CartROM = f;
|
//CartROM = f;
|
||||||
|
|
||||||
CartCRC = CRC32(CartROM, CartROMSize);
|
|
||||||
printf("ROM CRC32: %08X\n", CartCRC);
|
|
||||||
|
|
||||||
ROMListEntry romparams;
|
ROMListEntry romparams;
|
||||||
if (!ReadROMParams(gamecode, &romparams))
|
if (!ReadROMParams(gamecode, &romparams))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user