Exemplo n.º 1
0
        /// <summary>
        /// Retrieves the current menu.
        /// </summary>
        /// <returns>Returns a Menu containing the current menu.</returns>
        public Menu GetCurrentMenu()
        {
            Menu currentMenu = Menu.MainMenu;

            currentMenu = (Menu)memoryManager.ReadByte(memoryManager.ReadInt(MENU_BASE) + CURRENT_MENU_OFFSET);

            return(currentMenu);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Retrieves the current menu.
        /// </summary>
        /// <returns>Returns a Menu containing the current menu.</returns>
        public Menu GetCurrentMenu()
        {
            Menu currentMenu = Menu.MainMenu;

            currentMenu = (Menu)MemoryManager.ReadByte(MemoryManager.CalculatePointer(MENU_BASEADDRESS, CURRENT_MENU_OFFSET));

            return(currentMenu);
        }