diff options
| author | nakeee <nakeee@gmail.com> | 2009-04-22 19:08:13 +0000 |
|---|---|---|
| committer | nakeee <nakeee@gmail.com> | 2009-04-22 19:08:13 +0000 |
| commit | 89178f411cf1e8ef61b005197545618e53a0d4e8 (patch) | |
| tree | 052430c3a2c4660d43b696a980ca07e42f520bd4 /Source/Core/Common | |
| parent | e3c4e040e9a2f7d39f7e277fcdf4d7cf6909c693 (diff) | |
DSP switched mode 16 and 40
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3045 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/Src/SDCardUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/SDCardUtil.cpp b/Source/Core/Common/Src/SDCardUtil.cpp index 96f368d7e5..1638ede08c 100644 --- a/Source/Core/Common/Src/SDCardUtil.cpp +++ b/Source/Core/Common/Src/SDCardUtil.cpp @@ -192,7 +192,7 @@ bool SDCardCreate(u32 disk_size /*in MB*/, char* filename) // Convert MB to bytes disk_size *= 1024*1024; - if (disk_size < 0x800000 || disk_size > 0x800000000) + if (disk_size < 0x800000 || disk_size > 0x800000000ULL) ERROR_LOG(COMMON, "Trying to create SD Card image of size %iMB is out of range (8MB-32GB)", disk_size/(1024*1024)); sectors_per_disk = disk_size / 512; |
