Debian Codegraph @

mednafen/mednafen-driver.h

raw symbols SCIP
1 #cxx . . $ `<file>/mednafen/mednafen-driver.h`/ifndef __MDFN_MEDNAFEN_DRIVER_H
2 #define __MDFN_MEDNAFEN_DRIVER_Hcxx . . $ `mednafen/mednafen-driver.h:2:9`!
3
4 #include <stdio.h>
5 #include <vector>
6 #include <string>
7
8 #include "settings-common.h"cxx . . $ `<file>/mednafen/settings-common.h`/
9
10 extern stdcxx . . $ std/::vectorcxx . . $ std/vector#<MDFNGIcxx . . $ MDFNGI# *>MDFNSystemscxx . . $ MDFNSystems.;
11
12 /* Indent stdout newlines +- "indent" amount */
13 void MDFN_indentcxx . . $ MDFN_indent(d4f767463ce0a6b3).(int indent);
14 void MDFN_printfcxx . . $ MDFN_printf(326aeb464d16410c).(const char *format, ...);
15
16 #define MDFNI_printfcxx . . $ `mednafen/mednafen-driver.h:16:9`! MDFN_printf
17
18 /* Displays an error. Can block or not. */
19 void MDFND_PrintErrorcxx . . $ MDFND_PrintError(85c52e162fed56f9).(const char *s);
20 void MDFND_Messagecxx . . $ MDFND_Message(85c52e162fed56f9).(const char *s);
21
22 uint32cxx . . $ uint32# MDFND_GetTimecxx . . $ MDFND_GetTime(db52760e79bf9054).(void);
23 void MDFND_Sleepcxx . . $ MDFND_Sleep(cb2f890c2fdad230).(uint32cxx . . $ uint32# ms);
24
25 #ifdef WANT_THREADINGcxx . . $ `<built-in>:482:9`!
26 /* Being threading support. */
27 // Mostly based off SDL's prototypes and semantics.
28 // Driver code should actually define MDFN_Thread and MDFN_Mutex.
29
30 struct MDFN_Threadcxx . . $ MDFN_Thread#;
31 struct MDFN_Mutexcxx . . $ MDFN_Mutex#;
32 struct MDFN_Condcxx . . $ MDFN_Cond#;
33
34 MDFN_Threadcxx . . $ MDFN_Thread# *MDFND_CreateThreadcxx . . $ MDFND_CreateThread(b48b9d196977390a).(int (*fn)(void *), void *data);
35 void MDFND_WaitThreadcxx . . $ MDFND_WaitThread(f485867f39a32832).(MDFN_Threadcxx . . $ MDFN_Thread# *thread, int *status);
36 void MDFND_KillThreadcxx . . $ MDFND_KillThread(af3eab09d0a7a892).(MDFN_Threadcxx . . $ MDFN_Thread# *thread);
37
38 MDFN_Mutexcxx . . $ MDFN_Mutex# *MDFND_CreateMutexcxx . . $ MDFND_CreateMutex(f7c2dfbe153feeb5).(void);
39 MDFN_Condcxx . . $ MDFN_Cond# *MDFND_CreateCondcxx . . $ MDFND_CreateCond(23e52bc52ccd0781).(void);
40 void MDFND_DestroyCondcxx . . $ MDFND_DestroyCond(141e1457c38d37d).(MDFN_Condcxx . . $ MDFN_Cond# *cond);
41 void MDFND_DestroyMutexcxx . . $ MDFND_DestroyMutex(502f45e477e15126).(MDFN_Mutexcxx . . $ MDFN_Mutex# *mutex);
42 int MDFND_WaitCondcxx . . $ MDFND_WaitCond(97039b30e819d6aa).(MDFN_Condcxx . . $ MDFN_Cond# *cond, MDFN_Mutexcxx . . $ MDFN_Mutex# *mutex);
43 int MDFND_SignalCondcxx . . $ MDFND_SignalCond(81be31d010abce54).(MDFN_Condcxx . . $ MDFN_Cond# *cond);
44 int MDFND_LockMutexcxx . . $ MDFND_LockMutex(79be6db43f041c4c).(MDFN_Mutexcxx . . $ MDFN_Mutex# *mutex);
45 int MDFND_UnlockMutexcxx . . $ MDFND_UnlockMutex(79be6db43f041c4c).(MDFN_Mutexcxx . . $ MDFN_Mutex# *mutex);
46
47 /* End threading support. */
48 #endif
49
50 /* path = path of game/file to load. returns NULL on failure. */
51 MDFNGIcxx . . $ MDFNGI# *MDFNI_LoadGamecxx . . $ MDFNI_LoadGame(acefc047a690e6dc).(const char *force_module, const char *path);
52
53 MDFNGIcxx . . $ MDFNGI# *MDFNI_LoadCDcxx . . $ MDFNI_LoadCD(acefc047a690e6dc).(const char *sysname, const char *devicename);
54
55 /* Sets the base directory(save states, snapshots, etc. are saved in directories
56 below this directory. */
57 void MDFNI_SetBaseDirectorycxx . . $ MDFNI_SetBaseDirectory(85c52e162fed56f9).(const char *dir);
58
59 void MDFN_DispMessagecxx . . $ MDFN_DispMessage(326aeb464d16410c).(const char *format, ...);
60 #define MDFNI_DispMessagecxx . . $ `mednafen/mednafen-driver.h:60:9`! MDFN_DispMessage
61
62 uint32cxx . . $ uint32# MDFNI_CRC32cxx . . $ MDFNI_CRC32(ade514a5a6baa708).(uint32cxx . . $ uint32# crc, uint8cxx . . $ uint8# *buf, uint32cxx . . $ uint32# len);
63
64 // NES hackish function. Should abstract in the future.
65 int MDFNI_DatachSetcxx . . $ MDFNI_DatachSet(b84ccf4e0bb14b06).(const uint8cxx . . $ uint8# *rcode);
66
67 void MDFNI_DumpModulesDefcxx . . $ MDFNI_DumpModulesDef(85c52e162fed56f9).(const char *fn);
68
69
70 #endif