Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
sergystepanov committed Nov 22, 2023
1 parent 9ae0bc7 commit 9a944f2
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions pkg/worker/caged/libretro/nanoarch/nanoarch.go
Original file line number Diff line number Diff line change
Expand Up @@ -770,20 +770,6 @@ func coreEnvironment(cmd C.unsigned, data unsafe.Pointer) C.bool {
Nan0.log.Debug().Msgf("%v", cInfo.String())
}
return true
}
info := (*[100]C.struct_retro_controller_info)(data)
var i C.unsigned
for i = 0; unsafe.Pointer(info[i].types) != nil; i++ {
var j C.unsigned
types := (*[100]C.struct_retro_controller_description)(unsafe.Pointer(info[i].types))
for j = 0; j < info[i].num_types; j++ {
if C.GoString(types[j].desc) == "Multitap" {
Nan0.multitap.value = types[j].id
return true
}
}
}
return false
case C.RETRO_ENVIRONMENT_GET_CLEAR_ALL_THREAD_WAITS_CB:
C.bridge_clear_all_thread_waits_cb(data)
return true
Expand Down

0 comments on commit 9a944f2

Please sign in to comment.