mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-11-23 11:33:39 +00:00
Add Core::GetState() for debugger
This commit is contained in:
parent
20bf361b95
commit
564e3f5032
2 changed files with 9 additions and 0 deletions
|
@ -143,6 +143,11 @@ int Init() {
|
|||
return 0;
|
||||
}
|
||||
|
||||
ARMul_State* GetState()
|
||||
{
|
||||
return core->state;
|
||||
}
|
||||
|
||||
void Shutdown() {
|
||||
//delete g_arm_state;
|
||||
//g_arm_state = NULL;
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
#ifndef CORE_CORE_H_
|
||||
#define CORE_CORE_H_
|
||||
|
||||
#include "arm/armdefs.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
namespace Core {
|
||||
|
@ -47,6 +49,8 @@ void Stop();
|
|||
/// Initialize the core
|
||||
int Init();
|
||||
|
||||
ARMul_State* GetState();
|
||||
|
||||
} // namespace
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in a new issue