VERY experimental Nintendo Switch 2 emulator
C++
Merge pull request #193 from N00byKing/3184_2_robotic_boogaloo
bunnei8d9b2cb438c2
diff --cc src/core/arm/arm_interface.hindex 6667c7dbae,9f2224b789..32ff3c3454--- a/src/core/arm/arm_interface.h+++ b/src/core/arm/arm_interface.h@@@ -25,26 -25,14 +25,18 @@@ publicVAddr tls_address;};- /**- * Runs the CPU for the given number of instructions- * @param num_instructions Number of instructions to run- */- void Run(int num_instructions) {- ExecuteInstructions(num_instructions);- this->num_instructions += num_instructions;- }+ /// Runs the CPU until an event happens+ virtual void Run() = 0;/// Step CPU by one instruction- void Step() {- Run(1);- }+ virtual void Step() = 0;+ /// Maps a backing memory region for the CPUvirtual void MapBackingMemory(VAddr address, size_t size, u8* memory,- Kernel::VMAPermission perms) {}+ Kernel::VMAPermission perms) = 0;++ /// Unmaps a region of memory that was previously mapped using MapBackingMemory+ virtual void UnmapMemory(VAddr address, size_t size) = 0;/// Clear all instruction cachevirtual void ClearInstructionCache() = 0;