-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathinit.h
45 lines (35 loc) · 1.26 KB
/
init.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#pragma once
#include "src/Frontend/interface.h"
#include "src/Core/system.h"
#include "default.h"
class Initializer {
public:
static GBA* init();
private:
static CONSOLE_COMMAND(reset_system);
static CONSOLE_COMMAND(step_system);
static CONSOLE_COMMAND(trace_system);
static CONSOLE_COMMAND(break_system);
static CONSOLE_COMMAND(unbreak_system);
static CONSOLE_COMMAND(pause_system);
static CONSOLE_COMMAND(unpause_system);
static CONSOLE_COMMAND(tester);
static MENU_ITEM_CALLBACK(toggle_frameskip);
static MENU_ITEM_CALLBACK(toggle_sync_to_video);
static OVERLAY_INFO(cpu_ticks);
static OVERLAY_INFO(fps_counter);
static OVERLAY_INFO(scheduler_events);
static OVERLAY_INFO(scheduler_time_until);
static OVERLAY_INFO(cpu_cache_block);
static OVERLAY_INFO(audio_samples);
static u8 ReadByte(u64 offset);
static u8* ValidAddressMask(u32 address);
static void ParseInput(struct s_controller* controller);
static void frontend_video_init();
static s_framebuffer frontend_render(size_t);
static void frontend_blit(const float* data);
static void frontend_video_destroy();
static void frontend_audio_init();
static void frontend_audio_destroy();
static bool ARMMode();
};