2025-01-30 14:30:19 -07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <common.h>
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
bool paused;
|
|
|
|
bool running;
|
2025-01-31 14:39:38 -07:00
|
|
|
bool die;
|
2025-01-30 14:30:19 -07:00
|
|
|
u64 ticks;
|
|
|
|
} emu_context;
|
|
|
|
|
|
|
|
int emu_run(int, char**);
|
2025-01-30 16:27:27 -07:00
|
|
|
emu_context *emu_get_context();
|
|
|
|
|
|
|
|
void emu_cycles(int cpu_cycles);
|