mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-01-10 08:29:29 +01:00
16 lines
341 B
C++
16 lines
341 B
C++
#pragma once
|
|
#include "logger/IOutputStream.h"
|
|
|
|
#define REG_NOCASH_STRING_OUT (*(vu32*)0x04FFFA10)
|
|
#define REG_NOCASH_CHAR_OUT (*(vu32*)0x04FFFA1C)
|
|
|
|
class NocashOutputStream : public IOutputStream
|
|
{
|
|
public:
|
|
void Write(const char* str) override
|
|
{
|
|
REG_NOCASH_STRING_OUT = (u32)str;
|
|
}
|
|
|
|
void Flush() override { }
|
|
}; |