Add triangle test ROM
This commit is contained in:
@@ -95,7 +95,7 @@ void Kernel::outputDebugString() {
|
||||
const u32 size = regs[1];
|
||||
|
||||
std::string message = mem.readString(pointer, size);
|
||||
printf("OutputDebugString(message = \"%s\")\n", message.c_str());
|
||||
printf("[OutputDebugString] %s\n", message.c_str());
|
||||
regs[0] = SVCResult::Success;
|
||||
}
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ int main (int argc, char *argv[]) {
|
||||
Helpers::panic("Failed to initialize OpenGL");
|
||||
}
|
||||
|
||||
auto elfPath = std::filesystem::current_path() / (argc > 1 ? argv[1] : "OutputDebugString.elf");
|
||||
auto elfPath = std::filesystem::current_path() / (argc > 1 ? argv[1] : "SimplerTri.elf");
|
||||
if (!emu.loadELF(elfPath)) {
|
||||
Helpers::panic("Failed to load ELF file: %s", elfPath.c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user