Commit 3dda5814 authored by George Hotz's avatar George Hotz

fully standalone

parent 8f6ec794
...@@ -2,7 +2,6 @@ package main ...@@ -2,7 +2,6 @@ package main
import ( import (
"encoding/binary" "encoding/binary"
"io/ioutil"
"log" "log"
"testing" "testing"
...@@ -16,10 +15,9 @@ func TestUnicornCrash(t *testing.T) { ...@@ -16,10 +15,9 @@ func TestUnicornCrash(t *testing.T) {
} }
// program // program
fn := "../mipigo/test/test.bin" dat := make([]byte, 1490944)
dat, err := ioutil.ReadFile(fn) for i := 0; i < len(dat); i++ {
if err != nil { dat[i] = 0xaa
log.Fatal(err)
} }
mu.MemWrite(0, dat) mu.MemWrite(0, dat)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment