diff --git a/rpcs3/Emu/system_config.h b/rpcs3/Emu/system_config.h index b5e114f7a0..2a2a4ff99b 100644 --- a/rpcs3/Emu/system_config.h +++ b/rpcs3/Emu/system_config.h @@ -101,6 +101,7 @@ struct cfg_root : cfg::node cfg::_enum aspect_ratio{ this, "Aspect ratio", video_aspect::_16_9 }; cfg::_enum frame_limit{ this, "Frame limit", frame_limit_type::none, true }; cfg::_enum antialiasing_level{ this, "MSAA", msaa_level::_auto }; + cfg::_enum shader_interpreter_mode{ this, "Enable shader interpreter", shader_interpreter_mode::disabled }; cfg::_bool write_color_buffers{ this, "Write Color Buffers" }; cfg::_bool write_depth_buffer{ this, "Write Depth Buffer" }; diff --git a/rpcs3/Emu/system_config_types.h b/rpcs3/Emu/system_config_types.h index ecdde50d3c..7f6c03f0ad 100644 --- a/rpcs3/Emu/system_config_types.h +++ b/rpcs3/Emu/system_config_types.h @@ -179,3 +179,10 @@ enum np_psn_status disabled, fake, }; + +enum class shader_interpreter_mode +{ + disabled, + enabled, + forced +};