nesemu/ppu/tile_debugger.h

20 lines
451 B
C
Raw Permalink Normal View History

2024-08-13 21:49:48 -04:00
//
// Created by william on 8/13/24.
//
#ifndef NES_EMULATOR_TILE_DEBUGGER_H
#define NES_EMULATOR_TILE_DEBUGGER_H
#include "../include/types.h"
2024-08-17 17:38:15 -04:00
/**
* Encodes a number as pattern data.
*
* @param num The number to encode
* @param tile_fine_y The row of the tile
* @return Pattern data representing the row of the encoded number
*/
byte tile_debugger_encode_number_as_pattern(byte num, byte tile_fine_y);
2024-08-13 21:49:48 -04:00
#endif //NES_EMULATOR_TILE_DEBUGGER_H