[Kernel/Video] Removed unknown fields from X_VIDEO_MODE structure
- Additionally changed some messages level to more reasonable one
This commit is contained in:
parent
9434cc89c9
commit
c15dde52d6
|
@ -304,7 +304,7 @@ X_HRESULT XmpApp::DispatchMessageSync(uint32_t message, uint32_t buffer_ptr,
|
|||
auto info = memory_->TranslateVirtual<XMP_SONGINFO*>(args->info_ptr);
|
||||
assert_true(args->xmp_client == 0x00000002);
|
||||
assert_zero(args->unk_ptr);
|
||||
XELOGE("XMPGetCurrentSong({:08X}, {:08X})", uint32_t(args->unk_ptr),
|
||||
XELOGD("XMPGetCurrentSong({:08X}, {:08X})", uint32_t(args->unk_ptr),
|
||||
uint32_t(args->info_ptr));
|
||||
|
||||
Song* current_song =
|
||||
|
|
|
@ -384,12 +384,12 @@ std::vector<uint64_t> ProfileManager::FindProfiles() const {
|
|||
continue;
|
||||
}
|
||||
|
||||
XELOGE("{}: Adding profile {} to profile list", __func__, profile_xuid);
|
||||
XELOGI("{}: Adding profile {} to profile list", __func__, profile_xuid);
|
||||
profiles_xuids.push_back(
|
||||
xe::string_util::from_string<uint64_t>(profile_xuid, true));
|
||||
}
|
||||
|
||||
XELOGE("ProfileManager: Found {} Profiles", profiles_xuids.size());
|
||||
XELOGI("ProfileManager: Found {} Profiles", profiles_xuids.size());
|
||||
return profiles_xuids;
|
||||
}
|
||||
|
||||
|
|
|
@ -215,8 +215,8 @@ void VdQueryVideoMode(X_VIDEO_MODE* video_mode) {
|
|||
video_mode->is_hi_def = video_mode->display_width >= 0x500;
|
||||
video_mode->refresh_rate = GetVideoRefreshRate();
|
||||
video_mode->video_standard = GetVideoStandard();
|
||||
video_mode->unknown_0x8a = 0x4A;
|
||||
video_mode->unknown_0x01 = 0x01;
|
||||
video_mode->pixel_rate = 0x8A;
|
||||
video_mode->widescreen_flag = cvars::widescreen ? 0x01 : 0x03;
|
||||
}
|
||||
|
||||
void VdQueryVideoMode_entry(pointer_t<X_VIDEO_MODE> video_mode) {
|
||||
|
|
|
@ -374,8 +374,8 @@ struct X_VIDEO_MODE {
|
|||
be<uint32_t> is_hi_def;
|
||||
be<float> refresh_rate;
|
||||
be<uint32_t> video_standard;
|
||||
be<uint32_t> unknown_0x8a;
|
||||
be<uint32_t> unknown_0x01;
|
||||
be<uint32_t> pixel_rate;
|
||||
be<uint32_t> widescreen_flag;
|
||||
be<uint32_t> reserved[3];
|
||||
};
|
||||
static_assert_size(X_VIDEO_MODE, 48);
|
||||
|
|
Loading…
Reference in New Issue