early-access version 1273

main
pineappleEA 2020-12-31 11:33:24 +01:00
parent 3e42621659
commit fccb4a9751
4 changed files with 7 additions and 6 deletions

View File

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

View File

@ -218,7 +218,7 @@ void Resample(s32* output, const s32* input, s32 pitch, s32& fraction, std::size
const auto l2 = lut[lut_index + 2]; const auto l2 = lut[lut_index + 2];
const auto l3 = lut[lut_index + 3]; const auto l3 = lut[lut_index + 3];
const auto s0 = static_cast<s32>(input[index]); const auto s0 = static_cast<s32>(input[index + 0]);
const auto s1 = static_cast<s32>(input[index + 1]); const auto s1 = static_cast<s32>(input[index + 1]);
const auto s2 = static_cast<s32>(input[index + 2]); const auto s2 = static_cast<s32>(input[index + 2]);
const auto s3 = static_cast<s32>(input[index + 3]); const auto s3 = static_cast<s32>(input[index + 3]);

View File

@ -26,9 +26,10 @@ using CPUInterrupts = std::array<CPUInterruptHandler, Core::Hardware::NUM_CPU_CO
/// Generic ARMv8 CPU interface /// Generic ARMv8 CPU interface
class ARM_Interface : NonCopyable { class ARM_Interface : NonCopyable {
public: public:
explicit ARM_Interface(System& system_, CPUInterrupts& interrupt_handlers, bool uses_wall_clock) explicit ARM_Interface(System& system_, CPUInterrupts& interrupt_handlers_,
: system{system_}, interrupt_handlers{interrupt_handlers}, uses_wall_clock{ bool uses_wall_clock_)
uses_wall_clock} {} : system{system_}, interrupt_handlers{interrupt_handlers_}, uses_wall_clock{
uses_wall_clock_} {}
virtual ~ARM_Interface() = default; virtual ~ARM_Interface() = default;
struct ThreadContext32 { struct ThreadContext32 {

View File

@ -19,7 +19,7 @@ class KernelCore;
template <typename SchedulerType> template <typename SchedulerType>
class KAbstractSchedulerLock { class KAbstractSchedulerLock {
public: public:
explicit KAbstractSchedulerLock(KernelCore& kernel) : kernel{kernel} {} explicit KAbstractSchedulerLock(KernelCore& kernel_) : kernel{kernel_} {}
bool IsLockedByCurrentThread() const { bool IsLockedByCurrentThread() const {
return this->owner_thread == kernel.GetCurrentEmuThreadID(); return this->owner_thread == kernel.GetCurrentEmuThreadID();