@ -77,7 +77,6 @@ pub mod error;
pub mod gfx;
pub mod prelude;
pub mod services;
pub mod srv;
cfg_if::cfg_if! {
if #[cfg(all(feature = "romfs", romfs_exists))] {
@ -1,20 +0,0 @@
pub struct Srv(());
impl Srv {
pub fn init() -> crate::Result<Srv> {
unsafe {
let r = ctru_sys::srvInit();
if r < 0 {
Err(r.into())
} else {
Ok(Srv(()))
}
impl Drop for Srv {
fn drop(&mut self) {
unsafe { ctru_sys::srvExit() };