46 |
|
extern void FlushCodeCache(void *start, uint32 size); // Code was patched, flush caches if neccessary |
47 |
|
extern void QuitEmulator(void); // Quit emulator |
48 |
|
extern void ErrorAlert(const char *text); // Display error alert |
49 |
+ |
extern void ErrorAlert(int string_id); |
50 |
|
extern void WarningAlert(const char *text); // Display warning alert |
51 |
+ |
extern void WarningAlert(int string_id); |
52 |
|
extern bool ChoiceAlert(const char *text, const char *pos, const char *neg); // Display choice alert |
53 |
|
|
54 |
+ |
// Mutexes (non-recursive) |
55 |
+ |
struct B2_mutex; |
56 |
+ |
extern B2_mutex *B2_create_mutex(void); |
57 |
+ |
extern void B2_lock_mutex(B2_mutex *mutex); |
58 |
+ |
extern void B2_unlock_mutex(B2_mutex *mutex); |
59 |
+ |
extern void B2_delete_mutex(B2_mutex *mutex); |
60 |
+ |
|
61 |
|
// Interrupt flags |
62 |
|
enum { |
63 |
|
INTFLAG_60HZ = 1, // 60.15Hz VBL |