summaryrefslogtreecommitdiff
path: root/disasm/dumpobject.hpp
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-09-10 16:04:23 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-09-10 16:04:23 +0200
commit4f65043e40dbaf8e4cc290327e34270645dedce3 (patch)
tree8fe2979b77d0edfd99d64db77ae43a437b888fca /disasm/dumpobject.hpp
parentcec56db9d4c84de13796ce7cd7dcd2631c443cec (diff)
downloadopenwar-4f65043e40dbaf8e4cc290327e34270645dedce3.tar.gz
openwar-4f65043e40dbaf8e4cc290327e34270645dedce3.tar.bz2
openwar-4f65043e40dbaf8e4cc290327e34270645dedce3.zip
Fixes differences in between input buffers in different parts.
Now opens files in binary mode, and added some conveniance functions to read parts of the binary file.
Diffstat (limited to 'disasm/dumpobject.hpp')
-rw-r--r--disasm/dumpobject.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/disasm/dumpobject.hpp b/disasm/dumpobject.hpp
index 8685588..94c7e34 100644
--- a/disasm/dumpobject.hpp
+++ b/disasm/dumpobject.hpp
@@ -5,4 +5,4 @@
#include <fstream>
#include <cstdint>
-void dump_object(std::ifstream& ifs, binparse::Value32 object_id); \ No newline at end of file
+void dump_object(std::string file_name, binparse::Value32 object_id); \ No newline at end of file