mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2026-06-02 09:06:54 +02:00
Initial commit
This commit is contained in:
14
arm9/source/logger/SemihostingOutputStream.h
Normal file
14
arm9/source/logger/SemihostingOutputStream.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
#include "../../common/logger/IOutputStream.h"
|
||||
#include "core/semihosting.h"
|
||||
|
||||
class SemihostingOutputStream : public IOutputStream
|
||||
{
|
||||
public:
|
||||
void Write(const char* str) override
|
||||
{
|
||||
sh_writeString(str);
|
||||
}
|
||||
|
||||
void Flush() override { }
|
||||
};
|
||||
Reference in New Issue
Block a user