mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 09:52:28 +00:00
feat(console): add more work to understand ConsoleDeviceInitialize
This commit is contained in:
parent
9df5775a17
commit
6cda64dfc4
16 changed files with 224 additions and 28 deletions
31
profile/3.3.5a-windows-386/include/common/datastore.h
Normal file
31
profile/3.3.5a-windows-386/include/common/datastore.h
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
#ifndef COMMON_DATA_STORE_H
|
||||
#define COMMON_DATA_STORE_H
|
||||
|
||||
DECLARE_STRUCT(CDataStore__v_table);
|
||||
DECLARE_STRUCT(CDataStore);
|
||||
|
||||
struct CDataStore__v_table{
|
||||
void* fn_InternalInitialize;
|
||||
void* fn_InternalDestroy;
|
||||
void* fn_InternalFetchRead;
|
||||
void* fn_InternalFetchWrite;
|
||||
void* fn_destructor;
|
||||
void* fn_IsRead;
|
||||
void* fn_Reset;
|
||||
void* fn_Finalize;
|
||||
void* fn_GetBufferParams;
|
||||
void* fn_DetachBuffer;
|
||||
void* fn_GetHeaderSpace;
|
||||
};
|
||||
|
||||
struct CDataStore {
|
||||
CDataStore__v_table* v_table;
|
||||
uint8_t* m_data;
|
||||
uint32_t m_base;
|
||||
uint32_t m_alloc;
|
||||
uint32_t m_size;
|
||||
uint32_t m_read;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue