Skip to content

Commit

Permalink
Ioctl/drm: Adds missing flags member copying
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonicadvance1 committed Sep 9, 2024
1 parent 6e2391a commit 4212c64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Tools/LinuxEmulation/LinuxSyscalls/x32/Ioctl/drm.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ namespace DRM {
CPYT(size);
CPYT(low_mark);
CPYT(high_mark);
memcpy(&val.flags, &flags, sizeof(val.flags));
CPYT(agp_start);
return val;
}
Expand All @@ -206,6 +207,7 @@ namespace DRM {
CPYF(size);
CPYF(low_mark);
CPYF(high_mark);
memcpy(&flags, &val.flags, sizeof(val.flags));
CPYF(agp_start);
}
};
Expand Down

0 comments on commit 4212c64

Please sign in to comment.