early-access version 3268
This commit is contained in:
parent
4014ed63c1
commit
6c511d2f94
@ -1,7 +1,7 @@
|
||||
yuzu emulator early access
|
||||
=============
|
||||
|
||||
This is the source code for early-access 3267.
|
||||
This is the source code for early-access 3268.
|
||||
|
||||
## Legal Notice
|
||||
|
||||
|
1334
dist/languages/ca.ts
vendored
1334
dist/languages/ca.ts
vendored
File diff suppressed because it is too large
Load Diff
1334
dist/languages/cs.ts
vendored
1334
dist/languages/cs.ts
vendored
File diff suppressed because it is too large
Load Diff
1332
dist/languages/da.ts
vendored
1332
dist/languages/da.ts
vendored
File diff suppressed because it is too large
Load Diff
1380
dist/languages/de.ts
vendored
1380
dist/languages/de.ts
vendored
File diff suppressed because it is too large
Load Diff
1332
dist/languages/el.ts
vendored
1332
dist/languages/el.ts
vendored
File diff suppressed because it is too large
Load Diff
1338
dist/languages/es.ts
vendored
1338
dist/languages/es.ts
vendored
File diff suppressed because it is too large
Load Diff
1343
dist/languages/fr.ts
vendored
1343
dist/languages/fr.ts
vendored
File diff suppressed because it is too large
Load Diff
1332
dist/languages/id.ts
vendored
1332
dist/languages/id.ts
vendored
File diff suppressed because it is too large
Load Diff
1431
dist/languages/it.ts
vendored
1431
dist/languages/it.ts
vendored
File diff suppressed because it is too large
Load Diff
1334
dist/languages/ja_JP.ts
vendored
1334
dist/languages/ja_JP.ts
vendored
File diff suppressed because it is too large
Load Diff
1334
dist/languages/ko_KR.ts
vendored
1334
dist/languages/ko_KR.ts
vendored
File diff suppressed because it is too large
Load Diff
1334
dist/languages/nb.ts
vendored
1334
dist/languages/nb.ts
vendored
File diff suppressed because it is too large
Load Diff
1334
dist/languages/nl.ts
vendored
1334
dist/languages/nl.ts
vendored
File diff suppressed because it is too large
Load Diff
1335
dist/languages/pl.ts
vendored
1335
dist/languages/pl.ts
vendored
File diff suppressed because it is too large
Load Diff
1384
dist/languages/pt_BR.ts
vendored
1384
dist/languages/pt_BR.ts
vendored
File diff suppressed because it is too large
Load Diff
1348
dist/languages/pt_PT.ts
vendored
1348
dist/languages/pt_PT.ts
vendored
File diff suppressed because it is too large
Load Diff
1501
dist/languages/ru_RU.ts
vendored
1501
dist/languages/ru_RU.ts
vendored
File diff suppressed because it is too large
Load Diff
1334
dist/languages/sv.ts
vendored
1334
dist/languages/sv.ts
vendored
File diff suppressed because it is too large
Load Diff
1346
dist/languages/tr_TR.ts
vendored
1346
dist/languages/tr_TR.ts
vendored
File diff suppressed because it is too large
Load Diff
1475
dist/languages/uk.ts
vendored
1475
dist/languages/uk.ts
vendored
File diff suppressed because it is too large
Load Diff
1332
dist/languages/vi.ts
vendored
1332
dist/languages/vi.ts
vendored
File diff suppressed because it is too large
Load Diff
1332
dist/languages/vi_VN.ts
vendored
1332
dist/languages/vi_VN.ts
vendored
File diff suppressed because it is too large
Load Diff
1337
dist/languages/zh_CN.ts
vendored
1337
dist/languages/zh_CN.ts
vendored
File diff suppressed because it is too large
Load Diff
1341
dist/languages/zh_TW.ts
vendored
1341
dist/languages/zh_TW.ts
vendored
File diff suppressed because it is too large
Load Diff
@ -393,12 +393,27 @@ public:
|
||||
}
|
||||
|
||||
// Virtual memory initialization
|
||||
#if defined(__FreeBSD__)
|
||||
virtual_base =
|
||||
static_cast<u8*>(mmap(nullptr, virtual_size, PROT_NONE,
|
||||
MAP_PRIVATE | MAP_ANONYMOUS | MAP_ALIGNED_SUPER, -1, 0));
|
||||
if (virtual_base == MAP_FAILED) {
|
||||
virtual_base = static_cast<u8*>(
|
||||
mmap(nullptr, virtual_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0));
|
||||
if (virtual_base == MAP_FAILED) {
|
||||
LOG_CRITICAL(HW_Memory, "mmap failed: {}", strerror(errno));
|
||||
throw std::bad_alloc{};
|
||||
}
|
||||
}
|
||||
#else
|
||||
virtual_base = static_cast<u8*>(mmap(nullptr, virtual_size, PROT_NONE,
|
||||
MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, -1, 0));
|
||||
if (virtual_base == MAP_FAILED) {
|
||||
LOG_CRITICAL(HW_Memory, "mmap failed: {}", strerror(errno));
|
||||
throw std::bad_alloc{};
|
||||
}
|
||||
madvise(virtual_base, virtual_size, MADV_HUGEPAGE);
|
||||
#endif
|
||||
|
||||
good = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user