1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-29 12:50:28 +00:00

Have Fetch and Draw be overt about namespaces.

This commit is contained in:
Thomas Harte 2023-05-12 13:46:35 -04:00
parent c29d80006e
commit e7c40eead9
3 changed files with 10 additions and 2 deletions

View File

@ -620,9 +620,9 @@ template <Personality personality> struct Base: public Storage<personality> {
template <SpriteMode mode, bool double_width> void draw_sprites(uint8_t y, int start, int end, const std::array<uint32_t, 16> &palette, int *colour_buffer = nullptr);
};
}
#include "Fetch.hpp"
#include "Draw.hpp"
}
#endif /* TMS9918Base_hpp */

View File

@ -9,6 +9,8 @@
#ifndef Draw_hpp
#define Draw_hpp
namespace TI::TMS {
// MARK: - Sprites, as generalised.
template <Personality personality>
@ -565,4 +567,6 @@ void Base<personality>::draw_yamaha(uint8_t y, int start, int end) {
// TODO.
}
#endif /* Draw_hpp */

View File

@ -9,6 +9,8 @@
#ifndef Fetch_hpp
#define Fetch_hpp
namespace TI::TMS {
/*
Fetching routines follow below; they obey the following rules:
@ -802,4 +804,6 @@ template<bool use_end> void Base<personality>::fetch_yamaha(uint8_t y, int, int
// TODO.
}
#endif /* Fetch_hpp */