early-access version 1996

This commit is contained in:
pineappleEA 2021-08-16 18:08:38 +02:00
parent 66b92b0ba8
commit 323ce64764
2 changed files with 4 additions and 4 deletions

View file

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

View file

@ -265,8 +265,8 @@ struct KernelCore::Impl {
/// Gets the host thread ID for the caller, allocating a new one if this is the first time
u32 GetHostThreadId(std::size_t core_id) {
if (static_cast<s32>(host_thread_id) < 0) {
// The first for slots are reserved for CPU core threads
if (host_thread_id == UINT32_MAX) {
// The first four slots are reserved for CPU core threads
ASSERT(core_id < Core::Hardware::NUM_CPU_CORES);
host_thread_id = static_cast<u32>(core_id);
}
@ -275,7 +275,7 @@ struct KernelCore::Impl {
/// Gets the host thread ID for the caller, allocating a new one if this is the first time
u32 GetHostThreadId() {
if (static_cast<s32>(host_thread_id) < 0) {
if (host_thread_id == UINT32_MAX) {
host_thread_id = next_host_thread_id++;
}
return host_thread_id;