mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-29 00:55:41 +00:00
Misc: Slim down some header includes
This commit is contained in:
parent
143acca03b
commit
a2f98541b3
|
@ -30721,6 +30721,9 @@ SLES-02495:
|
||||||
linkCable: false
|
linkCable: false
|
||||||
SCPS-10003:
|
SCPS-10003:
|
||||||
name: "Crime Crackers (Japan)"
|
name: "Crime Crackers (Japan)"
|
||||||
|
compatibility:
|
||||||
|
rating: NoIssues
|
||||||
|
versionTested: "0.1-7272-g143acca03"
|
||||||
controllers:
|
controllers:
|
||||||
- DigitalController
|
- DigitalController
|
||||||
settings:
|
settings:
|
||||||
|
@ -31038,10 +31041,16 @@ SLUS-00530:
|
||||||
linkCable: false
|
linkCable: false
|
||||||
SLED-02119:
|
SLED-02119:
|
||||||
name: "Croc 2 (Europe) (Demo)"
|
name: "Croc 2 (Europe) (Demo)"
|
||||||
|
compatibility:
|
||||||
|
rating: NoIssues
|
||||||
|
versionTested: "0.1-7272-g143acca03"
|
||||||
traits:
|
traits:
|
||||||
- ForcePGXPCPUMode
|
- ForcePGXPCPUMode
|
||||||
SLES-02088:
|
SLES-02088:
|
||||||
name: "Croc 2 (Europe) (En,Fr,De,Es,It,Nl,Sv)"
|
name: "Croc 2 (Europe) (En,Fr,De,Es,It,Nl,Sv)"
|
||||||
|
compatibility:
|
||||||
|
rating: NoIssues
|
||||||
|
versionTested: "0.1-7272-g143acca03"
|
||||||
controllers:
|
controllers:
|
||||||
- AnalogController
|
- AnalogController
|
||||||
- DigitalController
|
- DigitalController
|
||||||
|
@ -56420,6 +56429,9 @@ SCES-00867:
|
||||||
- SCES-00867
|
- SCES-00867
|
||||||
- SCES-10867
|
- SCES-10867
|
||||||
- SCES-20867
|
- SCES-20867
|
||||||
|
compatibility:
|
||||||
|
rating: NoIssues
|
||||||
|
versionTested: "0.1-7272-g143acca03"
|
||||||
controllers:
|
controllers:
|
||||||
- DigitalController
|
- DigitalController
|
||||||
traits:
|
traits:
|
||||||
|
@ -56449,6 +56461,9 @@ SCES-10867:
|
||||||
- SCES-00867
|
- SCES-00867
|
||||||
- SCES-10867
|
- SCES-10867
|
||||||
- SCES-20867
|
- SCES-20867
|
||||||
|
compatibility:
|
||||||
|
rating: NoIssues
|
||||||
|
versionTested: "0.1-7272-g143acca03"
|
||||||
controllers:
|
controllers:
|
||||||
- DigitalController
|
- DigitalController
|
||||||
traits:
|
traits:
|
||||||
|
@ -56478,6 +56493,9 @@ SCES-20867:
|
||||||
- SCES-00867
|
- SCES-00867
|
||||||
- SCES-10867
|
- SCES-10867
|
||||||
- SCES-20867
|
- SCES-20867
|
||||||
|
compatibility:
|
||||||
|
rating: NoIssues
|
||||||
|
versionTested: "0.1-7272-g143acca03"
|
||||||
controllers:
|
controllers:
|
||||||
- DigitalController
|
- DigitalController
|
||||||
traits:
|
traits:
|
||||||
|
@ -56507,6 +56525,9 @@ SCES-00868:
|
||||||
- SCES-00868
|
- SCES-00868
|
||||||
- SCES-10868
|
- SCES-10868
|
||||||
- SCES-20868
|
- SCES-20868
|
||||||
|
compatibility:
|
||||||
|
rating: NoIssues
|
||||||
|
versionTested: "0.1-7272-g143acca03"
|
||||||
controllers:
|
controllers:
|
||||||
- DigitalController
|
- DigitalController
|
||||||
traits:
|
traits:
|
||||||
|
@ -56536,6 +56557,9 @@ SCES-10868:
|
||||||
- SCES-00868
|
- SCES-00868
|
||||||
- SCES-10868
|
- SCES-10868
|
||||||
- SCES-20868
|
- SCES-20868
|
||||||
|
compatibility:
|
||||||
|
rating: NoIssues
|
||||||
|
versionTested: "0.1-7272-g143acca03"
|
||||||
controllers:
|
controllers:
|
||||||
- DigitalController
|
- DigitalController
|
||||||
traits:
|
traits:
|
||||||
|
@ -56565,6 +56589,9 @@ SCES-20868:
|
||||||
- SCES-00868
|
- SCES-00868
|
||||||
- SCES-10868
|
- SCES-10868
|
||||||
- SCES-20868
|
- SCES-20868
|
||||||
|
compatibility:
|
||||||
|
rating: NoIssues
|
||||||
|
versionTested: "0.1-7272-g143acca03"
|
||||||
controllers:
|
controllers:
|
||||||
- DigitalController
|
- DigitalController
|
||||||
traits:
|
traits:
|
||||||
|
@ -56594,6 +56621,9 @@ SCES-00869:
|
||||||
- SCES-00869
|
- SCES-00869
|
||||||
- SCES-10869
|
- SCES-10869
|
||||||
- SCES-20869
|
- SCES-20869
|
||||||
|
compatibility:
|
||||||
|
rating: NoIssues
|
||||||
|
versionTested: "0.1-7272-g143acca03"
|
||||||
controllers:
|
controllers:
|
||||||
- DigitalController
|
- DigitalController
|
||||||
traits:
|
traits:
|
||||||
|
@ -56623,6 +56653,9 @@ SCES-10869:
|
||||||
- SCES-00869
|
- SCES-00869
|
||||||
- SCES-10869
|
- SCES-10869
|
||||||
- SCES-20869
|
- SCES-20869
|
||||||
|
compatibility:
|
||||||
|
rating: NoIssues
|
||||||
|
versionTested: "0.1-7272-g143acca03"
|
||||||
controllers:
|
controllers:
|
||||||
- DigitalController
|
- DigitalController
|
||||||
traits:
|
traits:
|
||||||
|
@ -56652,6 +56685,9 @@ SCES-20869:
|
||||||
- SCES-00869
|
- SCES-00869
|
||||||
- SCES-10869
|
- SCES-10869
|
||||||
- SCES-20869
|
- SCES-20869
|
||||||
|
compatibility:
|
||||||
|
rating: NoIssues
|
||||||
|
versionTested: "0.1-7272-g143acca03"
|
||||||
controllers:
|
controllers:
|
||||||
- DigitalController
|
- DigitalController
|
||||||
traits:
|
traits:
|
||||||
|
@ -56711,6 +56747,9 @@ SLPS-00701:
|
||||||
- SLPS-00700
|
- SLPS-00700
|
||||||
- SLPS-00701
|
- SLPS-00701
|
||||||
- SLPS-00702
|
- SLPS-00702
|
||||||
|
compatibility:
|
||||||
|
rating: NoIssues
|
||||||
|
versionTested: "0.1-841-g777809b"
|
||||||
controllers:
|
controllers:
|
||||||
- DigitalController
|
- DigitalController
|
||||||
traits:
|
traits:
|
||||||
|
@ -56738,6 +56777,9 @@ SLPS-00702:
|
||||||
- SLPS-00700
|
- SLPS-00700
|
||||||
- SLPS-00701
|
- SLPS-00701
|
||||||
- SLPS-00702
|
- SLPS-00702
|
||||||
|
compatibility:
|
||||||
|
rating: NoIssues
|
||||||
|
versionTested: "0.1-841-g777809b"
|
||||||
controllers:
|
controllers:
|
||||||
- DigitalController
|
- DigitalController
|
||||||
traits:
|
traits:
|
||||||
|
@ -58208,9 +58250,8 @@ SCES-03884:
|
||||||
SLPS-00148:
|
SLPS-00148:
|
||||||
name: "Firemen 2, The - Pete & Danny (Japan)"
|
name: "Firemen 2, The - Pete & Danny (Japan)"
|
||||||
compatibility:
|
compatibility:
|
||||||
rating: GraphicalAudioIssues
|
rating: NoIssues
|
||||||
versionTested: "0.1-4693-gbbcf1c67"
|
versionTested: "0.1-7272-g143acca03"
|
||||||
comments: "Dialogue in certain cutscenes ends too early or is missing entirely (Issue #575)"
|
|
||||||
controllers:
|
controllers:
|
||||||
- DigitalController
|
- DigitalController
|
||||||
codes:
|
codes:
|
||||||
|
@ -71234,8 +71275,8 @@ SLUS-00830:
|
||||||
SLUS-01244:
|
SLUS-01244:
|
||||||
name: "High Heat Major League Baseball 2002 (USA)"
|
name: "High Heat Major League Baseball 2002 (USA)"
|
||||||
compatibility:
|
compatibility:
|
||||||
rating: GraphicalAudioIssues
|
rating: NoIssues
|
||||||
versionTested: "0.1-4693-gbbcf1c67"
|
versionTested: "0.1-7272-g143acca03"
|
||||||
controllers:
|
controllers:
|
||||||
- AnalogController
|
- AnalogController
|
||||||
- DigitalController
|
- DigitalController
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
#include "common/scoped_guard.h"
|
#include "common/scoped_guard.h"
|
||||||
#include "common/small_string.h"
|
#include "common/small_string.h"
|
||||||
#include "common/string_util.h"
|
#include "common/string_util.h"
|
||||||
|
#include "common/timer.h"
|
||||||
|
|
||||||
#include "util/cd_image.h"
|
#include "util/cd_image.h"
|
||||||
#include "util/http_downloader.h"
|
#include "util/http_downloader.h"
|
||||||
|
@ -39,7 +40,6 @@
|
||||||
#include "fmt/format.h"
|
#include "fmt/format.h"
|
||||||
#include "imgui.h"
|
#include "imgui.h"
|
||||||
#include "imgui_internal.h"
|
#include "imgui_internal.h"
|
||||||
#include "imgui_stdlib.h"
|
|
||||||
#include "rc_client.h"
|
#include "rc_client.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com> and contributors.
|
// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com> and contributors.
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "controller.h"
|
#include "controller.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <string_view>
|
|
||||||
|
|
||||||
class AnalogController final : public Controller
|
class AnalogController final : public Controller
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,8 +15,6 @@
|
||||||
#include "IconsFontAwesome5.h"
|
#include "IconsFontAwesome5.h"
|
||||||
#include "IconsPromptFont.h"
|
#include "IconsPromptFont.h"
|
||||||
|
|
||||||
#include <cmath>
|
|
||||||
|
|
||||||
Log_SetChannel(AnalogJoystick);
|
Log_SetChannel(AnalogJoystick);
|
||||||
|
|
||||||
AnalogJoystick::AnalogJoystick(u32 index) : Controller(index)
|
AnalogJoystick::AnalogJoystick(u32 index) : Controller(index)
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com> and contributors.
|
// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com> and contributors.
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "controller.h"
|
#include "controller.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <string_view>
|
|
||||||
|
|
||||||
class AnalogJoystick final : public Controller
|
class AnalogJoystick final : public Controller
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,8 +13,6 @@
|
||||||
#include "common/md5_digest.h"
|
#include "common/md5_digest.h"
|
||||||
#include "common/path.h"
|
#include "common/path.h"
|
||||||
|
|
||||||
#include <cerrno>
|
|
||||||
|
|
||||||
Log_SetChannel(BIOS);
|
Log_SetChannel(BIOS);
|
||||||
|
|
||||||
namespace BIOS {
|
namespace BIOS {
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "spu.h"
|
#include "spu.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "timing_event.h"
|
||||||
|
|
||||||
#include "util/cd_image.h"
|
#include "util/cd_image.h"
|
||||||
#include "util/imgui_manager.h"
|
#include "util/imgui_manager.h"
|
||||||
|
|
|
@ -4,12 +4,10 @@
|
||||||
#include "cheats.h"
|
#include "cheats.h"
|
||||||
#include "bus.h"
|
#include "bus.h"
|
||||||
#include "controller.h"
|
#include "controller.h"
|
||||||
#include "cpu_code_cache.h"
|
|
||||||
#include "cpu_core.h"
|
#include "cpu_core.h"
|
||||||
#include "host.h"
|
#include "host.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
|
||||||
#include "common/assert.h"
|
|
||||||
#include "common/file_system.h"
|
#include "common/file_system.h"
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
#include "common/small_string.h"
|
#include "common/small_string.h"
|
||||||
|
@ -19,7 +17,9 @@
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
Log_SetChannel(Cheats);
|
Log_SetChannel(Cheats);
|
||||||
|
|
||||||
static std::array<u32, 256> cht_register; // Used for D7 ,51 & 52 cheat types
|
static std::array<u32, 256> cht_register; // Used for D7 ,51 & 52 cheat types
|
||||||
|
|
||||||
using KeyValuePairVector = std::vector<std::pair<std::string, std::string>>;
|
using KeyValuePairVector = std::vector<std::pair<std::string, std::string>>;
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com> and contributors.
|
// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com> and contributors.
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "common/bitfield.h"
|
#include "common/bitfield.h"
|
||||||
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include "timing_event.h"
|
#include "timing_event.h"
|
||||||
|
|
||||||
|
#include "util/page_fault_handler.h"
|
||||||
|
|
||||||
#include "common/assert.h"
|
#include "common/assert.h"
|
||||||
#include "common/error.h"
|
#include "common/error.h"
|
||||||
#include "common/intrin.h"
|
#include "common/intrin.h"
|
||||||
|
|
|
@ -10,13 +10,8 @@
|
||||||
#include "cpu_core_private.h"
|
#include "cpu_core_private.h"
|
||||||
#include "cpu_types.h"
|
#include "cpu_types.h"
|
||||||
|
|
||||||
#include "util/page_fault_handler.h"
|
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <map>
|
|
||||||
#include <memory>
|
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
namespace CPU::CodeCache {
|
namespace CPU::CodeCache {
|
||||||
|
|
||||||
|
|
|
@ -2,10 +2,6 @@
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <array>
|
|
||||||
#include <initializer_list>
|
|
||||||
#include <utility>
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
#include "cpu_code_cache_private.h"
|
#include "cpu_code_cache_private.h"
|
||||||
#include "cpu_recompiler_register_cache.h"
|
#include "cpu_recompiler_register_cache.h"
|
||||||
|
@ -13,6 +9,9 @@
|
||||||
#include "cpu_recompiler_types.h"
|
#include "cpu_recompiler_types.h"
|
||||||
#include "cpu_types.h"
|
#include "cpu_types.h"
|
||||||
|
|
||||||
|
#include <array>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
namespace CPU::Recompiler {
|
namespace CPU::Recompiler {
|
||||||
|
|
||||||
enum class Condition : u8
|
enum class Condition : u8
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com> and contributors.
|
// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com> and contributors.
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "controller.h"
|
#include "controller.h"
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <optional>
|
|
||||||
#include <string_view>
|
|
||||||
|
|
||||||
class DigitalController final : public Controller
|
class DigitalController final : public Controller
|
||||||
{
|
{
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
#include "dma.h"
|
#include "dma.h"
|
||||||
#include "bus.h"
|
#include "bus.h"
|
||||||
#include "cdrom.h"
|
#include "cdrom.h"
|
||||||
#include "cpu_code_cache.h"
|
|
||||||
#include "cpu_core.h"
|
#include "cpu_core.h"
|
||||||
#include "gpu.h"
|
#include "gpu.h"
|
||||||
#include "host.h"
|
#include "host.h"
|
||||||
|
|
|
@ -8,12 +8,9 @@
|
||||||
#include "bios.h"
|
#include "bios.h"
|
||||||
#include "cheats.h"
|
#include "cheats.h"
|
||||||
#include "controller.h"
|
#include "controller.h"
|
||||||
#include "core/memory_card_image.h"
|
|
||||||
#include "cpu_core.h"
|
|
||||||
#include "game_list.h"
|
#include "game_list.h"
|
||||||
#include "gpu.h"
|
#include "gpu.h"
|
||||||
#include "host.h"
|
#include "host.h"
|
||||||
#include "resources.h"
|
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
|
||||||
|
@ -33,15 +30,13 @@
|
||||||
#include "common/path.h"
|
#include "common/path.h"
|
||||||
#include "common/small_string.h"
|
#include "common/small_string.h"
|
||||||
#include "common/string_util.h"
|
#include "common/string_util.h"
|
||||||
#include "common/threading.h"
|
#include "common/timer.h"
|
||||||
|
|
||||||
#include "IconsFontAwesome5.h"
|
#include "IconsFontAwesome5.h"
|
||||||
#include "IconsPromptFont.h"
|
#include "IconsPromptFont.h"
|
||||||
#include "fmt/chrono.h"
|
#include "fmt/chrono.h"
|
||||||
#include "fmt/format.h"
|
|
||||||
#include "imgui.h"
|
#include "imgui.h"
|
||||||
#include "imgui_internal.h"
|
#include "imgui_internal.h"
|
||||||
#include "imgui_stdlib.h"
|
|
||||||
|
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <bitset>
|
#include <bitset>
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// SPDX-FileCopyrightText: 2019-2023 Connor McLaughlin <stenzek@gmail.com>
|
// SPDX-FileCopyrightText: 2019-2023 Connor McLaughlin <stenzek@gmail.com>
|
||||||
// SPDX-FileCopyrightText: 2019-2023 Connor McLaughlin <stenzek@gmail.com>
|
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
#include "util/image.h"
|
#include "util/image.h"
|
||||||
#include "util/ini_settings_interface.h"
|
#include "util/ini_settings_interface.h"
|
||||||
|
|
||||||
#include "common/assert.h"
|
|
||||||
#include "common/binary_reader_writer.h"
|
#include "common/binary_reader_writer.h"
|
||||||
#include "common/error.h"
|
#include "common/error.h"
|
||||||
#include "common/file_system.h"
|
#include "common/file_system.h"
|
||||||
|
@ -24,10 +23,10 @@
|
||||||
#include "common/path.h"
|
#include "common/path.h"
|
||||||
#include "common/progress_callback.h"
|
#include "common/progress_callback.h"
|
||||||
#include "common/string_util.h"
|
#include "common/string_util.h"
|
||||||
|
#include "common/timer.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <cctype>
|
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
#include <string_view>
|
#include <string_view>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
#include "common/error.h"
|
#include "common/error.h"
|
||||||
#include "common/file_system.h"
|
#include "common/file_system.h"
|
||||||
#include "common/gsvector_formatter.h"
|
#include "common/gsvector_formatter.h"
|
||||||
#include "common/heap_array.h"
|
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
#include "common/path.h"
|
#include "common/path.h"
|
||||||
#include "common/small_string.h"
|
#include "common/small_string.h"
|
||||||
|
|
|
@ -2,14 +2,16 @@
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "gpu_types.h"
|
||||||
|
|
||||||
#include "common/heap_array.h"
|
#include "common/heap_array.h"
|
||||||
#include "common/threading.h"
|
#include "common/threading.h"
|
||||||
#include "gpu_types.h"
|
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <condition_variable>
|
#include <condition_variable>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <thread>
|
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma warning(push)
|
#pragma warning(push)
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
|
// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com>
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#include "common/assert.h"
|
|
||||||
#include "common/log.h"
|
|
||||||
#include "common/string_util.h"
|
|
||||||
#include "gpu.h"
|
#include "gpu.h"
|
||||||
#include "interrupt_controller.h"
|
#include "interrupt_controller.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include "texture_replacements.h"
|
#include "texture_replacements.h"
|
||||||
|
|
||||||
|
#include "common/assert.h"
|
||||||
|
#include "common/log.h"
|
||||||
|
#include "common/string_util.h"
|
||||||
|
|
||||||
Log_SetChannel(GPU);
|
Log_SetChannel(GPU);
|
||||||
|
|
||||||
#define CHECK_COMMAND_SIZE(num_words) \
|
#define CHECK_COMMAND_SIZE(num_words) \
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
#include "common/scoped_guard.h"
|
#include "common/scoped_guard.h"
|
||||||
#include "common/string_util.h"
|
#include "common/string_util.h"
|
||||||
|
#include "common/timer.h"
|
||||||
|
|
||||||
#include "IconsFontAwesome5.h"
|
#include "IconsFontAwesome5.h"
|
||||||
#include "imgui.h"
|
#include "imgui.h"
|
||||||
|
|
|
@ -10,12 +10,10 @@
|
||||||
|
|
||||||
#include "common/dimensional_array.h"
|
#include "common/dimensional_array.h"
|
||||||
#include "common/gsvector.h"
|
#include "common/gsvector.h"
|
||||||
#include "common/heap_array.h"
|
|
||||||
|
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
class Error;
|
class Error;
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#include "gpu_hw_shadergen.h"
|
#include "gpu_hw_shadergen.h"
|
||||||
|
|
||||||
#include "common/assert.h"
|
#include "common/assert.h"
|
||||||
#include <cstdio>
|
|
||||||
|
|
||||||
GPU_HW_ShaderGen::GPU_HW_ShaderGen(RenderAPI render_api, u32 resolution_scale, u32 multisamples,
|
GPU_HW_ShaderGen::GPU_HW_ShaderGen(RenderAPI render_api, u32 resolution_scale, u32 multisamples,
|
||||||
bool per_sample_shading, bool true_color, bool scaled_dithering,
|
bool per_sample_shading, bool true_color, bool scaled_dithering,
|
||||||
|
|
|
@ -2,7 +2,9 @@
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "gpu_hw.h"
|
#include "gpu_hw.h"
|
||||||
|
|
||||||
#include "util/shadergen.h"
|
#include "util/shadergen.h"
|
||||||
|
|
||||||
class GPU_HW_ShaderGen : public ShaderGen
|
class GPU_HW_ShaderGen : public ShaderGen
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
|
// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com>
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "gpu.h"
|
#include "gpu.h"
|
||||||
#include "gpu_sw_backend.h"
|
#include "gpu_sw_backend.h"
|
||||||
|
|
||||||
|
@ -9,9 +10,7 @@
|
||||||
|
|
||||||
#include "common/heap_array.h"
|
#include "common/heap_array.h"
|
||||||
|
|
||||||
#include <array>
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
namespace Threading {
|
namespace Threading {
|
||||||
class Thread;
|
class Thread;
|
||||||
|
|
|
@ -7,8 +7,6 @@
|
||||||
#include "gpu_backend.h"
|
#include "gpu_backend.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <memory>
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
class GPU_SW_Backend final : public GPUBackend
|
class GPU_SW_Backend final : public GPUBackend
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,10 +2,13 @@
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "types.h"
|
||||||
|
|
||||||
#include "common/bitfield.h"
|
#include "common/bitfield.h"
|
||||||
#include "common/bitutils.h"
|
#include "common/bitutils.h"
|
||||||
#include "common/gsvector.h"
|
#include "common/gsvector.h"
|
||||||
#include "types.h"
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
enum : u32
|
enum : u32
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
#include "cpu_core_private.h"
|
#include "cpu_core_private.h"
|
||||||
#include "cpu_pgxp.h"
|
#include "cpu_pgxp.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "timing_event.h"
|
|
||||||
|
|
||||||
#include "util/gpu_device.h"
|
#include "util/gpu_device.h"
|
||||||
#include "util/state_wrapper.h"
|
#include "util/state_wrapper.h"
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
|
// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com>
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "controller.h"
|
#include "controller.h"
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <optional>
|
|
||||||
#include <string_view>
|
|
||||||
|
|
||||||
class GunCon final : public Controller
|
class GunCon final : public Controller
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,11 +8,8 @@
|
||||||
#include "common/small_string.h"
|
#include "common/small_string.h"
|
||||||
#include "common/types.h"
|
#include "common/types.h"
|
||||||
|
|
||||||
#include <ctime>
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <memory>
|
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <optional>
|
|
||||||
#include <span>
|
#include <span>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <string_view>
|
#include <string_view>
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
#include "common/error.h"
|
#include "common/error.h"
|
||||||
#include "common/file_system.h"
|
#include "common/file_system.h"
|
||||||
|
#include "common/timer.h"
|
||||||
|
|
||||||
#include "IconsFontAwesome5.h"
|
#include "IconsFontAwesome5.h"
|
||||||
|
|
||||||
|
|
|
@ -12,12 +12,10 @@
|
||||||
#include "gpu.h"
|
#include "gpu.h"
|
||||||
#include "host.h"
|
#include "host.h"
|
||||||
#include "mdec.h"
|
#include "mdec.h"
|
||||||
#include "resources.h"
|
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "spu.h"
|
#include "spu.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
|
||||||
#include "util/audio_stream.h"
|
|
||||||
#include "util/gpu_device.h"
|
#include "util/gpu_device.h"
|
||||||
#include "util/imgui_animated.h"
|
#include "util/imgui_animated.h"
|
||||||
#include "util/imgui_fullscreen.h"
|
#include "util/imgui_fullscreen.h"
|
||||||
|
@ -25,8 +23,6 @@
|
||||||
#include "util/input_manager.h"
|
#include "util/input_manager.h"
|
||||||
|
|
||||||
#include "common/align.h"
|
#include "common/align.h"
|
||||||
#include "common/assert.h"
|
|
||||||
#include "common/easing.h"
|
|
||||||
#include "common/error.h"
|
#include "common/error.h"
|
||||||
#include "common/file_system.h"
|
#include "common/file_system.h"
|
||||||
#include "common/gsvector.h"
|
#include "common/gsvector.h"
|
||||||
|
@ -38,7 +34,6 @@
|
||||||
|
|
||||||
#include "IconsFontAwesome5.h"
|
#include "IconsFontAwesome5.h"
|
||||||
#include "fmt/chrono.h"
|
#include "fmt/chrono.h"
|
||||||
#include "fmt/format.h"
|
|
||||||
#include "imgui.h"
|
#include "imgui.h"
|
||||||
#include "imgui_internal.h"
|
#include "imgui_internal.h"
|
||||||
|
|
||||||
|
@ -48,7 +43,6 @@
|
||||||
#include <deque>
|
#include <deque>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <span>
|
#include <span>
|
||||||
#include <unordered_map>
|
|
||||||
|
|
||||||
Log_SetChannel(ImGuiManager);
|
Log_SetChannel(ImGuiManager);
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
#include "gpu.h"
|
#include "gpu.h"
|
||||||
#include "host.h"
|
#include "host.h"
|
||||||
#include "interrupt_controller.h"
|
#include "interrupt_controller.h"
|
||||||
#include "resources.h"
|
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
|
||||||
#include "util/imgui_manager.h"
|
#include "util/imgui_manager.h"
|
||||||
|
|
|
@ -7,8 +7,6 @@
|
||||||
#include "timing_event.h"
|
#include "timing_event.h"
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <optional>
|
|
||||||
#include <string_view>
|
|
||||||
|
|
||||||
class TimingEvent;
|
class TimingEvent;
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
|
// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com>
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#include "mdec.h"
|
#include "mdec.h"
|
||||||
#include "cpu_core.h"
|
#include "cpu_core.h"
|
||||||
#include "dma.h"
|
#include "dma.h"
|
||||||
#include "host.h"
|
#include "host.h"
|
||||||
#include "interrupt_controller.h"
|
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "timing_event.h"
|
||||||
|
|
||||||
#include "util/imgui_manager.h"
|
#include "util/imgui_manager.h"
|
||||||
#include "util/state_wrapper.h"
|
#include "util/state_wrapper.h"
|
||||||
|
|
|
@ -17,8 +17,6 @@
|
||||||
|
|
||||||
#include "IconsFontAwesome5.h"
|
#include "IconsFontAwesome5.h"
|
||||||
|
|
||||||
#include <cstdio>
|
|
||||||
|
|
||||||
Log_SetChannel(MemoryCard);
|
Log_SetChannel(MemoryCard);
|
||||||
|
|
||||||
MemoryCard::MemoryCard()
|
MemoryCard::MemoryCard()
|
||||||
|
|
|
@ -1,13 +1,16 @@
|
||||||
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com> and contributors.
|
// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com> and contributors.
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#include "multitap.h"
|
#include "multitap.h"
|
||||||
#include "common/log.h"
|
|
||||||
#include "common/types.h"
|
|
||||||
#include "controller.h"
|
#include "controller.h"
|
||||||
#include "memory_card.h"
|
#include "memory_card.h"
|
||||||
#include "pad.h"
|
#include "pad.h"
|
||||||
|
|
||||||
#include "util/state_wrapper.h"
|
#include "util/state_wrapper.h"
|
||||||
|
|
||||||
|
#include "common/log.h"
|
||||||
|
#include "common/types.h"
|
||||||
|
|
||||||
Log_SetChannel(Multitap);
|
Log_SetChannel(Multitap);
|
||||||
|
|
||||||
Multitap::Multitap()
|
Multitap::Multitap()
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com> and contributors.
|
// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com> and contributors.
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "common/types.h"
|
|
||||||
#include "controller.h"
|
#include "controller.h"
|
||||||
#include "memory_card.h"
|
|
||||||
#include "util/state_wrapper.h"
|
#include "common/types.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
class Multitap final
|
class Multitap final
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com> and contributors.
|
// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com> and contributors.
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "controller.h"
|
#include "controller.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <string_view>
|
|
||||||
|
|
||||||
class NeGcon final : public Controller
|
class NeGcon final : public Controller
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com> and contributors.
|
// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com> and contributors.
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "controller.h"
|
#include "controller.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <string_view>
|
|
||||||
|
|
||||||
class NeGconRumble final : public Controller
|
class NeGconRumble final : public Controller
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,7 +2,9 @@
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
class StateWrapper;
|
class StateWrapper;
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
// SPDX-FileCopyrightText: 2023 Connor McLaughlin <stenzek@gmail.com>
|
// SPDX-FileCopyrightText: 2023-2024 Connor McLaughlin <stenzek@gmail.com>
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#include "pcdrv.h"
|
#include "pcdrv.h"
|
||||||
|
#include "cpu_core.h"
|
||||||
|
#include "settings.h"
|
||||||
|
|
||||||
#include "common/file_system.h"
|
#include "common/file_system.h"
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
#include "common/path.h"
|
#include "common/path.h"
|
||||||
#include "common/string_util.h"
|
#include "common/string_util.h"
|
||||||
#include "cpu_core.h"
|
|
||||||
#include "settings.h"
|
|
||||||
Log_SetChannel(PCDrv);
|
Log_SetChannel(PCDrv);
|
||||||
|
|
||||||
static constexpr u32 MAX_FILES = 100;
|
static constexpr u32 MAX_FILES = 100;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
// SPDX-FileCopyrightText: 2023 Connor McLaughlin <stenzek@gmail.com>
|
// SPDX-FileCopyrightText: 2023-2024 Connor McLaughlin <stenzek@gmail.com>
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "cpu_types.h"
|
#include "cpu_types.h"
|
||||||
#include "types.h"
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
// HLE Implementation of PCDrv
|
// HLE Implementation of PCDrv
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
|
|
||||||
#include "scmversion/scmversion.h"
|
#include "scmversion/scmversion.h"
|
||||||
|
|
||||||
#include "util/platform_misc.h"
|
|
||||||
#include "util/sockets.h"
|
#include "util/sockets.h"
|
||||||
|
|
||||||
#include "common/binary_reader_writer.h"
|
#include "common/binary_reader_writer.h"
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
// SPDX-FileCopyrightText: 2019-2023 Connor McLaughlin <stenzek@gmail.com>
|
// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com>
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "controller.h"
|
#include "controller.h"
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <optional>
|
|
||||||
#include <string_view>
|
|
||||||
|
|
||||||
class PlayStationMouse final : public Controller
|
class PlayStationMouse final : public Controller
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
#include "bus.h"
|
#include "bus.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
|
||||||
#include "common/assert.h"
|
|
||||||
#include "common/error.h"
|
#include "common/error.h"
|
||||||
#include "common/file_system.h"
|
#include "common/file_system.h"
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
|
@ -14,7 +13,6 @@
|
||||||
|
|
||||||
#include "zlib.h"
|
#include "zlib.h"
|
||||||
|
|
||||||
#include <cctype>
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
Log_SetChannel(PSFLoader);
|
Log_SetChannel(PSFLoader);
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <string_view>
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
class Error;
|
class Error;
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "types.h"
|
|
||||||
|
#include "common/types.h"
|
||||||
|
|
||||||
static constexpr u32 SAVE_STATE_MAGIC = 0x43435544;
|
static constexpr u32 SAVE_STATE_MAGIC = 0x43435544;
|
||||||
static constexpr u32 SAVE_STATE_VERSION = 69;
|
static constexpr u32 SAVE_STATE_VERSION = 69;
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "common/types.h"
|
#include "common/types.h"
|
||||||
|
|
||||||
static constexpr u32 SHADER_CACHE_VERSION = 18;
|
static constexpr u32 SHADER_CACHE_VERSION = 18;
|
||||||
|
|
|
@ -1,16 +1,13 @@
|
||||||
// SPDX-FileCopyrightText: 2019-2023 Connor McLaughlin <stenzek@gmail.com>
|
// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com>
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#include "sio.h"
|
#include "sio.h"
|
||||||
#include "controller.h"
|
#include "controller.h"
|
||||||
#include "interrupt_controller.h"
|
|
||||||
#include "memory_card.h"
|
|
||||||
|
|
||||||
#include "util/state_wrapper.h"
|
#include "util/state_wrapper.h"
|
||||||
|
|
||||||
#include "common/bitfield.h"
|
#include "common/bitfield.h"
|
||||||
#include "common/bitutils.h"
|
#include "common/bitutils.h"
|
||||||
#include "common/fifo_queue.h"
|
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "types.h"
|
|
||||||
|
#include "common/types.h"
|
||||||
|
|
||||||
class StateWrapper;
|
class StateWrapper;
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
#include "imgui.h"
|
#include "imgui.h"
|
||||||
#include "interrupt_controller.h"
|
#include "interrupt_controller.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
#include "timing_event.h"
|
||||||
|
|
||||||
#include "util/audio_stream.h"
|
#include "util/audio_stream.h"
|
||||||
#include "util/imgui_manager.h"
|
#include "util/imgui_manager.h"
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
|
// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com>
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
class StateWrapper;
|
class StateWrapper;
|
||||||
|
|
|
@ -4,18 +4,13 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "timing_event.h"
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
#include "util/image.h"
|
#include "util/image.h"
|
||||||
|
|
||||||
#include "common/timer.h"
|
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <span>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <utility>
|
|
||||||
|
|
||||||
class ByteStream;
|
class ByteStream;
|
||||||
class CDImage;
|
class CDImage;
|
||||||
|
@ -32,7 +27,6 @@ struct CheatCode;
|
||||||
class CheatList;
|
class CheatList;
|
||||||
|
|
||||||
class GPUTexture;
|
class GPUTexture;
|
||||||
class GrowableMemoryByteStream;
|
|
||||||
|
|
||||||
namespace BIOS {
|
namespace BIOS {
|
||||||
struct ImageInfo;
|
struct ImageInfo;
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
class StateWrapper;
|
class StateWrapper;
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
#include "common/gsvector.h"
|
#include "common/gsvector.h"
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
#include "common/settings_interface.h"
|
#include "common/settings_interface.h"
|
||||||
#include "common/small_string.h"
|
|
||||||
#include "common/timer.h"
|
#include "common/timer.h"
|
||||||
|
|
||||||
#include "soundtouch/SoundTouch.h"
|
#include "soundtouch/SoundTouch.h"
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#include "cd_image.h"
|
#include "cd_image.h"
|
||||||
|
|
||||||
#include "common/assert.h"
|
#include "common/assert.h"
|
||||||
#include "common/bitutils.h"
|
#include "common/bitutils.h"
|
||||||
#include "common/error.h"
|
#include "common/error.h"
|
||||||
|
@ -9,7 +10,9 @@
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
#include "common/path.h"
|
#include "common/path.h"
|
||||||
#include "common/string_util.h"
|
#include "common/string_util.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
Log_SetChannel(CDImage);
|
Log_SetChannel(CDImage);
|
||||||
|
|
||||||
CDImage::CDImage() = default;
|
CDImage::CDImage() = default;
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
|
// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com>
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "common/bitfield.h"
|
#include "common/bitfield.h"
|
||||||
#include "common/bitutils.h"
|
#include "common/bitutils.h"
|
||||||
#include "common/progress_callback.h"
|
#include "common/progress_callback.h"
|
||||||
#include "common/types.h"
|
#include "common/types.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
Loading…
Reference in a new issue