pica_core: Make default value more clear

This commit is contained in:
GPUCode 2024-01-24 05:41:44 +02:00
parent 4c1933e0b6
commit 33849012cb
1 changed files with 4 additions and 2 deletions

View File

@ -78,8 +78,10 @@ void PicaCore::InitializeRegs() {
framebuffer_sub.color_format.Assign(PixelFormat::RGB8);
framebuffer_sub.active_fb = 0;
// Tales of Abyss expects this register to have the following default value.
regs.internal.gs.input_buffer_config = 0xa0000001;
// Tales of Abyss expects this register to have the following default values.
auto& gs = regs.internal.gs;
gs.max_input_attribute_index.Assign(1);
gs.shader_mode.Assign(ShaderRegs::ShaderMode::VS);
}
void PicaCore::BindRasterizer(VideoCore::RasterizerInterface* rasterizer) {