GBA: Refactor gba directory, dropping gba- prefix and making supervisor directory

This commit is contained in:
Jeffrey Pfau 2015-02-02 23:52:37 -08:00
parent e9a2b2a57c
commit 7149dd3102
72 changed files with 193 additions and 193 deletions

View File

@ -47,6 +47,7 @@ Misc:
- Debugger: Watchpoints now report address watched (fixes #68) - Debugger: Watchpoints now report address watched (fixes #68)
- GBA: Add API for getting Configuration structs for overrides and input - GBA: Add API for getting Configuration structs for overrides and input
- GBA: Refactor gba-sensors and gba-gpio into gba-hardware - 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) 0.1.1: (2015-01-24)
Bugfixes: Bugfixes:

View File

@ -15,6 +15,7 @@ set(BUILD_SDL ON CACHE BOOL "Build SDL frontend")
set(BUILD_PERF OFF CACHE BOOL "Build performance profiling tool") set(BUILD_PERF OFF CACHE BOOL "Build performance profiling tool")
file(GLOB ARM_SRC ${CMAKE_SOURCE_DIR}/src/arm/*.c) file(GLOB ARM_SRC ${CMAKE_SOURCE_DIR}/src/arm/*.c)
file(GLOB GBA_SRC ${CMAKE_SOURCE_DIR}/src/gba/*.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 UTIL_SRC ${CMAKE_SOURCE_DIR}/src/util/*.[cSs])
file(GLOB VFS_SRC ${CMAKE_SOURCE_DIR}/src/util/vfs/*.c) file(GLOB VFS_SRC ${CMAKE_SOURCE_DIR}/src/util/vfs/*.c)
file(GLOB RENDERER_SRC ${CMAKE_SOURCE_DIR}/src/gba/renderers/video-software.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) list(APPEND UTIL_SRC ${CMAKE_SOURCE_DIR}/src/platform/commandline.c)
source_group("ARM core" FILES ${ARM_SRC}) source_group("ARM core" FILES ${ARM_SRC})
source_group("GBA board" FILES ${GBA_SRC} ${RENDERER_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}}) source_group("Utilities" FILES ${UTIL_SRC} ${VFS_SRC}})
include_directories(${CMAKE_SOURCE_DIR}/src/arm) include_directories(${CMAKE_SOURCE_DIR}/src/arm)
include_directories(${CMAKE_SOURCE_DIR}/src/gba)
include_directories(${CMAKE_SOURCE_DIR}/src) include_directories(${CMAKE_SOURCE_DIR}/src)
if(NOT CMAKE_BUILD_TYPE) if(NOT CMAKE_BUILD_TYPE)
@ -138,7 +139,7 @@ if(USE_CLI_DEBUGGER)
add_definitions(-DUSE_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/cli-debugger.c)
list(APPEND DEBUGGER_SRC ${CMAKE_SOURCE_DIR}/src/debugger/parser.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}) include_directories(AFTER ${LIBEDIT_INCLUDE_DIRS})
link_directories(${LIBEDIT_LIBRARY_DIRS}) link_directories(${LIBEDIT_LIBRARY_DIRS})
set(DEBUGGER_LIB ${LIBEDIT_LIBRARIES}) set(DEBUGGER_LIB ${LIBEDIT_LIBRARIES})
@ -239,6 +240,7 @@ endif()
add_library(${BINARY_NAME} SHARED add_library(${BINARY_NAME} SHARED
${ARM_SRC} ${ARM_SRC}
${GBA_SRC} ${GBA_SRC}
${GBA_SV_SRC}
${DEBUGGER_SRC} ${DEBUGGER_SRC}
${RENDERER_SRC} ${RENDERER_SRC}
${UTIL_SRC} ${UTIL_SRC}

View File

@ -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 * 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 * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "gba-audio.h" #include "audio.h"
#include "gba.h" #include "gba/gba.h"
#include "gba-io.h" #include "gba/io.h"
#include "gba-serialize.h" #include "gba/serialize.h"
#include "gba-thread.h" #include "gba/supervisor/thread.h"
#include "gba-video.h" #include "gba/video.h"
const unsigned GBA_AUDIO_SAMPLES = 2048; const unsigned GBA_AUDIO_SAMPLES = 2048;
const unsigned BLIP_BUFFER_SIZE = 0x4000; const unsigned BLIP_BUFFER_SIZE = 0x4000;

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this

View File

@ -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 * 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 * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "gba-bios.h" #include "bios.h"
#include "gba.h" #include "gba/gba.h"
#include "gba-io.h" #include "gba/io.h"
#include "gba-memory.h" #include "gba/memory.h"
#include "isa-inlines.h" #include "isa-inlines.h"
const uint32_t GBA_BIOS_CHECKSUM = 0xBAAE187F; const uint32_t GBA_BIOS_CHECKSUM = 0xBAAE187F;

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this

View File

@ -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 * 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 * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "gba.h" #include "gba.h"
#include "gba-bios.h" #include "gba/bios.h"
#include "gba-io.h" #include "gba/io.h"
#include "gba-rr.h" #include "gba/supervisor/rr.h"
#include "gba-serialize.h" #include "gba/supervisor/thread.h"
#include "gba-sio.h" #include "gba/serialize.h"
#include "gba-thread.h" #include "gba/sio.h"
#include "isa-inlines.h" #include "isa-inlines.h"

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -11,10 +11,10 @@
#include "arm.h" #include "arm.h"
#include "debugger/debugger.h" #include "debugger/debugger.h"
#include "gba-memory.h" #include "gba/memory.h"
#include "gba-video.h" #include "gba/video.h"
#include "gba-audio.h" #include "gba/audio.h"
#include "gba-sio.h" #include "gba/sio.h"
extern const uint32_t GBA_ARM7TDMI_FREQUENCY; extern const uint32_t GBA_ARM7TDMI_FREQUENCY;

View File

@ -3,10 +3,9 @@
* This Source Code Form is subject to the terms of the Mozilla Public * 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 * 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/. */ * 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> #include <time.h>

View File

@ -1,6 +1,6 @@
#include "hle-bios.h" #include "hle-bios.h"
#include "gba-memory.h" #include "gba/memory.h"
const uint8_t hleBios[SIZE_BIOS] = { const uint8_t hleBios[SIZE_BIOS] = {
0x06, 0x00, 0x00, 0xea, 0xfe, 0xff, 0xff, 0xea, 0x07, 0x00, 0x00, 0xea, 0x06, 0x00, 0x00, 0xea, 0xfe, 0xff, 0xff, 0xea, 0x07, 0x00, 0x00, 0xea,

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this

View File

@ -13,6 +13,6 @@ hle-bios.bin: hle-bios.o
hle-bios.c: hle-bios.bin hle-bios.c: hle-bios.bin
echo '#include "hle-bios.h"' > $@ echo '#include "hle-bios.h"' > $@
echo >> $@ echo >> $@
echo '#include "gba-memory.h"' >> $@ echo '#include "gba/memory.h"' >> $@
echo >> $@ echo >> $@
xxd -i $< | sed -e 's/unsigned char hle_bios_bin\[\]/const uint8_t hleBios[SIZE_BIOS]/' | grep -v hle_bios_bin_len >> $@ xxd -i $< | sed -e 's/unsigned char hle_bios_bin\[\]/const uint8_t hleBios[SIZE_BIOS]/' | grep -v hle_bios_bin_len >> $@

View File

@ -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 * 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 * 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/. */ * 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/configuration.h"
#include "util/table.h" #include "util/table.h"

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -6,7 +6,7 @@
#ifndef GBA_INPUT_H #ifndef GBA_INPUT_H
#define GBA_INPUT_H #define GBA_INPUT_H
#include "gba.h" #include "gba/gba.h"
struct Configuration; struct Configuration;

View File

@ -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 * 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 * 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/. */ * 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/supervisor/rr.h"
#include "gba-serialize.h" #include "gba/serialize.h"
#include "gba-sio.h" #include "gba/sio.h"
#include "gba-video.h" #include "gba/video.h"
const char* GBAIORegisterNames[] = { const char* GBAIORegisterNames[] = {
// Video // Video

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -8,7 +8,7 @@
#include "util/common.h" #include "util/common.h"
#include "gba.h" #include "gba/gba.h"
enum GBAIORegisters { enum GBAIORegisters {
// Video // Video

View File

@ -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 * 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 * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "gba-memory.h" #include "memory.h"
#include "macros.h" #include "macros.h"
#include "decoder.h" #include "decoder.h"
#include "gba-hardware.h" #include "gba/hardware.h"
#include "gba-io.h" #include "gba/io.h"
#include "gba-serialize.h" #include "gba/serialize.h"
#include "hle-bios.h" #include "gba/hle-bios.h"
#include "util/memory.h" #include "util/memory.h"
#define IDLE_LOOP_THRESHOLD 10000 #define IDLE_LOOP_THRESHOLD 10000

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -11,8 +11,8 @@
#include "arm.h" #include "arm.h"
#include "macros.h" #include "macros.h"
#include "gba-hardware.h" #include "gba/hardware.h"
#include "gba-savedata.h" #include "gba/savedata.h"
enum GBAMemoryRegion { enum GBAMemoryRegion {
REGION_BIOS = 0x0, REGION_BIOS = 0x0,

View File

@ -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 * 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 * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "video-software.h" #include "video-software.h"
#include "gba.h" #include "gba/gba.h"
#include "gba-io.h" #include "gba/io.h"
#ifdef NDEBUG #ifdef NDEBUG
#define VIDEO_CHECKS false #define VIDEO_CHECKS false

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -8,7 +8,7 @@
#include "util/common.h" #include "util/common.h"
#include "gba-video.h" #include "gba/video.h"
#ifdef COLOR_16_BIT #ifdef COLOR_16_BIT
typedef uint16_t color_t; typedef uint16_t color_t;

View File

@ -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 * 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 * 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/. */ * 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/memory.h"
#include "util/vfs.h" #include "util/vfs.h"

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this

View File

@ -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 * 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 * 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/. */ * 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/audio.h"
#include "gba-io.h" #include "gba/io.h"
#include "gba-rr.h" #include "gba/supervisor/rr.h"
#include "gba-thread.h" #include "gba/supervisor/thread.h"
#include "gba-video.h" #include "gba/video.h"
#include "util/memory.h" #include "util/memory.h"
#include "util/vfs.h" #include "util/vfs.h"

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -8,7 +8,7 @@
#include "util/common.h" #include "util/common.h"
#include "gba.h" #include "gba/gba.h"
extern const uint32_t GBA_SAVESTATE_MAGIC; extern const uint32_t GBA_SAVESTATE_MAGIC;

View File

@ -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 * 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 * 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/. */ * 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] = { const int GBASIOCyclesPerTransfer[4][MAX_GBAS] = {
{ 31457, 62914, 94371, 125829 }, { 31457, 62914, 94371, 125829 },

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this

View File

@ -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 * 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 * 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/. */ * 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/io.h"
#include "gba-serialize.h" #include "gba/serialize.h"
#include "gba-thread.h" #include "gba/supervisor/thread.h"
#ifdef USE_CLI_DEBUGGER #ifdef USE_CLI_DEBUGGER

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this

View File

@ -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 * 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 * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "gba-config.h" #include "config.h"
#include "platform/commandline.h"
#include <sys/stat.h> #include <sys/stat.h>

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -8,7 +8,7 @@
#include "util/common.h" #include "util/common.h"
#include "gba.h" #include "gba/gba.h"
#include "util/configuration.h" #include "util/configuration.h"

View File

@ -3,10 +3,10 @@
* This Source Code Form is subject to the terms of the Mozilla Public * 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 * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "gba-overrides.h" #include "overrides.h"
#include "gba.h" #include "gba/gba.h"
#include "gba-hardware.h" #include "gba/hardware.h"
#include "util/configuration.h" #include "util/configuration.h"

View File

@ -8,7 +8,7 @@
#include "util/common.h" #include "util/common.h"
#include "gba-savedata.h" #include "gba/savedata.h"
#define IDLE_LOOP_NONE 0xFFFFFFFF #define IDLE_LOOP_NONE 0xFFFFFFFF

View File

@ -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 * 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 * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "gba-rr.h" #include "rr.h"
#include "gba.h" #include "gba/gba.h"
#include "gba-serialize.h" #include "gba/serialize.h"
#include "util/vfs.h" #include "util/vfs.h"
#define BINARY_EXT ".dat" #define BINARY_EXT ".dat"

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this

View File

@ -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 * 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 * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "gba-thread.h" #include "thread.h"
#include "arm.h" #include "arm.h"
#include "gba.h" #include "gba/gba.h"
#include "gba-config.h" #include "gba/supervisor/config.h"
#include "gba-serialize.h" #include "gba/serialize.h"
#include "debugger/debugger.h" #include "debugger/debugger.h"

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -8,9 +8,9 @@
#include "util/common.h" #include "util/common.h"
#include "gba.h" #include "gba/gba.h"
#include "gba-input.h" #include "gba/input.h"
#include "gba-overrides.h" #include "gba/supervisor/overrides.h"
#include "util/threading.h" #include "util/threading.h"

View File

@ -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 * 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 * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "gba-video.h" #include "video.h"
#include "gba.h" #include "gba/gba.h"
#include "gba-io.h" #include "gba/io.h"
#include "gba-rr.h" #include "gba/serialize.h"
#include "gba-serialize.h" #include "gba/supervisor/rr.h"
#include "gba-thread.h" #include "gba/supervisor/thread.h"
#include "util/memory.h" #include "util/memory.h"

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -8,7 +8,7 @@
#include "util/common.h" #include "util/common.h"
#include "gba-memory.h" #include "gba/memory.h"
#include "macros.h" #include "macros.h"
#ifdef COLOR_16_BIT #ifdef COLOR_16_BIT

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -9,14 +9,14 @@
#ifdef USE_CLI_DEBUGGER #ifdef USE_CLI_DEBUGGER
#include "debugger/cli-debugger.h" #include "debugger/cli-debugger.h"
#include "gba/gba-cli.h" #include "gba/supervisor/cli.h"
#endif #endif
#ifdef USE_GDB_STUB #ifdef USE_GDB_STUB
#include "debugger/gdb-stub.h" #include "debugger/gdb-stub.h"
#endif #endif
#include "gba/gba-video.h" #include "gba/video.h"
#include <fcntl.h> #include <fcntl.h>
#include <getopt.h> #include <getopt.h>

View File

@ -8,7 +8,7 @@
#include "util/common.h" #include "util/common.h"
#include "gba-config.h" #include "gba/supervisor/config.h"
enum DebuggerType { enum DebuggerType {
DEBUGGER_NONE = 0, DEBUGGER_NONE = 0,

View File

@ -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 * 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 * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "ffmpeg-encoder.h" #include "ffmpeg-encoder.h"
#include "gba-video.h" #include "gba/video.h"
#include <libavcodec/version.h> #include <libavcodec/version.h>
#include <libavcodec/avcodec.h> #include <libavcodec/avcodec.h>

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -6,7 +6,7 @@
#ifndef FFMPEG_ENCODER #ifndef FFMPEG_ENCODER
#define FFMPEG_ENCODER #define FFMPEG_ENCODER
#include "gba-thread.h" #include "gba/supervisor/thread.h"
#include <libavformat/avformat.h> #include <libavformat/avformat.h>

View File

@ -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 * 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 * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "imagemagick-gif-encoder.h" #include "imagemagick-gif-encoder.h"
#include "gba-video.h" #include "gba/video.h"
static void _magickPostVideoFrame(struct GBAAVStream*, struct GBAVideoRenderer* renderer); static void _magickPostVideoFrame(struct GBAAVStream*, struct GBAVideoRenderer* renderer);
static void _magickPostAudioFrame(struct GBAAVStream*, int32_t left, int32_t right); static void _magickPostAudioFrame(struct GBAAVStream*, int32_t left, int32_t right);

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -6,7 +6,7 @@
#ifndef IMAGEMAGICK_GIF_ENCODER #ifndef IMAGEMAGICK_GIF_ENCODER
#define IMAGEMAGICK_GIF_ENCODER #define IMAGEMAGICK_GIF_ENCODER
#include "gba-thread.h" #include "gba/supervisor/thread.h"
#define MAGICKCORE_HDRI_ENABLE 0 #define MAGICKCORE_HDRI_ENABLE 0
#define MAGICKCORE_QUANTUM_DEPTH 8 #define MAGICKCORE_QUANTUM_DEPTH 8

View File

@ -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 * 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 * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "gba-thread.h" #include "gba/supervisor/thread.h"
#include "gba-config.h" #include "gba/supervisor/config.h"
#include "gba.h" #include "gba/gba.h"
#include "renderers/video-software.h" #include "gba/renderers/video-software.h"
#include "platform/commandline.h" #include "platform/commandline.h"

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -6,9 +6,9 @@
#include "AudioDevice.h" #include "AudioDevice.h"
extern "C" { extern "C" {
#include "gba.h" #include "gba/gba.h"
#include "gba-audio.h" #include "gba/audio.h"
#include "gba-thread.h" #include "gba/supervisor/thread.h"
} }
using namespace QGBA; using namespace QGBA;

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -12,7 +12,7 @@
#endif #endif
extern "C" { extern "C" {
#include "gba-thread.h" #include "gba/supervisor/thread.h"
} }
using namespace QGBA; using namespace QGBA;

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -10,7 +10,7 @@
#include <QAudioOutput> #include <QAudioOutput>
extern "C" { extern "C" {
#include "gba-thread.h" #include "gba/supervisor/thread.h"
} }
using namespace QGBA; using namespace QGBA;

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -6,7 +6,7 @@
#include "AudioProcessorSDL.h" #include "AudioProcessorSDL.h"
extern "C" { extern "C" {
#include "gba-thread.h" #include "gba/supervisor/thread.h"
} }
using namespace QGBA; using namespace QGBA;

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -12,7 +12,7 @@
#include <QMenu> #include <QMenu>
extern "C" { extern "C" {
#include "gba-overrides.h" #include "gba/supervisor/overrides.h"
#include "platform/commandline.h" #include "platform/commandline.h"
} }

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -14,7 +14,7 @@
#include <functional> #include <functional>
extern "C" { extern "C" {
#include "gba-config.h" #include "gba/supervisor/config.h"
#include "util/configuration.h" #include "util/configuration.h"
} }

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -9,7 +9,7 @@
#include <QResizeEvent> #include <QResizeEvent>
extern "C" { extern "C" {
#include "gba-thread.h" #include "gba/supervisor/thread.h"
} }
using namespace QGBA; using namespace QGBA;

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -12,7 +12,7 @@
#include <QWidget> #include <QWidget>
extern "C" { extern "C" {
#include "gba-input.h" #include "gba/input.h"
} }
class QTimer; class QTimer;

View File

@ -14,11 +14,11 @@
#include <ctime> #include <ctime>
extern "C" { extern "C" {
#include "gba.h" #include "gba/audio.h"
#include "gba-audio.h" #include "gba/gba.h"
#include "gba-config.h" #include "gba/serialize.h"
#include "gba-serialize.h" #include "gba/renderers/video-software.h"
#include "renderers/video-software.h" #include "gba/supervisor/config.h"
#include "util/vfs.h" #include "util/vfs.h"
} }

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -13,8 +13,8 @@
#include <QString> #include <QString>
extern "C" { extern "C" {
#include "gba-hardware.h" #include "gba/hardware.h"
#include "gba-thread.h" #include "gba/supervisor/thread.h"
#ifdef BUILD_SDL #ifdef BUILD_SDL
#include "sdl-events.h" #include "sdl-events.h"
#endif #endif

View File

@ -9,7 +9,7 @@
#include <QEvent> #include <QEvent>
extern "C" { extern "C" {
#include "gba-input.h" #include "gba/input.h"
} }
namespace QGBA { namespace QGBA {

View File

@ -9,7 +9,7 @@
#include <QEvent> #include <QEvent>
extern "C" { extern "C" {
#include "gba-input.h" #include "gba/input.h"
} }
namespace QGBA { namespace QGBA {

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -14,7 +14,7 @@
class QTimer; class QTimer;
extern "C" { extern "C" {
#include "gba-input.h" #include "gba/input.h"
#ifdef BUILD_SDL #ifdef BUILD_SDL
#include "platform/sdl/sdl-events.h" #include "platform/sdl/sdl-events.h"

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -14,8 +14,8 @@
#include <QPainter> #include <QPainter>
extern "C" { extern "C" {
#include "gba-serialize.h" #include "gba/serialize.h"
#include "gba-video.h" #include "gba/video.h"
} }
using namespace QGBA; using namespace QGBA;

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -11,7 +11,7 @@
#include "ui_LogView.h" #include "ui_LogView.h"
extern "C" { extern "C" {
#include "gba-thread.h" #include "gba/supervisor/thread.h"
} }
namespace QGBA { namespace QGBA {

View File

@ -9,7 +9,7 @@
#include "GameController.h" #include "GameController.h"
extern "C" { extern "C" {
#include "gba-thread.h" #include "gba/supervisor/thread.h"
} }
using namespace QGBA; using namespace QGBA;

View File

@ -11,7 +11,7 @@
#include "ui_OverrideView.h" #include "ui_OverrideView.h"
extern "C" { extern "C" {
#include "gba-overrides.h" #include "gba/supervisor/overrides.h"
} }
struct GBAThread; struct GBAThread;

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -14,7 +14,7 @@
#include <functional> #include <functional>
extern "C" { extern "C" {
#include "gba.h" #include "gba/gba.h"
} }
#include "GDBController.h" #include "GDBController.h"

View File

@ -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 * 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 * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "main.h" #include "main.h"
#include "gba-thread.h" #include "gba/supervisor/thread.h"
#ifdef __APPLE__ #ifdef __APPLE__
#include <OpenGL/gl.h> #include <OpenGL/gl.h>

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -13,10 +13,10 @@
#include "debugger/gdb-stub.h" #include "debugger/gdb-stub.h"
#endif #endif
#include "gba-thread.h" #include "gba/gba.h"
#include "gba.h" #include "gba/supervisor/config.h"
#include "gba-config.h" #include "gba/supervisor/thread.h"
#include "gba-video.h" #include "gba/video.h"
#include "platform/commandline.h" #include "platform/commandline.h"
#include "util/configuration.h" #include "util/configuration.h"

View File

@ -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 * 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 * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -6,7 +6,7 @@
#ifndef SDL_MAIN_H #ifndef SDL_MAIN_H
#define SDL_MAIN_H #define SDL_MAIN_H
#include "renderers/video-software.h" #include "gba/renderers/video-software.h"
#include "sdl-audio.h" #include "sdl-audio.h"
#include "sdl-events.h" #include "sdl-events.h"

View File

@ -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 * 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 * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "sdl-audio.h" #include "sdl-audio.h"
#include "gba.h" #include "gba/gba.h"
#include "gba-thread.h" #include "gba/supervisor/thread.h"
#if RESAMPLE_LIBRARY == RESAMPLE_BLIP_BUF #if RESAMPLE_LIBRARY == RESAMPLE_BLIP_BUF
#include "third-party/blip_buf/blip_buf.h" #include "third-party/blip_buf/blip_buf.h"

View File

@ -10,7 +10,7 @@
#include <SDL.h> #include <SDL.h>
#include "gba-audio.h" #include "gba/audio.h"
struct GBASDLAudio { struct GBASDLAudio {
// Input // Input

View File

@ -6,11 +6,11 @@
#include "sdl-events.h" #include "sdl-events.h"
#include "debugger/debugger.h" #include "debugger/debugger.h"
#include "gba-io.h" #include "gba/io.h"
#include "gba-rr.h" #include "gba/supervisor/rr.h"
#include "gba-serialize.h" #include "gba/serialize.h"
#include "gba-video.h" #include "gba/video.h"
#include "renderers/video-software.h" #include "gba/renderers/video-software.h"
#include "util/vfs.h" #include "util/vfs.h"
#if SDL_VERSION_ATLEAST(2, 0, 0) && defined(__APPLE__) #if SDL_VERSION_ATLEAST(2, 0, 0) && defined(__APPLE__)

View File

@ -8,7 +8,7 @@
#include "util/common.h" #include "util/common.h"
#include "gba-thread.h" #include "gba/supervisor/thread.h"
#include <SDL.h> #include <SDL.h>

View File

@ -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 * 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 * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "main.h" #include "main.h"
#include "gba-thread.h" #include "gba/supervisor/thread.h"
#if defined(__ARM_NEON) #if defined(__ARM_NEON)
void _neon2x(void* dest, void* src, int width, int height); void _neon2x(void* dest, void* src, int width, int height);