mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
DSP switched mode 16 and 40
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3045 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
e3c4e040e9
commit
89178f411c
5 changed files with 27 additions and 26 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue