mirror of
https://github.com/tuz358/cpu-emulator.git
synced 2025-12-18 04:54:36 +03:00
Bug fix
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
void Emulator::init(size_t memorysize, FILE *bin){
|
||||
memory.init(memorysize);
|
||||
memory.load_binary(bin);
|
||||
instructions.init(0, (int)memorysize/2);
|
||||
instructions.init(0, (int)memorysize/2, memory);
|
||||
}
|
||||
|
||||
void Emulator::free(){
|
||||
|
||||
Reference in New Issue
Block a user