Interface

HsNesCore

Description [src]

interface Hs.NesCore : Hs.Core

An interface for NES cores.

Defines functions specific to NES.

Prerequisite

In order to implement NesCore, your type must inherit fromHsCore.

Instance methods

hs_nes_core_get_players

Gets the number of players in the current game.

hs_nes_core_set_accessory

Sets the used accessory.

Interface structure

struct HsNesCoreInterface {
  GTypeInterface parent;
  guint (* get_players) (
    HsNesCore* self
  );
  void (* set_accessory) (
    HsNesCore* self,
    HsNesAccessory accessory
  );
  
}

No description available.

Interface members
parent
GTypeInterface
 

No description available.

get_players
guint (* get_players) (
    HsNesCore* self
  )
 

No description available.

set_accessory
void (* set_accessory) (
    HsNesCore* self,
    HsNesAccessory accessory
  )
 

No description available.

Virtual methods

Hs.NesCore.get_players

Gets the number of players in the current game.

Hs.NesCore.set_accessory

Sets the used accessory.