early-access version 3268

This commit is contained in:
pineappleEA 2023-01-01 17:46:59 +01:00
parent 4014ed63c1
commit 6c511d2f94
26 changed files with 17913 additions and 14665 deletions

View file

@ -1,7 +1,7 @@
yuzu emulator early access yuzu emulator early access
============= =============
This is the source code for early-access 3267. This is the source code for early-access 3268.
## Legal Notice ## Legal Notice

1334
dist/languages/ca.ts vendored

File diff suppressed because it is too large Load diff

1334
dist/languages/cs.ts vendored

File diff suppressed because it is too large Load diff

1332
dist/languages/da.ts vendored

File diff suppressed because it is too large Load diff

1380
dist/languages/de.ts vendored

File diff suppressed because it is too large Load diff

1332
dist/languages/el.ts vendored

File diff suppressed because it is too large Load diff

1338
dist/languages/es.ts vendored

File diff suppressed because it is too large Load diff

1343
dist/languages/fr.ts vendored

File diff suppressed because it is too large Load diff

1332
dist/languages/id.ts vendored

File diff suppressed because it is too large Load diff

1431
dist/languages/it.ts vendored

File diff suppressed because it is too large Load diff

1334
dist/languages/ja_JP.ts vendored

File diff suppressed because it is too large Load diff

1334
dist/languages/ko_KR.ts vendored

File diff suppressed because it is too large Load diff

1334
dist/languages/nb.ts vendored

File diff suppressed because it is too large Load diff

1334
dist/languages/nl.ts vendored

File diff suppressed because it is too large Load diff

1335
dist/languages/pl.ts vendored

File diff suppressed because it is too large Load diff

1384
dist/languages/pt_BR.ts vendored

File diff suppressed because it is too large Load diff

1348
dist/languages/pt_PT.ts vendored

File diff suppressed because it is too large Load diff

1501
dist/languages/ru_RU.ts vendored

File diff suppressed because it is too large Load diff

1334
dist/languages/sv.ts vendored

File diff suppressed because it is too large Load diff

1346
dist/languages/tr_TR.ts vendored

File diff suppressed because it is too large Load diff

1475
dist/languages/uk.ts vendored

File diff suppressed because it is too large Load diff

1332
dist/languages/vi.ts vendored

File diff suppressed because it is too large Load diff

1332
dist/languages/vi_VN.ts vendored

File diff suppressed because it is too large Load diff

1337
dist/languages/zh_CN.ts vendored

File diff suppressed because it is too large Load diff

1341
dist/languages/zh_TW.ts vendored

File diff suppressed because it is too large Load diff

View file

@ -393,12 +393,27 @@ public:
} }
// Virtual memory initialization // 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*>( virtual_base = static_cast<u8*>(
mmap(nullptr, virtual_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); mmap(nullptr, virtual_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0));
if (virtual_base == MAP_FAILED) { if (virtual_base == MAP_FAILED) {
LOG_CRITICAL(HW_Memory, "mmap failed: {}", strerror(errno)); LOG_CRITICAL(HW_Memory, "mmap failed: {}", strerror(errno));
throw std::bad_alloc{}; 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; good = true;
} }