summaryrefslogtreecommitdiff
path: root/src/base/loader/hex_file.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/loader/hex_file.cc')
-rwxr-xr-xsrc/base/loader/hex_file.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/loader/hex_file.cc b/src/base/loader/hex_file.cc
index d38c0fb62..bfebc1b44 100755
--- a/src/base/loader/hex_file.cc
+++ b/src/base/loader/hex_file.cc
@@ -59,7 +59,7 @@ HexFile::~HexFile()
}
bool
-HexFile::loadSections(PortProxy* memProxy)
+HexFile::loadSections(PortProxy& memProxy)
{
char Line[64];
Addr MemAddr;
@@ -71,7 +71,7 @@ HexFile::loadSections(PortProxy* memProxy)
parseLine(Line, &MemAddr, &Data);
if (MemAddr != 0) {
// Now, write to memory
- memProxy->writeBlob(MemAddr << 2, (uint8_t *)&Data, sizeof(Data));
+ memProxy.writeBlob(MemAddr << 2, (uint8_t *)&Data, sizeof(Data));
}
}
return true;