summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon
diff options
context:
space:
mode:
authorskidau <skidau@gmail.com>2011-02-15 09:07:55 +0000
committerskidau <skidau@gmail.com>2011-02-15 09:07:55 +0000
commitfb4c82fb48b756b348140993c36d3177a869aa52 (patch)
treeb29d5a74a30174662c975d4859056d8f1c6d1e54 /Source/Core/InputCommon
parentcf212518021a82ca50aa39fb428a9327066a235c (diff)
Added the feature to allow creating a TAS movie from a save state. To activate this function, start the game and use the "Start recording" command. A save state will be created at that point in time and the emulator will start recording. This results in two files, a .dtm containing the movie and a .dtm.sav which is the save state.
Changes: * Allow events to be scheduled when the emulator is not running. This allows the save state event to be added before the emulator starts. * Removed the Audio back-end init flag from the save state. This value should not be saved as it is not data relevant to guest machine. * Allow a recording to be started at any time (apart from when a recording is already being made). * Updated the status bar and title bar when an on-screen message is shown * Removed the saving of PEToken from the save state as the FIFO will save this information * Added a couple Pixel Engine interrupt states to the save state * Added the copyright notice to the GCPadStatus.h file. This function is preliminary. Let us know of any bugs you find or any UI quirks. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7175 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/InputCommon')
-rw-r--r--Source/Core/InputCommon/Src/GCPadStatus.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/Src/GCPadStatus.h b/Source/Core/InputCommon/Src/GCPadStatus.h
index 138a79e1ba..72b790bbc6 100644
--- a/Source/Core/InputCommon/Src/GCPadStatus.h
+++ b/Source/Core/InputCommon/Src/GCPadStatus.h
@@ -1,6 +1,25 @@
+// Copyright (C) 2003 Dolphin Project.
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, version 2.0.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License 2.0 for more details.
+
+// A copy of the GPL 2.0 should have been included with the program.
+// If not, see http://www.gnu.org/licenses/
+
+// Official SVN repository and contact information can be found at
+// http://code.google.com/p/dolphin-emu/
+
#ifndef _GCPAD_H_INCLUDED__
#define _GCPAD_H_INCLUDED__
+#include "CommonTypes.h"
+
#define PAD_ERR_NONE 0
#define PAD_ERR_NO_CONTROLLER -1
#define PAD_ERR_NOT_READY -2