Skip to content

Commit

Permalink
Update support for Portal 2 to 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
masagrator committed Sep 8, 2022
1 parent 13fbfe8 commit dd0073c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Portal/main_patch.cpp
Expand Up @@ -113,7 +113,7 @@ void fopen2_hook(fopen2Struct* _struct, void* x1, const char* path){
void* new_buffer = malloc(size);
#endif
#ifdef PORTAL2
void* Allocator = (void*)(TextRegionOffset+0x861078);
void* Allocator = (void*)(TextRegionOffset+0x860078);
void* new_buffer = _ZN2nn3mem17StandardAllocator8AllocateEm(Allocator, size);
#endif

Expand Down

0 comments on commit dd0073c

Please sign in to comment.