mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-26 09:29:45 +00:00
Have Fetch and Draw be overt about namespaces.
This commit is contained in:
parent
c29d80006e
commit
e7c40eead9
@ -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 */
|
||||
|
@ -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 */
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user