Browse Source
Merge pull request #485 from Subv/more_servs
Merge pull request #485 from Subv/more_servs
Services: Stubbed more services.pull/15/merge
21 changed files with 426 additions and 3 deletions
-
14src/core/CMakeLists.txt
-
4src/core/file_sys/archive_extsavedata.cpp
-
17src/core/file_sys/archive_extsavedata.h
-
24src/core/hle/service/am_sys.cpp
-
23src/core/hle/service/am_sys.h
-
24src/core/hle/service/boss_p.cpp
-
23src/core/hle/service/boss_p.h
-
24src/core/hle/service/cecd_s.cpp
-
23src/core/hle/service/cecd_s.h
-
24src/core/hle/service/frd_a.cpp
-
23src/core/hle/service/frd_a.h
-
22src/core/hle/service/fs/archive.cpp
-
8src/core/hle/service/fs/archive.h
-
11src/core/hle/service/fs/fs_user.cpp
-
26src/core/hle/service/gsp_lcd.cpp
-
24src/core/hle/service/gsp_lcd.h
-
25src/core/hle/service/news_s.cpp
-
23src/core/hle/service/news_s.h
-
27src/core/hle/service/ns_s.cpp
-
24src/core/hle/service/ns_s.h
-
16src/core/hle/service/service.cpp
@ -0,0 +1,24 @@ |
|||
// Copyright 2015 Citra Emulator Project
|
|||
// Licensed under GPLv2 or any later version
|
|||
// Refer to the license.txt file included.
|
|||
|
|||
#include "common/log.h"
|
|||
#include "core/hle/hle.h"
|
|||
#include "core/hle/service/am_sys.h"
|
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Namespace AM_SYS
|
|||
|
|||
namespace AM_SYS { |
|||
|
|||
// Empty arrays are illegal -- commented out until an entry is added.
|
|||
//const Interface::FunctionInfo FunctionTable[] = { };
|
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Interface class
|
|||
|
|||
Interface::Interface() { |
|||
//Register(FunctionTable, ARRAY_SIZE(FunctionTable));
|
|||
} |
|||
|
|||
} // namespace
|
|||
@ -0,0 +1,23 @@ |
|||
// Copyright 2015 Citra Emulator Project |
|||
// Licensed under GPLv2 or any later version |
|||
// Refer to the license.txt file included. |
|||
|
|||
#pragma once |
|||
|
|||
#include "core/hle/service/service.h" |
|||
|
|||
//////////////////////////////////////////////////////////////////////////////////////////////////// |
|||
// Namespace AM_SYS |
|||
|
|||
namespace AM_SYS { |
|||
|
|||
class Interface : public Service::Interface { |
|||
public: |
|||
Interface(); |
|||
|
|||
std::string GetPortName() const override { |
|||
return "am:sys"; |
|||
} |
|||
}; |
|||
|
|||
} // namespace |
|||
@ -0,0 +1,24 @@ |
|||
// Copyright 2015 Citra Emulator Project
|
|||
// Licensed under GPLv2 or any later version
|
|||
// Refer to the license.txt file included.
|
|||
|
|||
#include "common/log.h"
|
|||
#include "core/hle/hle.h"
|
|||
#include "core/hle/service/boss_p.h"
|
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Namespace BOSS_P
|
|||
|
|||
namespace BOSS_P { |
|||
|
|||
// Empty arrays are illegal -- commented out until an entry is added.
|
|||
// const Interface::FunctionInfo FunctionTable[] = { };
|
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Interface class
|
|||
|
|||
Interface::Interface() { |
|||
//Register(FunctionTable, ARRAY_SIZE(FunctionTable));
|
|||
} |
|||
|
|||
} // namespace
|
|||
@ -0,0 +1,23 @@ |
|||
// Copyright 2015 Citra Emulator Project |
|||
// Licensed under GPLv2 or any later version |
|||
// Refer to the license.txt file included. |
|||
|
|||
#pragma once |
|||
|
|||
#include "core/hle/service/service.h" |
|||
|
|||
//////////////////////////////////////////////////////////////////////////////////////////////////// |
|||
// Namespace BOSS_P |
|||
|
|||
namespace BOSS_P { |
|||
|
|||
class Interface : public Service::Interface { |
|||
public: |
|||
Interface(); |
|||
|
|||
std::string GetPortName() const override { |
|||
return "boss:P"; |
|||
} |
|||
}; |
|||
|
|||
} // namespace |
|||
@ -0,0 +1,24 @@ |
|||
// Copyright 2015 Citra Emulator Project
|
|||
// Licensed under GPLv2 or any later version
|
|||
// Refer to the license.txt file included.
|
|||
|
|||
#include "common/log.h"
|
|||
#include "core/hle/hle.h"
|
|||
#include "core/hle/service/cecd_s.h"
|
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Namespace CECD_S
|
|||
|
|||
namespace CECD_S { |
|||
|
|||
// Empty arrays are illegal -- commented out until an entry is added.
|
|||
//const Interface::FunctionInfo FunctionTable[] = { };
|
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Interface class
|
|||
|
|||
Interface::Interface() { |
|||
//Register(FunctionTable, ARRAY_SIZE(FunctionTable));
|
|||
} |
|||
|
|||
} // namespace
|
|||
@ -0,0 +1,23 @@ |
|||
// Copyright 2015 Citra Emulator Project |
|||
// Licensed under GPLv2 or any later version |
|||
// Refer to the license.txt file included. |
|||
|
|||
#pragma once |
|||
|
|||
#include "core/hle/service/service.h" |
|||
|
|||
//////////////////////////////////////////////////////////////////////////////////////////////////// |
|||
// Namespace CECD_S |
|||
|
|||
namespace CECD_S { |
|||
|
|||
class Interface : public Service::Interface { |
|||
public: |
|||
Interface(); |
|||
|
|||
std::string GetPortName() const override { |
|||
return "cecd:s"; |
|||
} |
|||
}; |
|||
|
|||
} // namespace |
|||
@ -0,0 +1,24 @@ |
|||
// Copyright 2015 Citra Emulator Project
|
|||
// Licensed under GPLv2 or any later version
|
|||
// Refer to the license.txt file included.
|
|||
|
|||
#include "common/log.h"
|
|||
#include "core/hle/hle.h"
|
|||
#include "core/hle/service/frd_a.h"
|
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Namespace FRD_A
|
|||
|
|||
namespace FRD_A { |
|||
|
|||
// Empty arrays are illegal -- commented out until an entry is added.
|
|||
// const Interface::FunctionInfo FunctionTable[] = { };
|
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Interface class
|
|||
|
|||
Interface::Interface() { |
|||
//Register(FunctionTable, ARRAY_SIZE(FunctionTable));
|
|||
} |
|||
|
|||
} // namespace
|
|||
@ -0,0 +1,23 @@ |
|||
// Copyright 2015 Citra Emulator Project |
|||
// Licensed under GPLv2 or any later version |
|||
// Refer to the license.txt file included. |
|||
|
|||
#pragma once |
|||
|
|||
#include "core/hle/service/service.h" |
|||
|
|||
//////////////////////////////////////////////////////////////////////////////////////////////////// |
|||
// Namespace FRD_A |
|||
|
|||
namespace FRD_A { |
|||
|
|||
class Interface : public Service::Interface { |
|||
public: |
|||
Interface(); |
|||
|
|||
std::string GetPortName() const override { |
|||
return "frd:a"; |
|||
} |
|||
}; |
|||
|
|||
} // namespace |
|||
@ -0,0 +1,26 @@ |
|||
// Copyright 2015 Citra Emulator Project
|
|||
// Licensed under GPLv2 or any later version
|
|||
// Refer to the license.txt file included.
|
|||
|
|||
|
|||
#include "common/log.h"
|
|||
#include "common/bit_field.h"
|
|||
|
|||
#include "core/hle/service/gsp_lcd.h"
|
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Namespace GSP_LCD
|
|||
|
|||
namespace GSP_LCD { |
|||
|
|||
/*const Interface::FunctionInfo FunctionTable[] = {
|
|||
};*/ |
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Interface class
|
|||
|
|||
Interface::Interface() { |
|||
//Register(FunctionTable, ARRAY_SIZE(FunctionTable));
|
|||
} |
|||
|
|||
} // namespace
|
|||
@ -0,0 +1,24 @@ |
|||
// Copyright 2015 Citra Emulator Project |
|||
// Licensed under GPLv2 or any later version |
|||
// Refer to the license.txt file included. |
|||
|
|||
#pragma once |
|||
|
|||
#include "core/hle/service/service.h" |
|||
|
|||
//////////////////////////////////////////////////////////////////////////////////////////////////// |
|||
// Namespace GSP_LCD |
|||
|
|||
namespace GSP_LCD { |
|||
|
|||
/// Interface to "gsp::Lcd" service |
|||
class Interface : public Service::Interface { |
|||
public: |
|||
Interface(); |
|||
|
|||
std::string GetPortName() const override { |
|||
return "gsp::Lcd"; |
|||
} |
|||
}; |
|||
|
|||
} // namespace |
|||
@ -0,0 +1,25 @@ |
|||
// Copyright 2015 Citra Emulator Project
|
|||
// Licensed under GPLv2 or any later version
|
|||
// Refer to the license.txt file included.
|
|||
|
|||
#include "common/log.h"
|
|||
#include "core/hle/hle.h"
|
|||
#include "core/hle/service/news_s.h"
|
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Namespace NEWS_S
|
|||
|
|||
namespace NEWS_S { |
|||
|
|||
const Interface::FunctionInfo FunctionTable[] = { |
|||
{0x000100C6, nullptr, "AddNotification"}, |
|||
}; |
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Interface class
|
|||
|
|||
Interface::Interface() { |
|||
Register(FunctionTable, ARRAY_SIZE(FunctionTable)); |
|||
} |
|||
|
|||
} // namespace
|
|||
@ -0,0 +1,23 @@ |
|||
// Copyright 2015 Citra Emulator Project |
|||
// Licensed under GPLv2 or any later version |
|||
// Refer to the license.txt file included. |
|||
|
|||
#pragma once |
|||
|
|||
#include "core/hle/service/service.h" |
|||
|
|||
//////////////////////////////////////////////////////////////////////////////////////////////////// |
|||
// Namespace NEWS_S |
|||
|
|||
namespace NEWS_S { |
|||
|
|||
class Interface : public Service::Interface { |
|||
public: |
|||
Interface(); |
|||
|
|||
std::string GetPortName() const override { |
|||
return "news:s"; |
|||
} |
|||
}; |
|||
|
|||
} // namespace |
|||
@ -0,0 +1,27 @@ |
|||
// Copyright 2015 Citra Emulator Project
|
|||
// Licensed under GPLv2 or any later version
|
|||
// Refer to the license.txt file included.
|
|||
|
|||
|
|||
#include "common/common.h"
|
|||
|
|||
#include "core/hle/hle.h"
|
|||
#include "core/hle/service/ns_s.h"
|
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Namespace NS_S
|
|||
|
|||
namespace NS_S { |
|||
|
|||
const Interface::FunctionInfo FunctionTable[] = { |
|||
{0x000200C0, nullptr, "LaunchTitle"}, |
|||
}; |
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Interface class
|
|||
|
|||
Interface::Interface() { |
|||
Register(FunctionTable, ARRAY_SIZE(FunctionTable)); |
|||
} |
|||
|
|||
} // namespace
|
|||
@ -0,0 +1,24 @@ |
|||
// Copyright 2015 Citra Emulator Project |
|||
// Licensed under GPLv2 or any later version |
|||
// Refer to the license.txt file included. |
|||
|
|||
#pragma once |
|||
|
|||
#include "core/hle/service/service.h" |
|||
|
|||
//////////////////////////////////////////////////////////////////////////////////////////////////// |
|||
// Namespace NS_S |
|||
|
|||
namespace NS_S { |
|||
|
|||
/// Interface to "NS:S" service |
|||
class Interface : public Service::Interface { |
|||
public: |
|||
Interface(); |
|||
|
|||
std::string GetPortName() const override { |
|||
return "ns:s"; |
|||
} |
|||
}; |
|||
|
|||
} // namespace |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue