Linux: Fixes so it compiles in 32bit. Now a Config dialog for the video plugin, Linux only, if you want to change for Windows, work on it

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@61 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1
2008-07-23 08:49:58 +00:00
parent f9582bef30
commit 1d175eadd7
7 changed files with 215 additions and 20 deletions

View File

@ -64,8 +64,11 @@ void* MemArena::CreateView(s64 offset, size_t size, bool ensure_low_mem)
#else
void* ptr = mmap(0, size,
PROT_READ | PROT_WRITE,
MAP_SHARED | (ensure_low_mem ? MAP_32BIT : 0),
fd, offset);
MAP_SHARED
#ifdef __x86_64__
| (ensure_low_mem ? MAP_32BIT : 0)
#endif
, fd, offset);
if (!ptr)
{