diff --git a/examples/web/react/app.tsx b/examples/web/react/app.tsx index 0e72b11ed173066089341dc5f689b96f8f42b549..601b56f73c0a8cdb4c0f54aa8005d1972f8d97a2 100644 --- a/examples/web/react/app.tsx +++ b/examples/web/react/app.tsx @@ -164,8 +164,19 @@ export interface Emulator extends ObservableI { */ get framerate(): number; + /** + * A dictionary that contains the register names associated + * with their value either as strings or numbers. + */ get registers(): Record<string, string | number>; + /** + * Obtains the pixel buffer for the VRAM tile at the given + * index. + * + * @param index The index of the tile to obtain pixel buffer. + * @returns The pixel buffer of the tile at the given index. + */ getTile(index: number): Uint8Array; /**