mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
Do not try to change default config, use state configs.
This commit is contained in:
parent
a273768c4d
commit
1673ba217c
7 changed files with 39 additions and 37 deletions
|
@ -3,6 +3,7 @@
|
|||
#include "Utilities/Log.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/state.h"
|
||||
#include "Emu/IdManager.h"
|
||||
#include "Emu/ARMv7/PSVFuncList.h"
|
||||
|
||||
|
@ -179,14 +180,14 @@ void ARMv7Thread::do_run()
|
|||
{
|
||||
m_dec.reset();
|
||||
|
||||
switch(Ini.CPUDecoderMode.GetValue())
|
||||
switch((int)rpcs3::state.config.core.ppu_decoder.value())
|
||||
{
|
||||
case 0:
|
||||
case 1:
|
||||
m_dec.reset(new ARMv7Decoder(*this));
|
||||
break;
|
||||
default:
|
||||
LOG_ERROR(ARMv7, "Invalid CPU decoder mode: %d", Ini.CPUDecoderMode.GetValue());
|
||||
LOG_ERROR(ARMv7, "Invalid CPU decoder mode: %d", (int)rpcs3::state.config.core.ppu_decoder.value());
|
||||
Emu.Pause();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue