early-access version 2888
This commit is contained in:
parent
dbdc64c687
commit
4d812d4e3b
@ -1,7 +1,7 @@
|
|||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 2887.
|
This is the source code for early-access 2888.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
@ -42,8 +42,8 @@ add_custom_command(OUTPUT scm_rev.cpp
|
|||||||
)
|
)
|
||||||
|
|
||||||
add_library(common STATIC
|
add_library(common STATIC
|
||||||
address_space.h
|
|
||||||
address_space.cpp
|
address_space.cpp
|
||||||
|
address_space.h
|
||||||
algorithm.h
|
algorithm.h
|
||||||
alignment.h
|
alignment.h
|
||||||
announce_multiplayer_room.h
|
announce_multiplayer_room.h
|
||||||
|
@ -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"
|
#include "common/multi_level_page_table.inc"
|
||||||
|
|
||||||
namespace Common {
|
namespace Common {
|
||||||
|
@ -444,9 +444,9 @@ struct System::Impl {
|
|||||||
std::unique_ptr<FileSys::ContentProviderUnion> content_provider;
|
std::unique_ptr<FileSys::ContentProviderUnion> content_provider;
|
||||||
Service::FileSystem::FileSystemController fs_controller;
|
Service::FileSystem::FileSystemController fs_controller;
|
||||||
/// AppLoader used to load the current executing application
|
/// 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<Loader::AppLoader> app_loader;
|
||||||
std::unique_ptr<Tegra::GPU> gpu_core;
|
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<Core::DeviceMemory> device_memory;
|
||||||
std::unique_ptr<AudioCore::AudioCore> audio_core;
|
std::unique_ptr<AudioCore::AudioCore> audio_core;
|
||||||
Core::Memory::Memory memory;
|
Core::Memory::Memory memory;
|
||||||
@ -656,14 +656,6 @@ const Core::Memory::Memory& System::Memory() const {
|
|||||||
return impl->memory;
|
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() {
|
Tegra::GPU& System::GPU() {
|
||||||
return *impl->gpu_core;
|
return *impl->gpu_core;
|
||||||
}
|
}
|
||||||
@ -672,6 +664,14 @@ const Tegra::GPU& System::GPU() const {
|
|||||||
return *impl->gpu_core;
|
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() {
|
VideoCore::RendererBase& System::Renderer() {
|
||||||
return impl->gpu_core->Renderer();
|
return impl->gpu_core->Renderer();
|
||||||
}
|
}
|
||||||
|
@ -50,8 +50,8 @@ void nvdisp_disp0::flip(u32 buffer_handle, u32 offset, android::PixelFormat form
|
|||||||
const Tegra::FramebufferConfig framebuffer{addr, offset, width, height,
|
const Tegra::FramebufferConfig framebuffer{addr, offset, width, height,
|
||||||
stride, format, transform, crop_rect};
|
stride, format, transform, crop_rect};
|
||||||
|
|
||||||
system.GetPerfStats().EndSystemFrame();
|
|
||||||
system.GPU().RequestSwapBuffers(&framebuffer, fences, num_fences);
|
system.GPU().RequestSwapBuffers(&framebuffer, fences, num_fences);
|
||||||
|
system.GetPerfStats().EndSystemFrame();
|
||||||
system.SpeedLimiter().DoSpeedLimiting(system.CoreTiming().GetGlobalTimeUs());
|
system.SpeedLimiter().DoSpeedLimiting(system.CoreTiming().GetGlobalTimeUs());
|
||||||
system.GetPerfStats().BeginSystemFrame();
|
system.GetPerfStats().BeginSystemFrame();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user