move vbios_dumper into configs

This commit is contained in:
HikariKnight 2023-04-10 02:22:47 +02:00
parent 42a017a58b
commit 86b5ce77e6
3 changed files with 19 additions and 14 deletions

View file

@ -32,8 +32,11 @@ func (m *model) processSelection() bool {
m.focused++
case GPU_GROUP:
// Get the vbios path
m.vbios_path = getIOMMU("-g", "-i", m.gpu_group, "--rom")[0]
// Generate the VBIOS dumper script once the user has selected a GPU
generateVBIOSDumper(*m)
configs.GenerateVBIOSDumper(m.vbios_path)
// Change focus to the next view
m.focused++