Skip to content

Instantly share code, notes, and snippets.

@Mjiig
Created July 21, 2012 17:45
Show Gist options
  • Save Mjiig/3156531 to your computer and use it in GitHub Desktop.
Save Mjiig/3156531 to your computer and use it in GitHub Desktop.
int VM::run(std::string state)
{
r1=r2=r3=r4=r5=0;
for(int i=0; i<256;i++)
{
memory[i]=0;
}
load(state);
mainloop();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment