Merge pull request #4790 from lioncash/sram
Sram: Make SRAM dumps const
This commit is contained in:
commit
f558ae4dd1
|
@ -9,15 +9,16 @@
|
|||
#include "Core/ConfigManager.h"
|
||||
|
||||
// english
|
||||
SRAM sram_dump = {{0x00, 0x2C, 0xFF, 0xD0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2C, 0x44, 0x4F, 0x4C, 0x50, 0x48, 0x49,
|
||||
0x4E, 0x53, 0x4C, 0x4F, 0x54, 0x41, 0x44, 0x4F, 0x4C, 0x50, 0x48, 0x49, 0x4E,
|
||||
0x53, 0x4C, 0x4F, 0x54, 0x42, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x6E, 0x6D, 0x00, 0x00, 0x00, 0x00}};
|
||||
const SRAM sram_dump = {{0x00, 0x2C, 0xFF, 0xD0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2C, 0x44, 0x4F,
|
||||
0x4C, 0x50, 0x48, 0x49, 0x4E, 0x53, 0x4C, 0x4F, 0x54, 0x41, 0x44,
|
||||
0x4F, 0x4C, 0x50, 0x48, 0x49, 0x4E, 0x53, 0x4C, 0x4F, 0x54, 0x42,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x6E, 0x6D, 0x00, 0x00, 0x00, 0x00}};
|
||||
|
||||
#if 0
|
||||
// german
|
||||
SRAM sram_dump_german = {{
|
||||
const SRAM sram_dump_german = {{
|
||||
0x1F, 0x66,
|
||||
0xE0, 0x96,
|
||||
0x00, 0x00, 0x00, 0x00,
|
||||
|
|
|
@ -84,6 +84,5 @@ void InitSRAM();
|
|||
void SetCardFlashID(const u8* buffer, u8 card_index);
|
||||
void FixSRAMChecksums();
|
||||
|
||||
extern SRAM sram_dump;
|
||||
extern SRAM g_SRAM;
|
||||
extern bool g_SRAM_netplay_initialized;
|
||||
|
|
Loading…
Reference in New Issue