mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 07:28:13 +00:00
vb bindings remove DYNLOAD (#812)
This commit is contained in:
parent
fa45a42c76
commit
9eebd6daa3
2 changed files with 6 additions and 6 deletions
|
@ -25,7 +25,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <unicorn/unicorn.h>
|
#include <unicorn/unicorn.h>
|
||||||
|
#pragma comment(lib, "unicorn.lib")
|
||||||
|
|
||||||
//if you compile with VS2008 you will need to add stdint.h and inttypes.h to your compiler include directory
|
//if you compile with VS2008 you will need to add stdint.h and inttypes.h to your compiler include directory
|
||||||
//you can find examples here: https://github.com/dzzie/VS_LIBEMU/tree/master/libemu/include
|
//you can find examples here: https://github.com/dzzie/VS_LIBEMU/tree/master/libemu/include
|
||||||
|
@ -168,11 +168,11 @@ uc_err __stdcall ucs_hook_add(uc_engine *uc, uc_hook *hh, int type, void *callba
|
||||||
|
|
||||||
unsigned int __stdcall ucs_dynload(char *path){
|
unsigned int __stdcall ucs_dynload(char *path){
|
||||||
#pragma EXPORT
|
#pragma EXPORT
|
||||||
#ifdef DYNLOAD
|
/*#ifdef DYNLOAD
|
||||||
return uc_dyn_load(path, 0);
|
return uc_dyn_load(path, 0);
|
||||||
#else
|
#else*/
|
||||||
return 1;
|
return 1;
|
||||||
#endif
|
//#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int __stdcall ucs_version(unsigned int *major, unsigned int *minor){
|
unsigned int __stdcall ucs_version(unsigned int *major, unsigned int *minor){
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="./../../include/"
|
AdditionalIncludeDirectories="./../../include/"
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;DYNLOAD;"
|
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="1"
|
RuntimeLibrary="1"
|
||||||
|
@ -120,7 +120,7 @@
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
EnableIntrinsicFunctions="true"
|
EnableIntrinsicFunctions="true"
|
||||||
AdditionalIncludeDirectories="./../../include/"
|
AdditionalIncludeDirectories="./../../include/"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;DYNLOAD;"
|
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
EnableFunctionLevelLinking="true"
|
EnableFunctionLevelLinking="true"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
|
|
Loading…
Reference in a new issue