mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 19:45:46 +00:00
Merge remote-tracking branch 'upstream/master' into nx
# Conflicts: # src/core/CMakeLists.txt # src/core/arm/dynarmic/arm_dynarmic.cpp # src/core/arm/dyncom/arm_dyncom.cpp # src/core/hle/kernel/process.cpp # src/core/hle/kernel/thread.cpp # src/core/hle/kernel/thread.h # src/core/hle/kernel/vm_manager.cpp # src/core/loader/3dsx.cpp # src/core/loader/elf.cpp # src/core/loader/ncch.cpp # src/core/memory.cpp # src/core/memory.h # src/core/memory_setup.h
This commit is contained in:
commit
b1d5db1cf6
241 changed files with 20955 additions and 2730 deletions
|
@ -29,6 +29,10 @@ void ARM_DynCom::SetPC(u64 pc) {
|
|||
state->Reg[15] = pc;
|
||||
}
|
||||
|
||||
void ARM_DynCom::PageTableChanged() {
|
||||
ClearInstructionCache();
|
||||
}
|
||||
|
||||
u64 ARM_DynCom::GetPC() const {
|
||||
return state->Reg[15];
|
||||
}
|
||||
|
@ -41,6 +45,13 @@ void ARM_DynCom::SetReg(int index, u64 value) {
|
|||
state->Reg[index] = value;
|
||||
}
|
||||
|
||||
const u128& ARM_DynCom::GetExtReg(int index) const {
|
||||
return {};
|
||||
}
|
||||
|
||||
void ARM_DynCom::SetExtReg(int index, u128& value) {
|
||||
}
|
||||
|
||||
u32 ARM_DynCom::GetVFPReg(int index) const {
|
||||
return state->ExtReg[index];
|
||||
}
|
||||
|
@ -80,12 +91,6 @@ VAddr ARM_DynCom::GetTlsAddress() const {
|
|||
void ARM_DynCom::SetTlsAddress(VAddr /*address*/) {
|
||||
}
|
||||
|
||||
void ARM_DynCom::AddTicks(u64 ticks) {
|
||||
down_count -= ticks;
|
||||
if (down_count < 0)
|
||||
CoreTiming::Advance();
|
||||
}
|
||||
|
||||
void ARM_DynCom::ExecuteInstructions(int num_instructions) {
|
||||
state->NumInstrsToExecute = num_instructions;
|
||||
|
||||
|
@ -93,7 +98,7 @@ void ARM_DynCom::ExecuteInstructions(int num_instructions) {
|
|||
// executing one instruction at a time. Otherwise, if a block is being executed, more
|
||||
// instructions may actually be executed than specified.
|
||||
unsigned ticks_executed = InterpreterMainLoop(state.get());
|
||||
AddTicks(ticks_executed);
|
||||
CoreTiming::AddTicks(ticks_executed);
|
||||
}
|
||||
|
||||
void ARM_DynCom::SaveContext(ThreadContext& ctx) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue