mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
Add some asserts for g_fxo->init<>
This commit is contained in:
parent
68c58281e5
commit
f3b9d64df7
3 changed files with 15 additions and 12 deletions
|
|
@ -125,7 +125,7 @@ EmuCallbacks main_application::CreateCallbacks()
|
|||
{
|
||||
case keyboard_handler::null:
|
||||
{
|
||||
g_fxo->init<KeyboardHandlerBase, NullKeyboardHandler>(Emu.DeserialManager());
|
||||
ensure(g_fxo->init<KeyboardHandlerBase, NullKeyboardHandler>(Emu.DeserialManager()));
|
||||
break;
|
||||
}
|
||||
case keyboard_handler::basic:
|
||||
|
|
@ -162,7 +162,7 @@ EmuCallbacks main_application::CreateCallbacks()
|
|||
{
|
||||
case mouse_handler::null:
|
||||
{
|
||||
g_fxo->init<MouseHandlerBase, NullMouseHandler>(Emu.DeserialManager());
|
||||
ensure(g_fxo->init<MouseHandlerBase, NullMouseHandler>(Emu.DeserialManager()));
|
||||
break;
|
||||
}
|
||||
case mouse_handler::basic:
|
||||
|
|
@ -175,7 +175,7 @@ EmuCallbacks main_application::CreateCallbacks()
|
|||
}
|
||||
case mouse_handler::raw:
|
||||
{
|
||||
g_fxo->init<MouseHandlerBase, raw_mouse_handler>(Emu.DeserialManager());
|
||||
ensure(g_fxo->init<MouseHandlerBase, raw_mouse_handler>(Emu.DeserialManager()));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue