mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
a850b5d5cb
* revamp gfx and display systems a bit * Use some fancy c++ pointers instead of just raw pointers * Tidy some things up. * clang * clang 2 * fixes * fixesss * error detection when making display
33 lines
526 B
C++
33 lines
526 B
C++
#pragma once
|
|
|
|
/*!
|
|
* @file vm.h
|
|
* Base "PS2 virtual machine" code.
|
|
* Simulates the existence of select PS2 components, for inspection & debugging.
|
|
* Not an emulator!
|
|
*/
|
|
|
|
#include "common/common_types.h"
|
|
|
|
namespace VM {
|
|
|
|
extern bool use;
|
|
|
|
enum class Status { Disabled, Uninited, Inited, Kill, Dead };
|
|
|
|
void wait_vm_init();
|
|
void wait_vm_dead();
|
|
|
|
bool vm_want_exit();
|
|
|
|
void vm_prepare();
|
|
void vm_init();
|
|
void vm_kill();
|
|
|
|
void subscribe_component();
|
|
void unsubscribe_component();
|
|
|
|
u64 get_vm_ptr(u32 ptr);
|
|
|
|
} // namespace VM
|