| 9120e874 Andy McCall |
1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
#ifndef DEBUG_UI_SETTINGS_H |
| 10 |
#define DEBUG_UI_SETTINGS_H |
| 11 |
|
| 12 |
#include <stdbool.h> |
| 13 |
|
| 14 |
struct DebugUiSettings { |
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
float ui_scale = 1.0f; |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
bool auto_switch_disasm = true; |
| 26 |
bool auto_switch_source = true; |
| 27 |
|
| 28 |
|
| 29 |
bool follow_interrupts = false; |
| 30 |
bool break_on_interrupt = false; |
| 31 |
|
| 32 |
|
| 33 |
bool mem_highlight_changes = true; |
| 34 |
float mem_highlight_seconds = 1.5f; |
| 35 |
|
| 36 |
|
| 37 |
bool audio_hold_on_pause = true; |
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
bool io_trace_capture = false; |
| 47 |
int io_trace_capacity = 4096; |
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
bool io_cap_via = false; |
| 53 |
bool io_cap_vera = false; |
| 54 |
bool io_cap_spi = false; |
| 55 |
bool io_cap_ym = false; |
| 56 |
bool io_cap_emu = false; |
| 57 |
bool io_cap_midi = false; |
| 58 |
bool io_cap_openbus = false; |
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
bool io_cap_sd = false; |
| 63 |
bool io_cap_files = false; |
| 64 |
bool io_cap_i2c = false; |
| 65 |
bool io_cap_joy = false; |
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
bool io_fat_autoindex = true; |
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
bool perf_always_on = false; |
| 78 |
float perf_target_fps = 60.0f; |
| 79 |
int perf_idle_mode = 0; |
| 80 |
int perf_capacity = 3600; |
| 81 |
int perf_graph_frames = 240; |
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
|
| 86 |
|
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
bool allow_breaking_changes = false; |
| 91 |
}; |
| 92 |
|
| 93 |
|
| 94 |
DebugUiSettings &debug_ui_settings(); |
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
void debug_ui_settings_register(void); |
| 99 |
|
| 100 |
|
| 101 |
void debug_ui_draw_settings_window(bool *p_open); |
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
void debug_ui_settings_mark_dirty(void); |
| 106 |
|
| 107 |
#endif |