Ok I have an array
I want to load a file into this memory, but I want it to start at 0x200, not at the beginning of the array.Code:unsigned char Memory[0xFFF];
Here's my code
How can I start reading in at 0x200?Code:bool CPU::LoadRom(char *sFileName)
{
ifstream Rom(sFileName);
if(!Rom.is_open())
return FALSE;
Rom.seekg(0, ios::end);
long size = Rom.tellg();
Rom.seekg(0, ios::beg);
Rom.read(Memory, size);
Rom.close();
return TRUE;
}