Add new_flags parameter to protect_addr

This commit is contained in:
8dcc
2023-07-25 18:49:34 +02:00
parent d2d1f55d22
commit 4b7cdc86b9
3 changed files with 6 additions and 5 deletions

View File

@@ -35,6 +35,6 @@ float angle_delta_rad(float a, float b);
bool world_to_screen(vec3_t vec, vec2_t screen);
void gl_drawbox(int x, int y, int w, int h, rgb_t c);
void gl_drawline(int x0, int y0, int x1, int y1, float w, rgb_t col);
bool unprotect_addr(void* ptr);
bool protect_addr(void* ptr, int new_flags);
#endif /* UTIL_H_ */