rpcsx/rpcs3/Emu/Cell/Modules/sys_io.cpp

67 lines
1.3 KiB
C++
Raw Normal View History

#include "stdafx.h"
2016-03-21 20:42:14 +01:00
#include "Emu/Cell/PPUModule.h"
2017-05-13 20:30:37 +02:00
logs::channel sys_io("sys_io");
2014-09-03 18:33:30 +02:00
extern void cellPad_init();
extern void cellKb_init();
extern void cellMouse_init();
2015-08-01 03:46:42 +02:00
s32 sys_config_start()
{
fmt::throw_exception("Unimplemented" HERE);
2015-08-01 03:46:42 +02:00
}
s32 sys_config_stop()
{
fmt::throw_exception("Unimplemented" HERE);
2015-08-01 03:46:42 +02:00
}
s32 sys_config_add_service_listener()
{
fmt::throw_exception("Unimplemented" HERE);
2015-08-01 03:46:42 +02:00
}
s32 sys_config_remove_service_listener()
{
fmt::throw_exception("Unimplemented" HERE);
2015-08-01 03:46:42 +02: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()
{
fmt::throw_exception("Unimplemented" HERE);
2015-08-01 03:46:42 +02: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()
{
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", []()
{
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);
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);
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);
});