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 yuzu emulator early access
============= =============
This is the source code for early-access 1655. This is the source code for early-access 1656.
## Legal Notice ## 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 end{addr + size};
const VAddr last{end - 1}; const VAddr last{end - 1};
const VAddr region_start{GetRegionAddress(state)}; const VAddr region_start{GetRegionAddress(state)};

View file

@ -64,7 +64,7 @@ public:
return page_table_impl; 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: private:
enum class OperationType : u32 { enum class OperationType : u32 {

View file

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

View file

@ -9,12 +9,6 @@
#include "core/frontend/emu_window.h" #include "core/frontend/emu_window.h"
#include "core/hle/service/hid/controllers/gesture.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 { namespace Service::HID {
constexpr std::size_t SHARED_MEMORY_OFFSET = 0x3BA00; 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 press_delay = 0.5f; // Time in seconds
constexpr f32 double_tap_delay = 0.35f; // 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; Controller_Gesture::~Controller_Gesture() = default;
void Controller_Gesture::OnInit() { void Controller_Gesture::OnInit() {

View file

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

View file

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