DS Video: Add missing file

This commit is contained in:
Vicki Pfau 2017-02-17 17:49:29 -08:00
parent f420bbe90b
commit 28702bdd23
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
/* Copyright (c) 2013-2017 Jeffrey Pfau
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef DS_VIDEO_SOFTWARE_H
#define DS_VIDEO_SOFTWARE_H
#include <mgba-util/common.h>
CXX_GUARD_START
#include <mgba/internal/ds/video.h>
#include <mgba/internal/gba/renderers/video-software.h>
struct DSVideoSoftwareRenderer {
struct DSVideoRenderer d;
struct GBAVideoSoftwareRenderer engA;
struct GBAVideoSoftwareRenderer engB;
color_t* outputBuffer;
int outputBufferStride;
uint32_t row[DS_VIDEO_HORIZONTAL_PIXELS];
};
void DSVideoSoftwareRendererCreate(struct DSVideoSoftwareRenderer* renderer);
CXX_GUARD_END
#endif