mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06:00 
			
		
		
		
	Remove more 3DS-specific code.
This commit is contained in:
		@@ -13,14 +13,5 @@ namespace DSP_DSP {
 | 
			
		||||
void SignalPipeInterrupt(DspPipe pipe) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
////////////////////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
// Interface class
 | 
			
		||||
 | 
			
		||||
Interface::Interface() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
Interface::~Interface() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // namespace DSP_DSP
 | 
			
		||||
} // namespace Service
 | 
			
		||||
 
 | 
			
		||||
@@ -16,16 +16,6 @@ enum class DspPipe;
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace DSP_DSP {
 | 
			
		||||
 | 
			
		||||
class Interface final : public Service::Interface {
 | 
			
		||||
public:
 | 
			
		||||
    Interface();
 | 
			
		||||
    ~Interface() override;
 | 
			
		||||
 | 
			
		||||
    std::string GetPortName() const override {
 | 
			
		||||
        return "dsp::DSP";
 | 
			
		||||
    }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Signal a specific DSP related interrupt of type == InterruptType::Pipe, pipe == pipe.
 | 
			
		||||
 * @param pipe The DSP pipe for which to signal an interrupt for.
 | 
			
		||||
 
 | 
			
		||||
@@ -7,21 +7,5 @@
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace GSP {
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Signals that the specified interrupt type has occurred to userland code
 | 
			
		||||
 * @param interrupt_id ID of interrupt that is being signalled
 | 
			
		||||
 * @todo This should probably take a thread_id parameter and only signal this thread?
 | 
			
		||||
 * @todo This probably does not belong in the GSP module, instead move to video_core
 | 
			
		||||
 */
 | 
			
		||||
void SignalInterrupt(InterruptId interrupt_id) {
 | 
			
		||||
    UNIMPLEMENTED();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
GSP_GPU::GSP_GPU() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
GSP_GPU::~GSP_GPU() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // namespace GSP
 | 
			
		||||
} // namespace Service
 | 
			
		||||
 
 | 
			
		||||
@@ -174,16 +174,6 @@ struct CommandBuffer {
 | 
			
		||||
};
 | 
			
		||||
static_assert(sizeof(CommandBuffer) == 0x200, "CommandBuffer struct has incorrect size");
 | 
			
		||||
 | 
			
		||||
class GSP_GPU final : public Interface {
 | 
			
		||||
public:
 | 
			
		||||
    GSP_GPU();
 | 
			
		||||
    ~GSP_GPU() override;
 | 
			
		||||
 | 
			
		||||
    std::string GetPortName() const override {
 | 
			
		||||
        return "gsp::Gpu";
 | 
			
		||||
    }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Signals that the specified interrupt type has occurred to userland code
 | 
			
		||||
 * @param interrupt_id ID of interrupt that is being signalled
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user