From 97be8008895ce6de454275b3175552f42c160b19 Mon Sep 17 00:00:00 2001 From: LuigiBlood Date: Tue, 13 Aug 2019 22:08:38 +0200 Subject: [PATCH] [RomList] Properly Byteswap a Development Disk --- Source/Project64-core/RomList/RomList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64-core/RomList/RomList.cpp b/Source/Project64-core/RomList/RomList.cpp index 1880d7bcf..a2c05d71f 100644 --- a/Source/Project64-core/RomList/RomList.cpp +++ b/Source/Project64-core/RomList/RomList.cpp @@ -639,7 +639,6 @@ void CRomList::ByteSwapRomData(uint8_t * Data, int32_t DataLen) case 0x07408027: //64DD IPL case 0xD316E848: //64DD JP Disk case 0xEE562263: //64DD US Disk - case 0x00000000: //64DD DEV Disk for (count = 0; count < DataLen; count += 4) { Data[count] ^= Data[count + 2]; @@ -654,6 +653,7 @@ void CRomList::ByteSwapRomData(uint8_t * Data, int32_t DataLen) case 0x16D348E8: //64DD JP Disk case 0x56EE6322: //64DD US Disk case 0x40123780: + case 0x00000000: //64DD DEV Disk for (count = 0; count < DataLen; count += 4) { Data[count] ^= Data[count + 3];