diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2017-02-01 13:27:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-01 13:27:03 +0100 |
| commit | f558ae4dd12d767583c3ff756c07ea9fd4a3549e (patch) | |
| tree | 022e733423573d52cd9d109163d39a4dd515df32 /Source/Core | |
| parent | 094a75f3cb3220f904a549fd873e343bc2f6c418 (diff) | |
| parent | 093b61139b941b7bd36bf9cfee284a1a1b872d66 (diff) | |
Merge pull request #4790 from lioncash/sram
Sram: Make SRAM dumps const
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/HW/Sram.cpp | 13 | ||||
| -rw-r--r-- | Source/Core/Core/HW/Sram.h | 1 |
2 files changed, 7 insertions, 7 deletions
diff --git a/Source/Core/Core/HW/Sram.cpp b/Source/Core/Core/HW/Sram.cpp index 04bdf5175f..158a927747 100644 --- a/Source/Core/Core/HW/Sram.cpp +++ b/Source/Core/Core/HW/Sram.cpp @@ -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, diff --git a/Source/Core/Core/HW/Sram.h b/Source/Core/Core/HW/Sram.h index 5dff98a010..441e6e969c 100644 --- a/Source/Core/Core/HW/Sram.h +++ b/Source/Core/Core/HW/Sram.h @@ -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; |
