#include "database.h" union psyq_header_t { struct { Uint8 id[8]; Uint32 text, data, pc0, gp0, t_addr, t_size; Uint32 d_addr, d_size, b_addr, b_size, s_addr, s_size; Uint32 sp, fp, gp, ra, s0; }; Uint8 raw[0x800]; }; class loader_psyq : public Base { public: static void load(Handle * input, Database * database) { psyq_header_t head; input->read(&head, sizeof(head)); } };