1
0
mirror of https://github.com/parasyte/alt64 synced 2024-11-02 00:05:03 -04:00

moved CRC_Calculate to the correct number

This commit is contained in:
Robin Jones 2017-10-13 11:28:48 +01:00
parent 25609847df
commit 45b0243a98
3 changed files with 4 additions and 2 deletions

View File

@ -11,7 +11,6 @@
#include "types.h"
void data_cache_hit_writeback_invalidate(volatile void *, unsigned long);
unsigned int CRC_Calculate(unsigned int crc, unsigned char* buf, unsigned int len);
void dma_write_sram(void* src, u32 offset, u32 size);
void dma_read_sram(void *dest, u32 offset, u32 size);
void dma_write_s(void * ram_address, unsigned long pi_address, unsigned long len);

View File

@ -20,6 +20,8 @@ void dma_read_sram(void *dest, u32 offset, u32 size);
u8 getSaveType();
u8 getCicType(u8 bios_cic);
unsigned int CRC_Calculate(unsigned int crc, unsigned char* buf, unsigned int len);
typedef struct SP_regs_s {
u32 mem_addr;

View File

@ -95,7 +95,8 @@ int get_cic(unsigned char *buffer) {
return 5;
case 0x86015f8f:
return 6;
//case 0x86015f8f: TODO: need to find the correct number
//return 5167; 64dd
}
return 2;
}