summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2008-10-25 17:09:06 +0000
committerhrydgard <hrydgard@gmail.com>2008-10-25 17:09:06 +0000
commitd3da9a67d74836038cb32341870ee246e944ef91 (patch)
treea66941e3ef3dec761a6cf0779545920894c93d69 /Source/Core
parent5247f6661b8d750e3ec30185a2f509ff52bb40f0 (diff)
savestates work better in Metroid Prime 2 (can jump ingame from intro screens with no graphics corruption)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@962 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/Src/ChunkFile.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/Source/Core/Common/Src/ChunkFile.h b/Source/Core/Common/Src/ChunkFile.h
index eb31926a48..1e06234bd0 100644
--- a/Source/Core/Common/Src/ChunkFile.h
+++ b/Source/Core/Common/Src/ChunkFile.h
@@ -80,18 +80,19 @@ public:
// TODO
PanicAlert("Do(map<>) does not yet work.");
}
- // Store vectors.
+
+ // Store vectors.
template<class T>
void Do(std::vector<T> &x) {
// TODO
PanicAlert("Do(vector<>) does not yet work.");
}
- template<class T>
- void DoArray(T *x, int count) {
- DoVoid((void *)x, sizeof(T) * count);
- }
-
+ template<class T>
+ void DoArray(T *x, int count) {
+ DoVoid((void *)x, sizeof(T) * count);
+ }
+
template<class T>
void Do(T &x) {
DoVoid((void *)&x, sizeof(x));