Major cleanup. Jens, please have a look.

committer: mfx <mfx> 1042576817 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2003-01-14 20:40:17 +00:00
parent 29c1f67057
commit beb766b005
2 changed files with 139 additions and 102 deletions
+8 -3
View File
@@ -57,9 +57,9 @@ public:
protected:
virtual int buildLoader(const Filter *ft);
virtual int patch_mips_le16(void *b, int blen, const void *old, unsigned new_);
virtual int patch_mips_le32(void *b, int blen, const void *old, unsigned new_);
virtual int patch_hi_lo(void *b, int blen, const void *old_hi, const void *old_lo, unsigned new_);
virtual int readFileHeader();
virtual bool checkFileHeader();
struct ps1_exe_t
{
@@ -100,6 +100,11 @@ protected:
unsigned fdata_size;
// calculated filesize
unsigned cfile_size;
protected:
int patch_mips_le16(void *b, int blen, const void *old, unsigned new_);
int patch_mips_le32(void *b, int blen, const void *old, unsigned new_);
void patch_hi_lo(void *b, int blen, const void *old_hi, const void *old_lo, unsigned new_);
};