mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
Final typo and error fixes and include reordering
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@372 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
531230c03d
commit
f8b4311b66
6 changed files with 37 additions and 22 deletions
|
@ -22,8 +22,7 @@
|
|||
// Grabbed from one of my older projects and modified heavily.
|
||||
// Works more like a RIFF file than a Google Protocol Buffer, for example.
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
@ -57,7 +56,7 @@ private:
|
|||
int stack_ptr;
|
||||
|
||||
char *data;
|
||||
int size;
|
||||
int fsize;
|
||||
int eof;
|
||||
|
||||
ChunkFileMode mode;
|
||||
|
@ -88,7 +87,7 @@ public:
|
|||
|
||||
// Store maps to file. Very useful.
|
||||
template<class T>
|
||||
bool Do(std::map<u32, T> &x) {
|
||||
bool Do(std::map<unsigned int, T> &x) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -101,8 +100,8 @@ public:
|
|||
|
||||
// Disable size checks to save size for variable size array storing
|
||||
template<class T>
|
||||
bool DoArray(T *x, int size, int arrSize) {
|
||||
return DoArray((void *)x, size, arrSize);
|
||||
bool DoArray(T *x, int arrSize) {
|
||||
return DoArray((void *)x, sizeof(T), arrSize);
|
||||
}
|
||||
|
||||
// Handle everything else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue