Stratosphere: Fix IServer constructors. SM is fully functional on hardware now.
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
|
||||
template <typename T>
|
||||
class ServiceServer : public IServer<T> {
|
||||
private:
|
||||
virtual Result register_self(const char *service_name) {
|
||||
return smRegisterService(&this->port_handle, service_name, false, this->max_sessions);
|
||||
}
|
||||
public:
|
||||
ServiceServer(const char *service_name, unsigned int max_s) : IServer<T>(service_name, max_s) { }
|
||||
ServiceServer(const char *service_name, unsigned int max_s) : IServer<T>(service_name, max_s) {
|
||||
if (R_FAILED(smRegisterService(&this->port_handle, service_name, false, this->max_sessions))) {
|
||||
/* TODO: Panic. */
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user