2017-02-13 03:46:02 +01:00
|
|
|
|
#include "stdafx.h"
|
2016-03-21 20:42:14 +01:00
|
|
|
|
#include "Emu/Cell/PPUModule.h"
|
2013-06-30 10:46:29 +02:00
|
|
|
|
|
2017-05-13 20:30:37 +02:00
|
|
|
|
logs::channel sys_io("sys_io");
|
2013-06-30 10:46:29 +02:00
|
|
|
|
|
2014-09-03 18:33:30 +02:00
|
|
|
|
extern void cellPad_init();
|
|
|
|
|
|
extern void cellKb_init();
|
|
|
|
|
|
extern void cellMouse_init();
|
2014-06-25 00:38:34 +02:00
|
|
|
|
|
2015-08-01 03:46:42 +02:00
|
|
|
|
|
|
|
|
|
|
s32 sys_config_start()
|
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-08-01 03:46:42 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
s32 sys_config_stop()
|
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-08-01 03:46:42 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
s32 sys_config_add_service_listener()
|
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-08-01 03:46:42 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
s32 sys_config_remove_service_listener()
|
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-08-01 03:46:42 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
2017-02-13 03:46:02 +01:00
|
|
|
|
s32 sys_config_register_io_error_handler()
|
|
|
|
|
|
{
|
|
|
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2015-08-01 03:46:42 +02:00
|
|
|
|
s32 sys_config_register_service()
|
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-08-01 03:46:42 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
2017-02-13 03:46:02 +01:00
|
|
|
|
s32 sys_config_unregister_io_error_handler()
|
|
|
|
|
|
{
|
|
|
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2015-08-01 03:46:42 +02:00
|
|
|
|
s32 sys_config_unregister_service()
|
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-08-01 03:46:42 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-03-21 20:42:14 +01:00
|
|
|
|
DECLARE(ppu_module_manager::sys_io)("sys_io", []()
|
2013-06-30 10:46:29 +02:00
|
|
|
|
{
|
2014-09-03 18:33:30 +02:00
|
|
|
|
cellPad_init();
|
|
|
|
|
|
cellKb_init();
|
|
|
|
|
|
cellMouse_init();
|
2015-08-01 03:46:42 +02:00
|
|
|
|
|
|
|
|
|
|
REG_FUNC(sys_io, sys_config_start);
|
|
|
|
|
|
REG_FUNC(sys_io, sys_config_stop);
|
|
|
|
|
|
REG_FUNC(sys_io, sys_config_add_service_listener);
|
|
|
|
|
|
REG_FUNC(sys_io, sys_config_remove_service_listener);
|
2017-02-13 03:46:02 +01:00
|
|
|
|
REG_FUNC(sys_io, sys_config_register_io_error_handler);
|
2015-08-01 03:46:42 +02:00
|
|
|
|
REG_FUNC(sys_io, sys_config_register_service);
|
2017-02-13 03:46:02 +01:00
|
|
|
|
REG_FUNC(sys_io, sys_config_unregister_io_error_handler);
|
2015-08-01 03:46:42 +02:00
|
|
|
|
REG_FUNC(sys_io, sys_config_unregister_service);
|
2015-02-18 17:22:06 +01:00
|
|
|
|
});
|