Making all includes relative

This commit is contained in:
Sergio Martin 2024-01-28 18:19:23 +01:00
parent b1fbe9ddc5
commit b07f5521af
66 changed files with 136 additions and 135 deletions

View File

@ -1,8 +1,8 @@
// Nes_Emu 0.7.0. http://www.slack.net/~ant/libs/
#include "apu/NESEffectsBuffer.hpp"
#include "apu/apu.hpp"
#include "NESEffectsBuffer.hpp"
#include "apu.hpp"
/* Copyright (C) 2004-2006 Shay Green. This module is free software; you
can redistribute it and/or modify it under the terms of the GNU Lesser

View File

@ -1,7 +1,7 @@
// Emu 0.7.0. http://www.slack.net/~ant/libs/
#include "apu/buffer.hpp"
#include "apu/apu.hpp"
#include "buffer.hpp"
#include "apu.hpp"
/* Library Copyright (C) 2003-2006 Shay Green. This library is free software;
you can redistribute it and/or modify it under the terms of the GNU Lesser

View File

@ -1,7 +1,7 @@
// Emu 0.7.0. http://www.slack.net/~ant/
#include "apu/fme7/apu.hpp"
#include "apu.hpp"
#include <cstring>
/* Copyright (C) 2003-2006 Shay Green. This module is free software; you

View File

@ -4,7 +4,7 @@
// Emu 0.7.0
#include <cstdint>
#include "apu/blipBuffer.hpp"
#include "../blipBuffer.hpp"
namespace quickerNES
{

View File

@ -1,8 +1,8 @@
// Snd_Emu 0.1.7. http://www.slack.net/~ant/
#include "apu/namco/apu.hpp"
#include "apu/blipBuffer.hpp"
#include "apu.hpp"
#include "../blipBuffer.hpp"
/* Copyright (C) 2003-2006 Shay Green. This module is free software; you
can redistribute it and/or modify it under the terms of the GNU Lesser

View File

@ -4,7 +4,7 @@
// Snd_Emu 0.1.7
#include <cstdint>
#include "apu/apu.hpp"
#include "../apu.hpp"
namespace quickerNES
{

View File

@ -1,7 +1,7 @@
// Snd_Emu 0.1.7. http://www.slack.net/~ant/
#include "apu/vrc6/apu.hpp"
#include "apu.hpp"
/* Copyright (C) 2003-2006 Shay Green. This module is free software; you
can redistribute it and/or modify it under the terms of the GNU Lesser

View File

@ -5,8 +5,8 @@
// Snd_Emu 0.1.7
#include <cstdint>
#include "apu/blipBuffer.hpp"
#include "apu/apu.hpp"
#include "../blipBuffer.hpp"
#include "../apu.hpp"
namespace quickerNES
{

View File

@ -1,6 +1,6 @@
#include <cstring>
#include "apu/vrc7/apu.hpp"
#include "apu/vrc7/emu2413.hpp"
#include "apu.hpp"
#include "emu2413.hpp"
namespace quickerNES
{

View File

@ -5,8 +5,8 @@
// Snd_Emu 0.1.7. Copyright (C) 2003-2005 Shay Green. GNU LGPL license.
#include <cstdint>
#include "apu/blipBuffer.hpp"
#include "apu/vrc7/emu2413_state.hpp"
#include "../blipBuffer.hpp"
#include "emu2413_state.hpp"
namespace quickerNES
{

View File

@ -1,8 +1,8 @@
// Emu 0.7.0. http://www.slack.net/~ant/
#include "mappers/mapper.hpp"
#include "core.hpp"
#include "mapper.hpp"
#include "../core.hpp"
#include <cstring>
/* Copyright (C) 2004-2006 Shay Green. This module is free software; you
@ -20,61 +20,61 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
New mapping distribution by Sergio Martin (eien86)
https://github.com/SergioMartin86/jaffarPlus
*/
#include "mappers/mapper000.hpp"
#include "mappers/mapper001.hpp"
#include "mappers/mapper002.hpp"
#include "mappers/mapper003.hpp"
#include "mappers/mapper004.hpp"
#include "mappers/mapper005.hpp"
#include "mappers/mapper007.hpp"
#include "mappers/mapper009.hpp"
#include "mappers/mapper010.hpp"
#include "mappers/mapper011.hpp"
#include "mappers/mapper015.hpp"
#include "mappers/mapper019.hpp"
#include "mappers/mapper021.hpp"
#include "mappers/mapper022.hpp"
#include "mappers/mapper023.hpp"
#include "mappers/mapper024.hpp"
#include "mappers/mapper025.hpp"
#include "mappers/mapper026.hpp"
#include "mappers/mapper030.hpp"
#include "mappers/mapper032.hpp"
#include "mappers/mapper033.hpp"
#include "mappers/mapper034.hpp"
#include "mappers/mapper060.hpp"
#include "mappers/mapper066.hpp"
#include "mappers/mapper069.hpp"
#include "mappers/mapper070.hpp"
#include "mappers/mapper071.hpp"
#include "mappers/mapper073.hpp"
#include "mappers/mapper075.hpp"
#include "mappers/mapper078.hpp"
#include "mappers/mapper079.hpp"
#include "mappers/mapper085.hpp"
#include "mappers/mapper086.hpp"
#include "mappers/mapper087.hpp"
#include "mappers/mapper088.hpp"
#include "mappers/mapper089.hpp"
#include "mappers/mapper093.hpp"
#include "mappers/mapper094.hpp"
#include "mappers/mapper097.hpp"
#include "mappers/mapper113.hpp"
#include "mappers/mapper140.hpp"
#include "mappers/mapper152.hpp"
#include "mappers/mapper154.hpp"
#include "mappers/mapper156.hpp"
#include "mappers/mapper180.hpp"
#include "mappers/mapper184.hpp"
#include "mappers/mapper190.hpp"
#include "mappers/mapper193.hpp"
#include "mappers/mapper206.hpp"
#include "mappers/mapper207.hpp"
#include "mappers/mapper232.hpp"
#include "mappers/mapper240.hpp"
#include "mappers/mapper241.hpp"
#include "mappers/mapper244.hpp"
#include "mappers/mapper246.hpp"
#include "mapper000.hpp"
#include "mapper001.hpp"
#include "mapper002.hpp"
#include "mapper003.hpp"
#include "mapper004.hpp"
#include "mapper005.hpp"
#include "mapper007.hpp"
#include "mapper009.hpp"
#include "mapper010.hpp"
#include "mapper011.hpp"
#include "mapper015.hpp"
#include "mapper019.hpp"
#include "mapper021.hpp"
#include "mapper022.hpp"
#include "mapper023.hpp"
#include "mapper024.hpp"
#include "mapper025.hpp"
#include "mapper026.hpp"
#include "mapper030.hpp"
#include "mapper032.hpp"
#include "mapper033.hpp"
#include "mapper034.hpp"
#include "mapper060.hpp"
#include "mapper066.hpp"
#include "mapper069.hpp"
#include "mapper070.hpp"
#include "mapper071.hpp"
#include "mapper073.hpp"
#include "mapper075.hpp"
#include "mapper078.hpp"
#include "mapper079.hpp"
#include "mapper085.hpp"
#include "mapper086.hpp"
#include "mapper087.hpp"
#include "mapper088.hpp"
#include "mapper089.hpp"
#include "mapper093.hpp"
#include "mapper094.hpp"
#include "mapper097.hpp"
#include "mapper113.hpp"
#include "mapper140.hpp"
#include "mapper152.hpp"
#include "mapper154.hpp"
#include "mapper156.hpp"
#include "mapper180.hpp"
#include "mapper184.hpp"
#include "mapper190.hpp"
#include "mapper193.hpp"
#include "mapper206.hpp"
#include "mapper207.hpp"
#include "mapper232.hpp"
#include "mapper240.hpp"
#include "mapper241.hpp"
#include "mapper244.hpp"
#include "mapper246.hpp"
namespace quickerNES
{

View File

@ -4,8 +4,8 @@
// Emu 0.7.0
#include <climits>
#include "cart.hpp"
#include "cpu.hpp"
#include "../cart.hpp"
#include "../cpu.hpp"
namespace quickerNES
{

View File

@ -4,7 +4,7 @@
// Emu 0.7.0. http://www.slack.net/~ant/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
/* Copyright (C) 2004-2006 Shay Green. This module is free software; you
can redistribute it and/or modify it under the terms of the GNU Lesser

View File

@ -2,7 +2,7 @@
// Emu 0.7.0. http://www.slack.net/~ant/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
#include <cstring>
/* Copyright (C) 2004-2006 Shay Green. This module is free software; you

View File

@ -4,7 +4,7 @@
// Emu 0.7.0. http://www.slack.net/~ant/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
/* Copyright (C) 2004-2006 Shay Green. This module is free software; you
can redistribute it and/or modify it under the terms of the GNU Lesser

View File

@ -4,7 +4,7 @@
// Emu 0.7.0. http://www.slack.net/~ant/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
/* Copyright (C) 2004-2006 Shay Green. This module is free software; you
can redistribute it and/or modify it under the terms of the GNU Lesser

View File

@ -2,9 +2,9 @@
// Emu 0.7.0. http://www.slack.net/~ant/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
#include "core.hpp"
#include "../core.hpp"
#include <cstring>
/* Copyright (C) 2004-2006 Shay Green. This module is free software; you

View File

@ -4,8 +4,8 @@
// Emu 0.7.0. http://www.slack.net/~ant/
#include "core.hpp"
#include "mappers/mapper.hpp"
#include "../core.hpp"
#include "mapper.hpp"
#include <cstring>
/* Copyright (C) 2004-2006 Shay Green. This module is free software; you

View File

@ -4,7 +4,7 @@
// Emu 0.7.0. http://www.slack.net/~ant/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
/* Copyright (C) 2004-2006 Shay Green. This module is free software; you
can redistribute it and/or modify it under the terms of the GNU Lesser

View File

@ -1,6 +1,6 @@
#pragma once
#include "mappers/mapper.hpp"
#include "mapper.hpp"
#include <cstring>
namespace quickerNES

View File

@ -1,5 +1,5 @@
#pragma once
#include "mappers/mapper.hpp"
#include "mapper.hpp"
#include <cstring>
namespace quickerNES

View File

@ -4,7 +4,7 @@
// Emu 0.7.0. http://www.slack.net/~ant/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
/* Copyright (C) 2004-2006 Shay Green. This module is free software; you
can redistribute it and/or modify it under the terms of the GNU Lesser

View File

@ -17,7 +17,7 @@
* 100-in-1 Contra Function 16
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
namespace quickerNES
{

View File

@ -4,8 +4,8 @@
// Emu 0.7.0. http://www.slack.net/~ant/
#include "apu/namco/apu.hpp"
#include "mappers/mapper.hpp"
#include "../apu/namco/apu.hpp"
#include "mapper.hpp"
/* Copyright (C) 2004-2006 Shay Green. This module is free software; you
can redistribute it and/or modify it under the terms of the GNU Lesser

View File

@ -26,7 +26,7 @@
* VRC-2/VRC-4 Konami
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
namespace quickerNES
{

View File

@ -26,8 +26,8 @@
* VRC-2/VRC-4 Konami
*/
#include "mappers/mapper.hpp"
#include "mappers/mapper021.hpp"
#include "mapper.hpp"
#include "mapper021.hpp"
namespace quickerNES
{

View File

@ -26,7 +26,7 @@
* VRC-2/VRC-4 Konami
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
namespace quickerNES
{

View File

@ -3,8 +3,8 @@
// Konami VRC6 mapper
// Emu 0.7.0. http://www.slack.net/~ant/
#include "apu/vrc6/apu.hpp"
#include "mappers/mapper.hpp"
#include "../apu/vrc6/apu.hpp"
#include "mapper.hpp"
#include <cstring>
/* Copyright (C) 2004-2006 Shay Green. This module is free software; you

View File

@ -26,7 +26,7 @@
* VRC-2/VRC-4 Konami
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
namespace quickerNES
{

View File

@ -4,7 +4,7 @@
// Emu 0.7.0. http://www.slack.net/~ant/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
namespace quickerNES
{

View File

@ -27,7 +27,7 @@
* Tested only on Troll Burner and Mystic Origins demo.
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
// Unrom512

View File

@ -23,7 +23,7 @@
*
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
namespace quickerNES
{

View File

@ -23,7 +23,7 @@
*
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
namespace quickerNES
{

View File

@ -4,7 +4,7 @@
// Emu 0.7.0. http://www.slack.net/~ant/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
/* Copyright (C) 2004-2006 Shay Green. This module is free software; you
can redistribute it and/or modify it under the terms of the GNU Lesser

View File

@ -17,7 +17,7 @@
* 4-in-1 Multicart ( Reset-based )
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
// NROM-128 4-in-1 multicart

View File

@ -4,7 +4,7 @@
// Emu 0.7.0. http://www.slack.net/~ant/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
/* Copyright (C) 2004-2006 Shay Green. This module is free software; you
can redistribute it and/or modify it under the terms of the GNU Lesser

View File

@ -4,8 +4,8 @@
// Emu 0.7.0. http://www.slack.net/~ant/libs/
#include "apu/fme7/apu.hpp"
#include "mappers/mapper.hpp"
#include "../apu/fme7/apu.hpp"
#include "mapper.hpp"
/* Copyright (C) 2005 Chris Moeller */
/* Copyright (C) 2005-2006 Shay Green. This module is free software; you

View File

@ -23,7 +23,7 @@
*
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
// Mapper_74x161x162x32

View File

@ -4,7 +4,7 @@
// Emu 0.7.0. http://www.slack.net/~ant/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
/* Copyright (C) 2004-2006 Shay Green. This module is free software; you
can redistribute it and/or modify it under the terms of the GNU Lesser

View File

@ -23,7 +23,7 @@
* VRC-3 Konami, Salamander
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
namespace quickerNES
{

View File

@ -17,7 +17,7 @@
* VRC-1 Konami
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
namespace quickerNES
{

View File

@ -1,6 +1,6 @@
#pragma once
#include "mappers/mapper.hpp"
#include "mapper.hpp"
// Holy Diver and Uchuusen - Cosmo Carrier.

View File

@ -25,7 +25,7 @@
* Nina-03 / Nina-06
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
namespace quickerNES
{

View File

@ -2,8 +2,8 @@
// Emu 0.5.4. http://www.slack.net/~ant/
#include "apu/vrc7/apu.hpp"
#include "mappers/mapper.hpp"
#include "../apu/vrc7/apu.hpp"
#include "mapper.hpp"
#include <cstring>
/* Copyright (C) 2004-2005 Shay Green. This module is free software; you

View File

@ -3,7 +3,7 @@
// Optional less-common simple mappers
// Emu 0.7.0. http://www.slack.net/~ant/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
/* Copyright (C) 2004-2006 Shay Green. This module is free software; you
can redistribute it and/or modify it under the terms of the GNU Lesser

View File

@ -25,7 +25,7 @@
* Mapper 206
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
namespace quickerNES
{

View File

@ -22,7 +22,7 @@
* Mapper 93 - Sunsoft-2
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
// Sunsoft2b

View File

@ -22,7 +22,7 @@
* Mapper 93 - Sunsoft-2
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
// Sunsoft2a

View File

@ -24,7 +24,7 @@
*
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
// Un1rom

View File

@ -23,7 +23,7 @@
*
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
// Irem_Tam_S1

View File

@ -24,7 +24,7 @@
*
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
// Jaleco_JF11

View File

@ -1,6 +1,6 @@
#pragma once
#include "mappers/mapper.hpp"
#include "mapper.hpp"
// DIS23C01 DAOU ROM CONTROLLER

View File

@ -23,7 +23,7 @@
*
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
// UxROM (inverted)

View File

@ -22,7 +22,7 @@
* Mapper 184 - Sunsoft-1
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
// Sunsoft1

View File

@ -1,6 +1,6 @@
#pragma once
#include "mappers/mapper.hpp"
#include "mapper.hpp"
// Magic Kid Googoo

View File

@ -25,7 +25,7 @@
*
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
// NTDEC's TC-112 mapper IC.

View File

@ -25,7 +25,7 @@
* Mapper 206
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
namespace quickerNES
{

View File

@ -23,7 +23,7 @@
*
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
namespace quickerNES
{

View File

@ -5,7 +5,7 @@
// Emu 0.7.0. http://www.slack.net/~ant/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
/* Copyright (C) 2004-2006 Shay Green. This module is free software; you
can redistribute it and/or modify it under the terms of the GNU Lesser

View File

@ -21,7 +21,7 @@
*
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
// https://www.nesdev.org/wiki/INES_Mapper240

View File

@ -21,7 +21,7 @@
*
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
// https://www.nesdev.org/wiki/INES_Mapper241

View File

@ -23,7 +23,7 @@
*
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
// https://www.nesdev.org/wiki/INES_Mapper244

View File

@ -23,7 +23,7 @@
*
*/
#include "mappers/mapper.hpp"
#include "mapper.hpp"
// https://www.nesdev.org/wiki/INES_Mapper246

View File

@ -5,7 +5,7 @@
#include <cstring>
#include "ppu.hpp"
#include "core.hpp"
#include "../core.hpp"
namespace quickerNES
{

View File

@ -32,6 +32,6 @@ quickerNESSrc = quickerNESAPUSrc + quickerNESPPUSrc + [
quickerNESDependency = declare_dependency(
compile_args : [ '-D_PAGE_SIZE="' + pageSize.to_string() + '"'],
include_directories : include_directories(['.', 'core']),
include_directories : include_directories(['.']),
sources : [ quickerNESSrc ]
)

View File

@ -115,6 +115,7 @@ int main(int argc, char *argv[])
if (loadStringFromFile(stateFileData, initialStateFilePath) == false) EXIT_WITH_ERROR("Could not initial state file: %s\n", initialStateFilePath.c_str());
e.deserializeState((uint8_t*)stateFileData.data());
}
// Disabling requested blocks from state serialization
for (const auto& block : stateDisabledBlocks) e.disableStateBlock(block);