diff options
| author | 2015-05-13 23:29:27 -0400 | |
|---|---|---|
| committer | 2015-05-22 22:59:42 -0400 | |
| commit | 1b42d55a9dcb27ac2374de0ed0d1d0ec8385b13e (patch) | |
| tree | c21e1e3b667abbe498e1ab818c25988095cd0dbf /src/video_core/pica.cpp | |
| parent | Merge pull request #803 from lioncash/typo (diff) | |
| download | yuzu-1b42d55a9dcb27ac2374de0ed0d1d0ec8385b13e.tar.gz yuzu-1b42d55a9dcb27ac2374de0ed0d1d0ec8385b13e.tar.xz yuzu-1b42d55a9dcb27ac2374de0ed0d1d0ec8385b13e.zip | |
Pica: Create 'State' structure and move state memory there.
Diffstat (limited to 'src/video_core/pica.cpp')
| -rw-r--r-- | src/video_core/pica.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/video_core/pica.cpp b/src/video_core/pica.cpp new file mode 100644 index 000000000..543d9c443 --- /dev/null +++ b/src/video_core/pica.cpp | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | // Copyright 2015 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #include <string.h> | ||
| 6 | |||
| 7 | #include "pica.h" | ||
| 8 | |||
| 9 | namespace Pica { | ||
| 10 | |||
| 11 | State g_state; | ||
| 12 | |||
| 13 | void Init() { | ||
| 14 | } | ||
| 15 | |||
| 16 | void Shutdown() { | ||
| 17 | memset(&g_state, 0, sizeof(State)); | ||
| 18 | } | ||
| 19 | |||
| 20 | } | ||