GBA: Refactor gba directory, dropping gba- prefix and making supervisor directory
jump to
@@ -47,6 +47,7 @@ - Debugger: Clean up debugger interface, removing obsolete state (fixes #67)
- Debugger: Watchpoints now report address watched (fixes #68) - GBA: Add API for getting Configuration structs for overrides and input - GBA: Refactor gba-sensors and gba-gpio into gba-hardware + - GBA: Refactor gba directory, dropping gba- prefix and making supervisor directory 0.1.1: (2015-01-24) Bugfixes:
@@ -15,6 +15,7 @@ set(BUILD_SDL ON CACHE BOOL "Build SDL frontend")
set(BUILD_PERF OFF CACHE BOOL "Build performance profiling tool") file(GLOB ARM_SRC ${CMAKE_SOURCE_DIR}/src/arm/*.c) file(GLOB GBA_SRC ${CMAKE_SOURCE_DIR}/src/gba/*.c) +file(GLOB GBA_SV_SRC ${CMAKE_SOURCE_DIR}/src/gba/supervisor/*.c) file(GLOB UTIL_SRC ${CMAKE_SOURCE_DIR}/src/util/*.[cSs]) file(GLOB VFS_SRC ${CMAKE_SOURCE_DIR}/src/util/vfs/*.c) file(GLOB RENDERER_SRC ${CMAKE_SOURCE_DIR}/src/gba/renderers/video-software.c)@@ -22,9 +23,9 @@ file(GLOB THIRD_PARTY_SRC ${CMAKE_SOURCE_DIR}/src/third-party/inih/*.c)
list(APPEND UTIL_SRC ${CMAKE_SOURCE_DIR}/src/platform/commandline.c) source_group("ARM core" FILES ${ARM_SRC}) source_group("GBA board" FILES ${GBA_SRC} ${RENDERER_SRC}) +source_group("GBA supervisor" FILES ${GBA_SV_SRC}) source_group("Utilities" FILES ${UTIL_SRC} ${VFS_SRC}}) include_directories(${CMAKE_SOURCE_DIR}/src/arm) -include_directories(${CMAKE_SOURCE_DIR}/src/gba) include_directories(${CMAKE_SOURCE_DIR}/src) if(NOT CMAKE_BUILD_TYPE)@@ -138,7 +139,7 @@ if(USE_CLI_DEBUGGER)
add_definitions(-DUSE_CLI_DEBUGGER) list(APPEND DEBUGGER_SRC ${CMAKE_SOURCE_DIR}/src/debugger/cli-debugger.c) list(APPEND DEBUGGER_SRC ${CMAKE_SOURCE_DIR}/src/debugger/parser.c) - list(APPEND DEBUGGER_SRC ${CMAKE_SOURCE_DIR}/src/gba/gba-cli.c) + list(APPEND DEBUGGER_SRC ${CMAKE_SOURCE_DIR}/src/gba/supervisor/cli.c) include_directories(AFTER ${LIBEDIT_INCLUDE_DIRS}) link_directories(${LIBEDIT_LIBRARY_DIRS}) set(DEBUGGER_LIB ${LIBEDIT_LIBRARIES})@@ -239,6 +240,7 @@ # Binaries
add_library(${BINARY_NAME} SHARED ${ARM_SRC} ${GBA_SRC} + ${GBA_SV_SRC} ${DEBUGGER_SRC} ${RENDERER_SRC} ${UTIL_SRC}
@@ -1,15 +1,15 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ -#include "gba-audio.h" +#include "audio.h" -#include "gba.h" -#include "gba-io.h" -#include "gba-serialize.h" -#include "gba-thread.h" -#include "gba-video.h" +#include "gba/gba.h" +#include "gba/io.h" +#include "gba/serialize.h" +#include "gba/supervisor/thread.h" +#include "gba/video.h" const unsigned GBA_AUDIO_SAMPLES = 2048; const unsigned BLIP_BUFFER_SIZE = 0x4000;
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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
@@ -1,13 +1,13 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ -#include "gba-bios.h" +#include "bios.h" -#include "gba.h" -#include "gba-io.h" -#include "gba-memory.h" +#include "gba/gba.h" +#include "gba/io.h" +#include "gba/memory.h" #include "isa-inlines.h" const uint32_t GBA_BIOS_CHECKSUM = 0xBAAE187F;
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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
@@ -1,13 +1,13 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ -#include "gba-cli.h" +#include "cli.h" -#include "gba-io.h" -#include "gba-serialize.h" -#include "gba-thread.h" +#include "gba/io.h" +#include "gba/serialize.h" +#include "gba/supervisor/thread.h" #ifdef USE_CLI_DEBUGGER
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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
@@ -1,11 +1,9 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ -#include "gba-config.h" - -#include "platform/commandline.h" +#include "config.h" #include <sys/stat.h>
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -8,7 +8,7 @@ #define GBA_CONFIG_H
#include "util/common.h" -#include "gba.h" +#include "gba/gba.h" #include "util/configuration.h"
@@ -3,10 +3,9 @@ *
* 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/. */ -#include "gba.h" +#include "hardware.h" -#include "gba-hardware.h" -#include "gba-serialize.h" +#include "gba/serialize.h" #include <time.h>
@@ -1,9 +1,9 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ -#include "gba-input.h" +#include "input.h" #include "util/configuration.h" #include "util/table.h"
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -6,7 +6,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef GBA_INPUT_H #define GBA_INPUT_H -#include "gba.h" +#include "gba/gba.h" struct Configuration;
@@ -1,14 +1,14 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ -#include "gba-io.h" +#include "io.h" -#include "gba-rr.h" -#include "gba-serialize.h" -#include "gba-sio.h" -#include "gba-video.h" +#include "gba/supervisor/rr.h" +#include "gba/serialize.h" +#include "gba/sio.h" +#include "gba/video.h" const char* GBAIORegisterNames[] = { // Video
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -8,7 +8,7 @@ #define GBA_IO_H
#include "util/common.h" -#include "gba.h" +#include "gba/gba.h" enum GBAIORegisters { // Video
@@ -1,17 +1,17 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ -#include "gba-memory.h" +#include "memory.h" #include "macros.h" #include "decoder.h" -#include "gba-hardware.h" -#include "gba-io.h" -#include "gba-serialize.h" -#include "hle-bios.h" +#include "gba/hardware.h" +#include "gba/io.h" +#include "gba/serialize.h" +#include "gba/hle-bios.h" #include "util/memory.h" #define IDLE_LOOP_THRESHOLD 10000
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -11,8 +11,8 @@
#include "arm.h" #include "macros.h" -#include "gba-hardware.h" -#include "gba-savedata.h" +#include "gba/hardware.h" +#include "gba/savedata.h" enum GBAMemoryRegion { REGION_BIOS = 0x0,
@@ -3,10 +3,10 @@ *
* 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/. */ -#include "gba-overrides.h" +#include "overrides.h" -#include "gba.h" -#include "gba-hardware.h" +#include "gba/gba.h" +#include "gba/hardware.h" #include "util/configuration.h"
@@ -8,7 +8,7 @@ #define GBA_OVERRIDES_H
#include "util/common.h" -#include "gba-savedata.h" +#include "gba/savedata.h" #define IDLE_LOOP_NONE 0xFFFFFFFF
@@ -1,12 +1,12 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ -#include "gba-rr.h" +#include "rr.h" -#include "gba.h" -#include "gba-serialize.h" +#include "gba/gba.h" +#include "gba/serialize.h" #include "util/vfs.h" #define BINARY_EXT ".dat"
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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
@@ -1,11 +1,11 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ -#include "gba-savedata.h" +#include "savedata.h" -#include "gba.h" +#include "gba/gba.h" #include "util/memory.h" #include "util/vfs.h"
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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
@@ -1,15 +1,15 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ -#include "gba-serialize.h" +#include "serialize.h" -#include "gba-audio.h" -#include "gba-io.h" -#include "gba-rr.h" -#include "gba-thread.h" -#include "gba-video.h" +#include "gba/audio.h" +#include "gba/io.h" +#include "gba/supervisor/rr.h" +#include "gba/supervisor/thread.h" +#include "gba/video.h" #include "util/memory.h" #include "util/vfs.h"
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -8,7 +8,7 @@ #define GBA_SERIALIZE_H
#include "util/common.h" -#include "gba.h" +#include "gba/gba.h" extern const uint32_t GBA_SAVESTATE_MAGIC;
@@ -1,11 +1,11 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ -#include "gba-sio.h" +#include "sio.h" -#include "gba-io.h" +#include "gba/io.h" const int GBASIOCyclesPerTransfer[4][MAX_GBAS] = { { 31457, 62914, 94371, 125829 },
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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
@@ -1,14 +1,14 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ -#include "gba-thread.h" +#include "thread.h" #include "arm.h" -#include "gba.h" -#include "gba-config.h" -#include "gba-serialize.h" +#include "gba/gba.h" +#include "gba/supervisor/config.h" +#include "gba/serialize.h" #include "debugger/debugger.h"
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -8,9 +8,9 @@ #define GBA_THREAD_H
#include "util/common.h" -#include "gba.h" -#include "gba-input.h" -#include "gba-overrides.h" +#include "gba/gba.h" +#include "gba/input.h" +#include "gba/supervisor/overrides.h" #include "util/threading.h"
@@ -1,15 +1,15 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ -#include "gba-video.h" +#include "video.h" -#include "gba.h" -#include "gba-io.h" -#include "gba-rr.h" -#include "gba-serialize.h" -#include "gba-thread.h" +#include "gba/gba.h" +#include "gba/io.h" +#include "gba/serialize.h" +#include "gba/supervisor/rr.h" +#include "gba/supervisor/thread.h" #include "util/memory.h"
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -8,7 +8,7 @@ #define GBA_VIDEO_H
#include "util/common.h" -#include "gba-memory.h" +#include "gba/memory.h" #include "macros.h" #ifdef COLOR_16_BIT
@@ -1,16 +1,16 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ #include "gba.h" -#include "gba-bios.h" -#include "gba-io.h" -#include "gba-rr.h" -#include "gba-serialize.h" -#include "gba-sio.h" -#include "gba-thread.h" +#include "gba/bios.h" +#include "gba/io.h" +#include "gba/supervisor/rr.h" +#include "gba/supervisor/thread.h" +#include "gba/serialize.h" +#include "gba/sio.h" #include "isa-inlines.h"
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -11,10 +11,10 @@
#include "arm.h" #include "debugger/debugger.h" -#include "gba-memory.h" -#include "gba-video.h" -#include "gba-audio.h" -#include "gba-sio.h" +#include "gba/memory.h" +#include "gba/video.h" +#include "gba/audio.h" +#include "gba/sio.h" extern const uint32_t GBA_ARM7TDMI_FREQUENCY;
@@ -1,6 +1,6 @@
#include "hle-bios.h" -#include "gba-memory.h" +#include "gba/memory.h" const uint8_t hleBios[SIZE_BIOS] = { 0x06, 0x00, 0x00, 0xea, 0xfe, 0xff, 0xff, 0xea, 0x07, 0x00, 0x00, 0xea,
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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
@@ -13,6 +13,6 @@
hle-bios.c: hle-bios.bin echo '#include "hle-bios.h"' > $@ echo >> $@ - echo '#include "gba-memory.h"' >> $@ + echo '#include "gba/memory.h"' >> $@ echo >> $@ xxd -i $< | sed -e 's/unsigned char hle_bios_bin\[\]/const uint8_t hleBios[SIZE_BIOS]/' | grep -v hle_bios_bin_len >> $@
@@ -1,12 +1,12 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ #include "video-software.h" -#include "gba.h" -#include "gba-io.h" +#include "gba/gba.h" +#include "gba/io.h" #ifdef NDEBUG #define VIDEO_CHECKS false
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -8,7 +8,7 @@ #define VIDEO_SOFTWARE_H
#include "util/common.h" -#include "gba-video.h" +#include "gba/video.h" #ifdef COLOR_16_BIT typedef uint16_t color_t;
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -9,14 +9,14 @@ #include "debugger/debugger.h"
#ifdef USE_CLI_DEBUGGER #include "debugger/cli-debugger.h" -#include "gba/gba-cli.h" +#include "gba/supervisor/cli.h" #endif #ifdef USE_GDB_STUB #include "debugger/gdb-stub.h" #endif -#include "gba/gba-video.h" +#include "gba/video.h" #include <fcntl.h> #include <getopt.h>
@@ -8,7 +8,7 @@ #define COMMAND_LINE_H
#include "util/common.h" -#include "gba-config.h" +#include "gba/supervisor/config.h" enum DebuggerType { DEBUGGER_NONE = 0,
@@ -1,11 +1,11 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ #include "ffmpeg-encoder.h" -#include "gba-video.h" +#include "gba/video.h" #include <libavcodec/version.h> #include <libavcodec/avcodec.h>
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -6,7 +6,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef FFMPEG_ENCODER #define FFMPEG_ENCODER -#include "gba-thread.h" +#include "gba/supervisor/thread.h" #include <libavformat/avformat.h>
@@ -1,11 +1,11 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ #include "imagemagick-gif-encoder.h" -#include "gba-video.h" +#include "gba/video.h" static void _magickPostVideoFrame(struct GBAAVStream*, struct GBAVideoRenderer* renderer); static void _magickPostAudioFrame(struct GBAAVStream*, int32_t left, int32_t right);
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -6,7 +6,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef IMAGEMAGICK_GIF_ENCODER #define IMAGEMAGICK_GIF_ENCODER -#include "gba-thread.h" +#include "gba/supervisor/thread.h" #define MAGICKCORE_HDRI_ENABLE 0 #define MAGICKCORE_QUANTUM_DEPTH 8
@@ -1,12 +1,12 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ -#include "gba-thread.h" -#include "gba-config.h" -#include "gba.h" -#include "renderers/video-software.h" +#include "gba/supervisor/thread.h" +#include "gba/supervisor/config.h" +#include "gba/gba.h" +#include "gba/renderers/video-software.h" #include "platform/commandline.h"
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -6,9 +6,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "AudioDevice.h" extern "C" { -#include "gba.h" -#include "gba-audio.h" -#include "gba-thread.h" +#include "gba/gba.h" +#include "gba/audio.h" +#include "gba/supervisor/thread.h" } using namespace QGBA;
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -12,7 +12,7 @@ #include "AudioProcessorQt.h"
#endif extern "C" { -#include "gba-thread.h" +#include "gba/supervisor/thread.h" } using namespace QGBA;
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -10,7 +10,7 @@
#include <QAudioOutput> extern "C" { -#include "gba-thread.h" +#include "gba/supervisor/thread.h" } using namespace QGBA;
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -6,7 +6,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "AudioProcessorSDL.h" extern "C" { -#include "gba-thread.h" +#include "gba/supervisor/thread.h" } using namespace QGBA;
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -12,7 +12,7 @@ #include <QDir>
#include <QMenu> extern "C" { -#include "gba-overrides.h" +#include "gba/supervisor/overrides.h" #include "platform/commandline.h" }
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -14,7 +14,7 @@
#include <functional> extern "C" { -#include "gba-config.h" +#include "gba/supervisor/config.h" #include "util/configuration.h" }
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -9,7 +9,7 @@ #include <QApplication>
#include <QResizeEvent> extern "C" { -#include "gba-thread.h" +#include "gba/supervisor/thread.h" } using namespace QGBA;
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -12,7 +12,7 @@ #include <QSet>
#include <QWidget> extern "C" { -#include "gba-input.h" +#include "gba/input.h" } class QTimer;
@@ -14,11 +14,11 @@
#include <ctime> extern "C" { -#include "gba.h" -#include "gba-audio.h" -#include "gba-config.h" -#include "gba-serialize.h" -#include "renderers/video-software.h" +#include "gba/audio.h" +#include "gba/gba.h" +#include "gba/serialize.h" +#include "gba/renderers/video-software.h" +#include "gba/supervisor/config.h" #include "util/vfs.h" }
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -13,8 +13,8 @@ #include <QMutex>
#include <QString> extern "C" { -#include "gba-hardware.h" -#include "gba-thread.h" +#include "gba/hardware.h" +#include "gba/supervisor/thread.h" #ifdef BUILD_SDL #include "sdl-events.h" #endif
@@ -9,7 +9,7 @@
#include <QEvent> extern "C" { -#include "gba-input.h" +#include "gba/input.h" } namespace QGBA {
@@ -9,7 +9,7 @@
#include <QEvent> extern "C" { -#include "gba-input.h" +#include "gba/input.h" } namespace QGBA {
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -14,7 +14,7 @@
class QTimer; extern "C" { -#include "gba-input.h" +#include "gba/input.h" #ifdef BUILD_SDL #include "platform/sdl/sdl-events.h"
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -14,8 +14,8 @@ #include <QKeyEvent>
#include <QPainter> extern "C" { -#include "gba-serialize.h" -#include "gba-video.h" +#include "gba/serialize.h" +#include "gba/video.h" } using namespace QGBA;
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -11,7 +11,7 @@
#include "ui_LogView.h" extern "C" { -#include "gba-thread.h" +#include "gba/supervisor/thread.h" } namespace QGBA {
@@ -9,7 +9,7 @@ #include "ConfigController.h"
#include "GameController.h" extern "C" { -#include "gba-thread.h" +#include "gba/supervisor/thread.h" } using namespace QGBA;
@@ -11,7 +11,7 @@
#include "ui_OverrideView.h" extern "C" { -#include "gba-overrides.h" +#include "gba/supervisor/overrides.h" } struct GBAThread;
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -14,7 +14,7 @@
#include <functional> extern "C" { -#include "gba.h" +#include "gba/gba.h" } #include "GDBController.h"
@@ -1,11 +1,11 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ #include "main.h" -#include "gba-thread.h" +#include "gba/supervisor/thread.h" #ifdef __APPLE__ #include <OpenGL/gl.h>
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -13,10 +13,10 @@ #ifdef USE_GDB_STUB
#include "debugger/gdb-stub.h" #endif -#include "gba-thread.h" -#include "gba.h" -#include "gba-config.h" -#include "gba-video.h" +#include "gba/gba.h" +#include "gba/supervisor/config.h" +#include "gba/supervisor/thread.h" +#include "gba/video.h" #include "platform/commandline.h" #include "util/configuration.h"
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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@@ -6,7 +6,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef SDL_MAIN_H #define SDL_MAIN_H -#include "renderers/video-software.h" +#include "gba/renderers/video-software.h" #include "sdl-audio.h" #include "sdl-events.h"
@@ -1,12 +1,12 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ #include "sdl-audio.h" -#include "gba.h" -#include "gba-thread.h" +#include "gba/gba.h" +#include "gba/supervisor/thread.h" #if RESAMPLE_LIBRARY == RESAMPLE_BLIP_BUF #include "third-party/blip_buf/blip_buf.h"
@@ -10,7 +10,7 @@ #include "util/common.h"
#include <SDL.h> -#include "gba-audio.h" +#include "gba/audio.h" struct GBASDLAudio { // Input
@@ -6,11 +6,11 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "sdl-events.h" #include "debugger/debugger.h" -#include "gba-io.h" -#include "gba-rr.h" -#include "gba-serialize.h" -#include "gba-video.h" -#include "renderers/video-software.h" +#include "gba/io.h" +#include "gba/supervisor/rr.h" +#include "gba/serialize.h" +#include "gba/video.h" +#include "gba/renderers/video-software.h" #include "util/vfs.h" #if SDL_VERSION_ATLEAST(2, 0, 0) && defined(__APPLE__)
@@ -8,7 +8,7 @@ #define SDL_EVENTS_H
#include "util/common.h" -#include "gba-thread.h" +#include "gba/supervisor/thread.h" #include <SDL.h>
@@ -1,11 +1,11 @@
-/* Copyright (c) 2013-2014 Jeffrey Pfau +/* Copyright (c) 2013-2015 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/. */ #include "main.h" -#include "gba-thread.h" +#include "gba/supervisor/thread.h" #if defined(__ARM_NEON) void _neon2x(void* dest, void* src, int width, int height);