1
0
Fork 0

getregister public in value

This commit is contained in:
mrexodia 2016-05-20 04:05:16 +02:00
parent 6b632eac0a
commit 6c742d0ce1
2 changed files with 3 additions and 2 deletions

View File

@ -611,10 +611,10 @@ bool setflag(const char* string, bool set)
/**
\brief Gets a register from a string.
\param [out] size This function can store the register size in bytes in this parameter. Can be null, in that case it will be ignored.
\param string The name of the register to get.
\param string The name of the register to get. Cannot be null.
\return The register value.
*/
static duint getregister(int* size, const char* string)
duint getregister(int* size, const char* string)
{
if(size)
*size = 4;

View File

@ -21,5 +21,6 @@ duint valfileoffsettova(const char* modname, duint offset);
duint valvatofileoffset(duint va);
bool setregister(const char* string, duint value);
bool setflag(const char* string, bool set);
duint getregister(int* size, const char* string);
#endif // _VALUE_H