diff options
author | Lioncash <mathew1800@gmail.com> | 2016-12-10 13:51:50 +0100 |
---|---|---|
committer | linkmauve <linkmauve@linkmauve.fr> | 2016-12-11 01:07:27 +0100 |
commit | 963aedd8ccc207d5b65b97bd46b930771f2bda6e (patch) | |
tree | ab238398e6f8a37e4cd105d19dcec54f82ec1bb2 /src/core/hw | |
parent | configure_input: Modernize and cleanup input configuration tab (diff) | |
download | yuzu-963aedd8ccc207d5b65b97bd46b930771f2bda6e.tar yuzu-963aedd8ccc207d5b65b97bd46b930771f2bda6e.tar.gz yuzu-963aedd8ccc207d5b65b97bd46b930771f2bda6e.tar.bz2 yuzu-963aedd8ccc207d5b65b97bd46b930771f2bda6e.tar.lz yuzu-963aedd8ccc207d5b65b97bd46b930771f2bda6e.tar.xz yuzu-963aedd8ccc207d5b65b97bd46b930771f2bda6e.tar.zst yuzu-963aedd8ccc207d5b65b97bd46b930771f2bda6e.zip |
Diffstat (limited to 'src/core/hw')
-rw-r--r-- | src/core/hw/gpu.cpp | 10 | ||||
-rw-r--r-- | src/core/hw/y2r.cpp | 2 | ||||
-rw-r--r-- | src/core/hw/y2r.h | 9 |
3 files changed, 12 insertions, 9 deletions
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp index 1503b45da..1a1ee90b2 100644 --- a/src/core/hw/gpu.cpp +++ b/src/core/hw/gpu.cpp @@ -430,9 +430,9 @@ inline void Write(u32 addr, const T data) { // TODO: hwtest this if (config.GetStartAddress() != 0) { if (!is_second_filler) { - GSP_GPU::SignalInterrupt(GSP_GPU::InterruptId::PSC0); + Service::GSP::SignalInterrupt(Service::GSP::InterruptId::PSC0); } else { - GSP_GPU::SignalInterrupt(GSP_GPU::InterruptId::PSC1); + Service::GSP::SignalInterrupt(Service::GSP::InterruptId::PSC1); } } @@ -473,7 +473,7 @@ inline void Write(u32 addr, const T data) { } g_regs.display_transfer_config.trigger = 0; - GSP_GPU::SignalInterrupt(GSP_GPU::InterruptId::PPF); + Service::GSP::SignalInterrupt(Service::GSP::InterruptId::PPF); } break; } @@ -548,8 +548,8 @@ static void VBlankCallback(u64 userdata, int cycles_late) { // screen, or if both use the same interrupts and these two instead determine the // beginning and end of the VBlank period. If needed, split the interrupt firing into // two different intervals. - GSP_GPU::SignalInterrupt(GSP_GPU::InterruptId::PDC0); - GSP_GPU::SignalInterrupt(GSP_GPU::InterruptId::PDC1); + Service::GSP::SignalInterrupt(Service::GSP::InterruptId::PDC0); + Service::GSP::SignalInterrupt(Service::GSP::InterruptId::PDC1); // Check for user input updates Service::HID::Update(); diff --git a/src/core/hw/y2r.cpp b/src/core/hw/y2r.cpp index 6a6c707a2..e697f84b3 100644 --- a/src/core/hw/y2r.cpp +++ b/src/core/hw/y2r.cpp @@ -18,7 +18,7 @@ namespace HW { namespace Y2R { -using namespace Y2R_U; +using namespace Service::Y2R; static const size_t MAX_TILES = 1024 / 8; static const size_t TILE_SIZE = 8 * 8; diff --git a/src/core/hw/y2r.h b/src/core/hw/y2r.h index 6b6e71bec..25fcd781c 100644 --- a/src/core/hw/y2r.h +++ b/src/core/hw/y2r.h @@ -2,13 +2,16 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. -namespace Y2R_U { +#pragma once + +namespace Service { +namespace Y2R { struct ConversionConfiguration; } +} namespace HW { namespace Y2R { - -void PerformConversion(Y2R_U::ConversionConfiguration& cvt); +void PerformConversion(Service::Y2R::ConversionConfiguration& cvt); } } |