1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-09-27 18:55:48 +00:00

Change phase from int to uint8_t

output_colour_burst expects a uint8_t so may as well make that clear.
This commit is contained in:
Ryan Carsten Schmidt 2023-12-15 04:38:30 -06:00
parent 81ad864659
commit d12316dfcf

View File

@ -469,9 +469,9 @@ template <class BusHandler, bool is_iie> class Video: public VideoBase {
// Supply the real phase value if this is an Apple build.
// TODO: eliminate UGLY HACK.
#if defined(__APPLE__) && !defined(IGNORE_APPLE)
constexpr int phase = 224;
constexpr uint8_t phase = 224;
#else
constexpr int phase = 192;
constexpr uint8_t phase = 192;
#endif
crt_.output_colour_burst((colour_burst_end - colour_burst_start) * 14, phase);