From 4c7ee590e796d1c4d2f086a8a0bd876bc2456505 Mon Sep 17 00:00:00 2001 From: Mads Ynddal <5528170+Baekalfen@users.noreply.github.com> Date: Sun, 29 Oct 2023 16:41:01 +0100 Subject: [PATCH] Update docs --- docs/index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/index.html b/docs/index.html index 39dc387b0..b7c45692f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -88,7 +88,8 @@

Args

Kwargs

bootrom_file (str): Filepath to a boot-ROM to use. If unsure, specify None. disable_renderer (bool): Can be used to optimize performance, by internally disable rendering of the screen. -color_palette (tuple): Specify the color palette to use for rendering.

+color_palette (tuple): Specify the color palette to use for rendering. +cgb_color_palette (list of tuple): Specify the color palette to use for rendering in CGB-mode for non-color games.

Other keyword arguments may exist for plugins that are not listed here. They can be viewed with the parser_arguments() method in the pyboy.plugins.manager module, or by running pyboy –help in the terminal.

@@ -129,6 +130,7 @@

Kwargs

bootrom_file (str): Filepath to a boot-ROM to use. If unsure, specify `None`. disable_renderer (bool): Can be used to optimize performance, by internally disable rendering of the screen. color_palette (tuple): Specify the color palette to use for rendering. + cgb_color_palette (list of tuple): Specify the color palette to use for rendering in CGB-mode for non-color games. Other keyword arguments may exist for plugins that are not listed here. They can be viewed with the `parser_arguments()` method in the pyboy.plugins.manager module, or by running pyboy --help in the terminal. @@ -148,6 +150,7 @@

Kwargs

gamerom_file, bootrom_file or kwargs.get("bootrom"), # Our current way to provide cli arguments is broken kwargs["color_palette"], + kwargs["cgb_color_palette"], disable_renderer, sound, sound_emulated,