Skip to content

Commit

Permalink
Update Client.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems authored and timower committed May 25, 2024
1 parent 991fdea commit b28e5c0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libs/rm2fb/Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,11 @@ __libc_start_main(int (*_main)(int, char**, char**),

setenv("RM2FB_SHIM", "1", true);
setenv("RM2STUFF_RM2FB", "1", true);
setenv("RM2FB_ACTIVE", "1", true);
if (getenv("RM2FB_ACTIVE") != nullptr) {
setenv("RM2FB_NESTED", "1", true);
} else {
setenv("RM2FB_ACTIVE", "1", true);
}

if (fb.mem == nullptr) {
std::cout << "No rm2fb shared memory\n";
Expand Down

0 comments on commit b28e5c0

Please sign in to comment.