Speed up sim65 by 10%
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
/* THE memory */
|
||||
static unsigned char Mem[0x10000];
|
||||
unsigned char Mem[0x10000];
|
||||
|
||||
|
||||
|
||||
@@ -73,14 +73,6 @@ void MemWriteWord (unsigned Addr, unsigned Val)
|
||||
|
||||
|
||||
|
||||
unsigned char MemReadByte (unsigned Addr)
|
||||
/* Read a byte from a memory location */
|
||||
{
|
||||
return Mem[Addr];
|
||||
}
|
||||
|
||||
|
||||
|
||||
unsigned MemReadWord (unsigned Addr)
|
||||
/* Read a word from a memory location */
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user