diff --git a/rpcs3/Emu/Cell/Modules/cellRec.cpp b/rpcs3/Emu/Cell/Modules/cellRec.cpp index 77b35893c0..011a8df34f 100644 --- a/rpcs3/Emu/Cell/Modules/cellRec.cpp +++ b/rpcs3/Emu/Cell/Modules/cellRec.cpp @@ -411,10 +411,10 @@ void rec_info::set_video_params(s32 video_format) case video_resolution::_1080p: case video_resolution::_1080i: case video_resolution::_720p: - case video_resolution::_1600x1080: - case video_resolution::_1440x1080: - case video_resolution::_1280x1080: - case video_resolution::_960x1080: + case video_resolution::_1600x1080p: + case video_resolution::_1440x1080p: + case video_resolution::_1280x1080p: + case video_resolution::_960x1080p: hd = true; break; case video_resolution::_480p: diff --git a/rpcs3/Emu/Cell/Modules/cellVideoOut.cpp b/rpcs3/Emu/Cell/Modules/cellVideoOut.cpp index 9f246023fc..c4fd5288b7 100644 --- a/rpcs3/Emu/Cell/Modules/cellVideoOut.cpp +++ b/rpcs3/Emu/Cell/Modules/cellVideoOut.cpp @@ -13,47 +13,47 @@ LOG_CHANNEL(cellSysutil); // NOTE: Unused in this module, but used by gs_frame to determine window size const extern std::unordered_map, value_hash> g_video_out_resolution_map { - { video_resolution::_1080p, { 1920, 1080 } }, - { video_resolution::_1080i, { 1920, 1080 } }, - { video_resolution::_720p, { 1280, 720 } }, - { video_resolution::_480p, { 720, 480 } }, - { video_resolution::_480i, { 720, 480 } }, - { video_resolution::_576p, { 720, 576 } }, - { video_resolution::_576i, { 720, 576 } }, - { video_resolution::_1600x1080, { 1600, 1080 } }, - { video_resolution::_1440x1080, { 1440, 1080 } }, - { video_resolution::_1280x1080, { 1280, 1080 } }, - { video_resolution::_960x1080, { 960, 1080 } }, + { video_resolution::_1080p, { 1920, 1080 } }, + { video_resolution::_1080i, { 1920, 1080 } }, + { video_resolution::_720p, { 1280, 720 } }, + { video_resolution::_480p, { 720, 480 } }, + { video_resolution::_480i, { 720, 480 } }, + { video_resolution::_576p, { 720, 576 } }, + { video_resolution::_576i, { 720, 576 } }, + { video_resolution::_1600x1080p, { 1600, 1080 } }, + { video_resolution::_1440x1080p, { 1440, 1080 } }, + { video_resolution::_1280x1080p, { 1280, 1080 } }, + { video_resolution::_960x1080p, { 960, 1080 } }, }; const extern std::unordered_map> g_video_out_resolution_id { - { video_resolution::_1080p, CELL_VIDEO_OUT_RESOLUTION_1080 }, - { video_resolution::_1080i, CELL_VIDEO_OUT_RESOLUTION_1080 }, - { video_resolution::_720p, CELL_VIDEO_OUT_RESOLUTION_720 }, - { video_resolution::_480p, CELL_VIDEO_OUT_RESOLUTION_480 }, - { video_resolution::_480i, CELL_VIDEO_OUT_RESOLUTION_480 }, - { video_resolution::_576p, CELL_VIDEO_OUT_RESOLUTION_576 }, - { video_resolution::_576i, CELL_VIDEO_OUT_RESOLUTION_576 }, - { video_resolution::_1600x1080, CELL_VIDEO_OUT_RESOLUTION_1600x1080 }, - { video_resolution::_1440x1080, CELL_VIDEO_OUT_RESOLUTION_1440x1080 }, - { video_resolution::_1280x1080, CELL_VIDEO_OUT_RESOLUTION_1280x1080 }, - { video_resolution::_960x1080, CELL_VIDEO_OUT_RESOLUTION_960x1080 }, + { video_resolution::_1080p, CELL_VIDEO_OUT_RESOLUTION_1080 }, + { video_resolution::_1080i, CELL_VIDEO_OUT_RESOLUTION_1080 }, + { video_resolution::_720p, CELL_VIDEO_OUT_RESOLUTION_720 }, + { video_resolution::_480p, CELL_VIDEO_OUT_RESOLUTION_480 }, + { video_resolution::_480i, CELL_VIDEO_OUT_RESOLUTION_480 }, + { video_resolution::_576p, CELL_VIDEO_OUT_RESOLUTION_576 }, + { video_resolution::_576i, CELL_VIDEO_OUT_RESOLUTION_576 }, + { video_resolution::_1600x1080p, CELL_VIDEO_OUT_RESOLUTION_1600x1080 }, + { video_resolution::_1440x1080p, CELL_VIDEO_OUT_RESOLUTION_1440x1080 }, + { video_resolution::_1280x1080p, CELL_VIDEO_OUT_RESOLUTION_1280x1080 }, + { video_resolution::_960x1080p, CELL_VIDEO_OUT_RESOLUTION_960x1080 }, }; const extern std::unordered_map> g_video_out_scan_mode { - { video_resolution::_1080p, CELL_VIDEO_OUT_SCAN_MODE_PROGRESSIVE }, - { video_resolution::_1080i, CELL_VIDEO_OUT_SCAN_MODE_INTERLACE }, - { video_resolution::_720p, CELL_VIDEO_OUT_SCAN_MODE_PROGRESSIVE }, - { video_resolution::_480p, CELL_VIDEO_OUT_SCAN_MODE_PROGRESSIVE }, - { video_resolution::_480i, CELL_VIDEO_OUT_SCAN_MODE_INTERLACE }, - { video_resolution::_576p, CELL_VIDEO_OUT_SCAN_MODE_PROGRESSIVE }, - { video_resolution::_576i, CELL_VIDEO_OUT_SCAN_MODE_INTERLACE }, - { video_resolution::_1600x1080, CELL_VIDEO_OUT_SCAN_MODE_PROGRESSIVE }, - { video_resolution::_1440x1080, CELL_VIDEO_OUT_SCAN_MODE_PROGRESSIVE }, - { video_resolution::_1280x1080, CELL_VIDEO_OUT_SCAN_MODE_PROGRESSIVE }, - { video_resolution::_960x1080, CELL_VIDEO_OUT_SCAN_MODE_PROGRESSIVE }, + { video_resolution::_1080p, CELL_VIDEO_OUT_SCAN_MODE_PROGRESSIVE }, + { video_resolution::_1080i, CELL_VIDEO_OUT_SCAN_MODE_INTERLACE }, + { video_resolution::_720p, CELL_VIDEO_OUT_SCAN_MODE_PROGRESSIVE }, + { video_resolution::_480p, CELL_VIDEO_OUT_SCAN_MODE_PROGRESSIVE }, + { video_resolution::_480i, CELL_VIDEO_OUT_SCAN_MODE_INTERLACE }, + { video_resolution::_576p, CELL_VIDEO_OUT_SCAN_MODE_PROGRESSIVE }, + { video_resolution::_576i, CELL_VIDEO_OUT_SCAN_MODE_INTERLACE }, + { video_resolution::_1600x1080p, CELL_VIDEO_OUT_SCAN_MODE_PROGRESSIVE }, + { video_resolution::_1440x1080p, CELL_VIDEO_OUT_SCAN_MODE_PROGRESSIVE }, + { video_resolution::_1280x1080p, CELL_VIDEO_OUT_SCAN_MODE_PROGRESSIVE }, + { video_resolution::_960x1080p, CELL_VIDEO_OUT_SCAN_MODE_PROGRESSIVE }, }; const extern std::unordered_map> g_video_out_aspect_id @@ -379,16 +379,16 @@ error_code cellVideoOutGetDeviceInfo(u32 videoOut, u32 deviceIndex, vm::ptr resolutions { - { video_resolution::_480p, psf::resolution_flag::_480 | psf::resolution_flag::_480_16_9 }, - { video_resolution::_480i, psf::resolution_flag::_480 | psf::resolution_flag::_480_16_9 }, - { video_resolution::_576p, psf::resolution_flag::_576 | psf::resolution_flag::_576_16_9 }, - { video_resolution::_576i, psf::resolution_flag::_576 | psf::resolution_flag::_576_16_9 }, - { video_resolution::_720p, psf::resolution_flag::_720 }, - { video_resolution::_1080p, psf::resolution_flag::_1080 }, - { video_resolution::_1080i, psf::resolution_flag::_1080 }, - { video_resolution::_1600x1080, psf::resolution_flag::_1080 }, - { video_resolution::_1440x1080, psf::resolution_flag::_1080 }, - { video_resolution::_1280x1080, psf::resolution_flag::_1080 }, - { video_resolution::_960x1080, psf::resolution_flag::_1080 }, + { video_resolution::_480p, psf::resolution_flag::_480 | psf::resolution_flag::_480_16_9 }, + { video_resolution::_480i, psf::resolution_flag::_480 | psf::resolution_flag::_480_16_9 }, + { video_resolution::_576p, psf::resolution_flag::_576 | psf::resolution_flag::_576_16_9 }, + { video_resolution::_576i, psf::resolution_flag::_576 | psf::resolution_flag::_576_16_9 }, + { video_resolution::_720p, psf::resolution_flag::_720 }, + { video_resolution::_1080p, psf::resolution_flag::_1080 }, + { video_resolution::_1080i, psf::resolution_flag::_1080 }, + { video_resolution::_1600x1080p, psf::resolution_flag::_1080 }, + { video_resolution::_1440x1080p, psf::resolution_flag::_1080 }, + { video_resolution::_1280x1080p, psf::resolution_flag::_1080 }, + { video_resolution::_960x1080p, psf::resolution_flag::_1080 }, }; const video_resolution resolution = g_cfg.video.resolution; diff --git a/rpcs3/Emu/system_config_types.cpp b/rpcs3/Emu/system_config_types.cpp index 5140037f41..d3a0aa8265 100644 --- a/rpcs3/Emu/system_config_types.cpp +++ b/rpcs3/Emu/system_config_types.cpp @@ -47,10 +47,10 @@ void fmt_class_string::format(std::string& out, u64 arg) case video_resolution::_480i: return "720x480i"; case video_resolution::_576p: return "720x576"; case video_resolution::_576i: return "720x576i"; - case video_resolution::_1600x1080: return "1600x1080"; - case video_resolution::_1440x1080: return "1440x1080"; - case video_resolution::_1280x1080: return "1280x1080"; - case video_resolution::_960x1080: return "960x1080"; + case video_resolution::_1600x1080p: return "1600x1080"; + case video_resolution::_1440x1080p: return "1440x1080"; + case video_resolution::_1280x1080p: return "1280x1080"; + case video_resolution::_960x1080p: return "960x1080"; } return unknown; diff --git a/rpcs3/Emu/system_config_types.h b/rpcs3/Emu/system_config_types.h index 28e4693a02..b1fc309605 100644 --- a/rpcs3/Emu/system_config_types.h +++ b/rpcs3/Emu/system_config_types.h @@ -204,10 +204,10 @@ enum class video_resolution _480i, _576p, _576i, - _1600x1080, - _1440x1080, - _1280x1080, - _960x1080, + _1600x1080p, + _1440x1080p, + _1280x1080p, + _960x1080p, }; enum class video_aspect diff --git a/rpcs3/rpcs3qt/settings_dialog.cpp b/rpcs3/rpcs3qt/settings_dialog.cpp index 837502f64e..8933090727 100644 --- a/rpcs3/rpcs3qt/settings_dialog.cpp +++ b/rpcs3/rpcs3qt/settings_dialog.cpp @@ -465,17 +465,17 @@ settings_dialog::settings_dialog(std::shared_ptr gui_settings, std { const std::map resolutions { - { video_resolution::_480p, psf::resolution_flag::_480 | psf::resolution_flag::_480_16_9 }, - { video_resolution::_480i, psf::resolution_flag::_480 | psf::resolution_flag::_480_16_9 }, - { video_resolution::_576p, psf::resolution_flag::_576 | psf::resolution_flag::_576_16_9 }, - { video_resolution::_576i, psf::resolution_flag::_576 | psf::resolution_flag::_576_16_9 }, - { video_resolution::_720p, psf::resolution_flag::_720 }, - { video_resolution::_1080p, psf::resolution_flag::_1080 }, - { video_resolution::_1080i, psf::resolution_flag::_1080 }, - { video_resolution::_1600x1080, psf::resolution_flag::_1080 }, - { video_resolution::_1440x1080, psf::resolution_flag::_1080 }, - { video_resolution::_1280x1080, psf::resolution_flag::_1080 }, - { video_resolution::_960x1080, psf::resolution_flag::_1080 }, + { video_resolution::_480p, psf::resolution_flag::_480 | psf::resolution_flag::_480_16_9 }, + { video_resolution::_480i, psf::resolution_flag::_480 | psf::resolution_flag::_480_16_9 }, + { video_resolution::_576p, psf::resolution_flag::_576 | psf::resolution_flag::_576_16_9 }, + { video_resolution::_576i, psf::resolution_flag::_576 | psf::resolution_flag::_576_16_9 }, + { video_resolution::_720p, psf::resolution_flag::_720 }, + { video_resolution::_1080p, psf::resolution_flag::_1080 }, + { video_resolution::_1080i, psf::resolution_flag::_1080 }, + { video_resolution::_1600x1080p, psf::resolution_flag::_1080 }, + { video_resolution::_1440x1080p, psf::resolution_flag::_1080 }, + { video_resolution::_1280x1080p, psf::resolution_flag::_1080 }, + { video_resolution::_960x1080p, psf::resolution_flag::_1080 }, }; const int saved_index = ui->resBox->currentIndex();