Skip to content

Commit

Permalink
thcrap_tasofro: fix some dumb compil errors
Browse files Browse the repository at this point in the history
  • Loading branch information
brliron committed Feb 3, 2017
1 parent 7051047 commit cb45e4a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion thcrap_tasofro/src/tfcs.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ typedef struct {
extern "C" {
#endif

int patch_TFCS(BYTE *file_inout, size_t size_out, size_t size_in, json_t *patch);
int patch_tfcs(BYTE *file_inout, size_t size_out, size_t size_in, json_t *patch);

#ifdef __cplusplus
}
Expand Down
2 changes: 2 additions & 0 deletions thcrap_tasofro/src/thcrap_tasofro.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

#include <thcrap.h>
#include "thcrap_tasofro.h"
#include "pl.h"
#include "tfcs.h"

// TODO: read the file names list in JSON format
int __stdcall thcrap_plugin_init()
Expand Down
1 change: 0 additions & 1 deletion thcrap_tasofro/src/thcrap_tasofro.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ struct FileHeaderFull* register_file_header(struct FileHeader* header, DWORD *ke
struct FileHeaderFull* hash_to_file_header(DWORD hash);
void uncrypt_block(BYTE* Data, DWORD FileSize, DWORD* Key);
DWORD crypt_block(BYTE* Data, DWORD FileSize, DWORD* Key);
int patch_pl(BYTE *file_inout, size_t size_out, size_t size_in, json_t *patch);

#ifdef __cplusplus
}
Expand Down
1 change: 1 addition & 0 deletions thcrap_tasofro/thcrap_tasofro.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<PrecompiledHeader>NotUsing</PrecompiledHeader>
</ClCompile>
<ClInclude Include="src\pl.h" />
<ClInclude Include="src\tfcs.h" />
<ClInclude Include="src\thcrap_tasofro.h" />
<None Include="thcrap_tasofro.def" />
</ItemGroup>
Expand Down

0 comments on commit cb45e4a

Please sign in to comment.