early-access version 2888

main
pineappleEA 2022-08-02 12:53:47 +02:00
parent dbdc64c687
commit 4d812d4e3b
5 changed files with 15 additions and 12 deletions

View File

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

View File

@ -42,8 +42,8 @@ add_custom_command(OUTPUT scm_rev.cpp
)
add_library(common STATIC
address_space.h
address_space.cpp
address_space.h
algorithm.h
alignment.h
announce_multiplayer_room.h

View File

@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/multi_level_page_table.inc"
namespace Common {

View File

@ -444,9 +444,9 @@ struct System::Impl {
std::unique_ptr<FileSys::ContentProviderUnion> content_provider;
Service::FileSystem::FileSystemController fs_controller;
/// AppLoader used to load the current executing application
std::unique_ptr<Tegra::Host1x::Host1x> host1x_core;
std::unique_ptr<Loader::AppLoader> app_loader;
std::unique_ptr<Tegra::GPU> gpu_core;
std::unique_ptr<Tegra::Host1x::Host1x> host1x_core;
std::unique_ptr<Core::DeviceMemory> device_memory;
std::unique_ptr<AudioCore::AudioCore> audio_core;
Core::Memory::Memory memory;
@ -656,14 +656,6 @@ const Core::Memory::Memory& System::Memory() const {
return impl->memory;
}
Tegra::Host1x::Host1x& System::Host1x() {
return *impl->host1x_core;
}
const Tegra::Host1x::Host1x& System::Host1x() const {
return *impl->host1x_core;
}
Tegra::GPU& System::GPU() {
return *impl->gpu_core;
}
@ -672,6 +664,14 @@ const Tegra::GPU& System::GPU() const {
return *impl->gpu_core;
}
Tegra::Host1x::Host1x& System::Host1x() {
return *impl->host1x_core;
}
const Tegra::Host1x::Host1x& System::Host1x() const {
return *impl->host1x_core;
}
VideoCore::RendererBase& System::Renderer() {
return impl->gpu_core->Renderer();
}

View File

@ -50,8 +50,8 @@ void nvdisp_disp0::flip(u32 buffer_handle, u32 offset, android::PixelFormat form
const Tegra::FramebufferConfig framebuffer{addr, offset, width, height,
stride, format, transform, crop_rect};
system.GetPerfStats().EndSystemFrame();
system.GPU().RequestSwapBuffers(&framebuffer, fences, num_fences);
system.GetPerfStats().EndSystemFrame();
system.SpeedLimiter().DoSpeedLimiting(system.CoreTiming().GetGlobalTimeUs());
system.GetPerfStats().BeginSystemFrame();
}