mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 14:50:41 -07:00
otoca: add cam hook, fix printer rotation (#573)
## Link to GitHub Issue or related Pull Request, if one exists related to #154 though this PR doesn't fix it ## Description of change 1. Add an option for cam hook so that the game can be launched without any camera 1. Rotate image printed out by print-to-file so that it's right side up (portrait orientation) ## Testing Able to boot the game without any cameras, and tested printing in test menu. "Holo" printing remains broken.
This commit is contained in:
@@ -334,7 +334,7 @@ namespace games::shared {
|
||||
image_data[index + 2] = tmp;
|
||||
}
|
||||
|
||||
if (avs::game::is_model({"KLP", "KFC"})) {
|
||||
if (avs::game::is_model({"KLP", "KFC", "NCG"})) {
|
||||
// rotate image clockwise
|
||||
log_misc("printer", "rotate clockwise...");
|
||||
auto rotated = new uint8_t[image_width * image_height * 3];
|
||||
|
||||
Reference in New Issue
Block a user