summaryrefslogtreecommitdiff
path: root/disasm/extractfunction.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/extractfunction.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/extractfunction.hpp')
-rw-r--r--disasm/extractfunction.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/disasm/extractfunction.hpp b/disasm/extractfunction.hpp
index 57e0597..0b3099b 100644
--- a/disasm/extractfunction.hpp
+++ b/disasm/extractfunction.hpp
@@ -3,4 +3,4 @@
#include "le_file.hpp"
#include "types.hpp"
-void extract_function(std::istream& is, binparse::Value32 object_id, binparse::Offset32 function_offset);
+void extract_function(std::string file_path, binparse::Value32 object_id, binparse::Offset32 function_offset);