mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-15 06:17:55 +03:00
Clean up again
This commit is contained in:
parent
13b1354a00
commit
f10e4463fe
@ -8,7 +8,8 @@
|
|||||||
|
|
||||||
using namespace core::cpu;
|
using namespace core::cpu;
|
||||||
namespace core::kernel {
|
namespace core::kernel {
|
||||||
static uint32_t OutputDebugString() {
|
static uint32_t OutputDebugString()
|
||||||
|
{
|
||||||
std::string debug(GetRegister(UC_ARM64_REG_X1), '\0');
|
std::string debug(GetRegister(UC_ARM64_REG_X1), '\0');
|
||||||
memory::Read((void*)debug.data(), GetRegister(UC_ARM64_REG_X0), GetRegister(UC_ARM64_REG_X1));
|
memory::Read((void*)debug.data(), GetRegister(UC_ARM64_REG_X0), GetRegister(UC_ARM64_REG_X1));
|
||||||
|
|
||||||
@ -16,8 +17,10 @@ namespace core::kernel {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint32_t GetInfo() {
|
static uint32_t GetInfo()
|
||||||
switch(GetRegister(UC_ARM64_REG_X1)) {
|
{
|
||||||
|
switch (GetRegister(UC_ARM64_REG_X1))
|
||||||
|
{
|
||||||
case 12:
|
case 12:
|
||||||
SetRegister(UC_ARM64_REG_X1, BASE_ADDRESS);
|
SetRegister(UC_ARM64_REG_X1, BASE_ADDRESS);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user