aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorm8pple <dt10@imperial.ac.uk>2016-10-24 19:41:41 +0100
committerGitHub <noreply@github.com>2016-10-24 19:41:41 +0100
commit3a31f9f79f7f21e67ddb5eeee362f8f21b5d77ef (patch)
tree6edf2e9391b9a3954a951606312da69b846eca44
parent7e3d6d925da77af59bea971162342c32cf6e3de6 (diff)
downloadMipsCPU-3a31f9f79f7f21e67ddb5eeee362f8f21b5d77ef.tar.gz
MipsCPU-3a31f9f79f7f21e67ddb5eeee362f8f21b5d77ef.zip
Allow 512MB ram at request of @lorenzo2897. Closes #42.
-rw-r--r--src/shared/mips_mem_ram.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/mips_mem_ram.cpp b/src/shared/mips_mem_ram.cpp
index 0a01b5b..3d4d6d2 100644
--- a/src/shared/mips_mem_ram.cpp
+++ b/src/shared/mips_mem_ram.cpp
@@ -18,7 +18,7 @@ struct mips_mem_provider
extern "C" mips_mem_h mips_mem_create_ram(
uint32_t cbMem //!< Total number of bytes of ram
){
- if(cbMem>0x10000000){
+ if(cbMem>0x20000000){
return 0; // No more than 256MB of RAM
}