diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-07-31 00:47:44 -0500 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-07-31 00:53:00 -0500 |
| commit | 33450c80c3ca39ef1875f9c72898ba5749d06142 (patch) | |
| tree | 16b816754213cfdce798d038616578cdaa7f18ff /Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp | |
| parent | f5078273990e381a8437e945828444cefc410417 (diff) | |
Fixes a check for what mmap returns.
On error mmap returns MAP_FAILED(-1) not null.
FreeBSD was checking the return correctly, Linux was not.
This was noticed by triad attempting to run Dolphin under valgrind and not getting a memory space under the 2GB limit(Because -1 wraps around on
unsigned obviously)
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp')
0 files changed, 0 insertions, 0 deletions
