This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const std = @import("std"); | |
pub const ELF_MAGIC = [_]u8{ 0x7F, 0x45, 0x4C, 0x46 }; | |
pub const ElfClass = enum(u8) { | |
Elf32 = 1, | |
Elf64 = 2, | |
}; | |
pub const ElfData = enum(u8) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const std = @import("std"); | |
const chars : []const u8 = "0123456789ABCDEF"; | |
pub const UUID = struct{ | |
const Self = @This(); | |
id: [36]u8, | |
pub fn new(seed: u64) !*Self{ | |
var r = std.rand.DefaultPrng.init(seed); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
usingnamespace @import("../Zig-PSP/src/psp/include/pspge.zig"); | |
usingnamespace @import("../Zig-PSP/src/psp/include/psputils.zig"); | |
usingnamespace @import("../Zig-PSP/src/psp/utils/psp.zig"); | |
usingnamespace @import("../Zig-PSP/src/psp/include/pspdisplay.zig"); | |
var draw_buffer: ?[*]u32 = null; | |
var disp_buffer: ?[*]u32 = null; | |
pub fn init() void{ | |
draw_buffer = @intToPtr(?[*]u32, @ptrToInt(sceGeEdramGetAddr())); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!include "ZipDLL.nsh" | |
Name "Minecraft PSP Installer" | |
OutFile "Minecraft-PSP.exe" | |
DirText "This installer will rip Minecraft Assets and create a launcher folder at the specified location." | |
InstallDir $Desktop | |
Section "" |