Correct header file extension
This commit is contained in:
17
include/PSX/GPU/GPU.hpp
Normal file
17
include/PSX/GPU/GPU.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef __JABYENGINE_GPU_HPP__
|
||||
#define __JABYENGINE_GPU_HPP__
|
||||
#include "../System/IOPorts/GPU_IO.hpp"
|
||||
|
||||
namespace GPU {
|
||||
namespace Display {
|
||||
static void enable() {
|
||||
GP1.write(Command::GP1::SetDisplayState(DisplayState::On));
|
||||
}
|
||||
|
||||
static void disable() {
|
||||
GP1.write(Command::GP1::SetDisplayState(DisplayState::Off));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif //!__JABYENGINE_GPU_HPP__
|
||||
Reference in New Issue
Block a user