early-access version 1656

This commit is contained in:
pineappleEA 2021-05-05 19:25:34 +02:00
parent 9c7a78ee04
commit 0a3af2c776
7 changed files with 12 additions and 17 deletions

View File

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

View File

@ -1106,7 +1106,7 @@ constexpr std::size_t KPageTable::GetRegionSize(KMemoryState state) const {
}
}
constexpr bool KPageTable::CanContain(VAddr addr, std::size_t size, KMemoryState state) const {
bool KPageTable::CanContain(VAddr addr, std::size_t size, KMemoryState state) const {
const VAddr end{addr + size};
const VAddr last{end - 1};
const VAddr region_start{GetRegionAddress(state)};

View File

@ -64,7 +64,7 @@ public:
return page_table_impl;
}
constexpr bool CanContain(VAddr addr, std::size_t size, KMemoryState state) const;
bool CanContain(VAddr addr, std::size_t size, KMemoryState state) const;
private:
enum class OperationType : u32 {

View File

@ -69,13 +69,12 @@ private:
bool complete{false};
ResultCode status{RESULT_SUCCESS};
WebAppletVersion web_applet_version;
WebExitReason web_exit_reason;
WebArgHeader web_arg_header;
WebAppletVersion web_applet_version{};
WebArgHeader web_arg_header{};
WebArgInputTLVMap web_arg_input_tlv_map;
u64 title_id;
FileSys::ContentRecordType nca_type;
u64 title_id{};
FileSys::ContentRecordType nca_type{};
std::string offline_cache_dir;
std::string offline_document;
FileSys::VirtualFile offline_romfs;

View File

@ -9,12 +9,6 @@
#include "core/frontend/emu_window.h"
#include "core/hle/service/hid/controllers/gesture.h"
namespace {
constexpr inline f32 Square(s32 num) {
return static_cast<f32>(num * num);
}
} // Anonymous namespace
namespace Service::HID {
constexpr std::size_t SHARED_MEMORY_OFFSET = 0x3BA00;
@ -25,7 +19,11 @@ constexpr f32 pinch_threshold = 0.5f; // Threshold in pixels
constexpr f32 press_delay = 0.5f; // Time in seconds
constexpr f32 double_tap_delay = 0.35f; // Time in seconds
Controller_Gesture::Controller_Gesture(Core::System& system_) : ControllerBase{system_} {}
constexpr f32 Square(s32 num) {
return static_cast<f32>(num * num);
}
Controller_Gesture::Controller_Gesture(Core::System& system) : ControllerBase(system) {}
Controller_Gesture::~Controller_Gesture() = default;
void Controller_Gesture::OnInit() {

View File

@ -312,7 +312,6 @@ private:
bool vr_mode_enabled = false;
float current_brightness = 1.0f;
float backlight_brightness = 1.0f;
float ambient_light_value = 0.0f;
float current_vr_brightness = 1.0f;
bool dimming = true;

View File

@ -361,7 +361,6 @@ private:
States states{};
ParentalControlSettings settings{};
std::array<char, 8> pin_code{};
bool can_use_stereo_vision = true;
Capability capability{};
};