mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2025-12-05 13:16:06 +01:00
16 lines
334 B
C++
16 lines
334 B
C++
#pragma once
|
|
#include "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 { }
|
|
}; |