diff --git a/Machines/Oric/Video.cpp b/Machines/Oric/Video.cpp index ea14c006d..5176aeee0 100644 --- a/Machines/Oric/Video.cpp +++ b/Machines/Oric/Video.cpp @@ -210,3 +210,9 @@ void VideoOutput::run_for_cycles(int number_of_cycles) number_of_cycles -= cycles_run_for; } } + +void VideoOutput::set_character_set_base_address() +{ + if(_is_graphics_mode) _character_set_base_address = _use_alternative_character_set ? 0x9c00 : 0x9800; + else _character_set_base_address = _use_alternative_character_set ? 0xb800 : 0xb400; +} diff --git a/Machines/Oric/Video.hpp b/Machines/Oric/Video.hpp index ec41a919a..28d8661ec 100644 --- a/Machines/Oric/Video.hpp +++ b/Machines/Oric/Video.hpp @@ -34,11 +34,7 @@ class VideoOutput { uint8_t _ink, _paper; int _character_set_base_address; - inline void set_character_set_base_address() - { - if(_is_graphics_mode) _character_set_base_address = _use_alternative_character_set ? 0x9c00 : 0x9800; - else _character_set_base_address = _use_alternative_character_set ? 0xb800 : 0xb400; - } + inline void set_character_set_base_address(); bool _is_graphics_mode; bool _next_frame_is_sixty_hertz;