From 28702bdd23de19f6480432aea9e87d998c7fc9d1 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Fri, 17 Feb 2017 17:49:29 -0800 Subject: [PATCH] DS Video: Add missing file --- include/mgba/internal/ds/renderers/software.h | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 include/mgba/internal/ds/renderers/software.h diff --git a/include/mgba/internal/ds/renderers/software.h b/include/mgba/internal/ds/renderers/software.h new file mode 100644 index 000000000..34beecd37 --- /dev/null +++ b/include/mgba/internal/ds/renderers/software.h @@ -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 + +CXX_GUARD_START + +#include +#include + +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