mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06:00 
			
		
		
		
	general: fix type inconsistencies
This commit is contained in:
		@@ -44,11 +44,11 @@ const KAddressSpaceInfo& GetAddressSpaceInfo(size_t width, KAddressSpaceInfo::Ty
 | 
			
		||||
 | 
			
		||||
} // namespace
 | 
			
		||||
 | 
			
		||||
uintptr_t KAddressSpaceInfo::GetAddressSpaceStart(size_t width, KAddressSpaceInfo::Type type) {
 | 
			
		||||
std::size_t KAddressSpaceInfo::GetAddressSpaceStart(size_t width, KAddressSpaceInfo::Type type) {
 | 
			
		||||
    return GetAddressSpaceInfo(width, type).address;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
size_t KAddressSpaceInfo::GetAddressSpaceSize(size_t width, KAddressSpaceInfo::Type type) {
 | 
			
		||||
std::size_t KAddressSpaceInfo::GetAddressSpaceSize(size_t width, KAddressSpaceInfo::Type type) {
 | 
			
		||||
    return GetAddressSpaceInfo(width, type).size;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -18,7 +18,7 @@ struct KAddressSpaceInfo final {
 | 
			
		||||
        Count,
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    static u64 GetAddressSpaceStart(std::size_t width, Type type);
 | 
			
		||||
    static std::size_t GetAddressSpaceStart(std::size_t width, Type type);
 | 
			
		||||
    static std::size_t GetAddressSpaceSize(std::size_t width, Type type);
 | 
			
		||||
 | 
			
		||||
    const std::size_t bit_width{};
 | 
			
		||||
 
 | 
			
		||||
@@ -21,9 +21,9 @@ public:
 | 
			
		||||
    ~KDeviceAddressSpace();
 | 
			
		||||
 | 
			
		||||
    Result Initialize(u64 address, u64 size);
 | 
			
		||||
    void Finalize();
 | 
			
		||||
    void Finalize() override;
 | 
			
		||||
 | 
			
		||||
    bool IsInitialized() const {
 | 
			
		||||
    bool IsInitialized() const override {
 | 
			
		||||
        return m_is_initialized;
 | 
			
		||||
    }
 | 
			
		||||
    static void PostDestroy(uintptr_t arg) {}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user