This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<sprite name="dino" width="16" height="16"> | |
<face direction="up"> | |
<frame source="dino_up.png"/> | |
</face> | |
<face direction="down"> | |
<frame source="dino_down.png"/> | |
</face> | |
<face direction="left"> | |
<frame source="dino_left.png"/> |
This file contains 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
#define RETRO_ENVIRONMENT_GET_SYSTEM_DIRECTORY 9 | |
// const char ** -- | |
// Returns the "system" directory of the frontend. | |
// This directory can be used to store system specific ROMs such as BIOSes, configuration data, etc. | |
// The returned value can be NULL. | |
// If so, no such directory is defined, | |
// and it's up to the implementation to find a suitable directory. |
This file contains 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
void D3DVideo::viewport_size(unsigned &width, unsigned &height) | |
{ | |
width = final_viewport.Width; | |
height = final_viewport.Height; | |
} | |
bool D3DVideo::read_viewport(uint8_t *buffer) | |
{ | |
bool ret = true; | |
IDirect3DSurface9 *target = nullptr; |
This file contains 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
From 22c2150cc23022ca089d5906fbf9989f7b4e5e07 Mon Sep 17 00:00:00 2001 | |
From: Themaister <[email protected]> | |
Date: Fri, 1 Jun 2012 01:27:27 +0200 | |
Subject: [PATCH] Fix build for Linux. | |
--- | |
makefile.libretro | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
diff --git a/makefile.libretro b/makefile.libretro |
This file contains 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
src/burn/drv/capcom/cps_draw.o: In function `CpsDraw()': | |
cps_draw.cpp:(.text+0x18b1): undefined reference to `CtvReady()' | |
src/burn/drv/capcom/cps_draw.o: In function `CpsRedraw()': | |
cps_draw.cpp:(.text+0x19f5): undefined reference to `CtvReady()' | |
src/burn/drv/capcom/cpst.o: In function `CpstOne()': | |
cpst.cpp:(.text+0x3b): undefined reference to `nCtvRollX' | |
cpst.cpp:(.text+0x4c): undefined reference to `nCtvRollY' | |
cpst.cpp:(.text+0x97): undefined reference to `pCtvTile' | |
cpst.cpp:(.text+0xd0): undefined reference to `pCtvLine' | |
cpst.cpp:(.text+0xea): undefined reference to `nCtvTileAdd' |
This file contains 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
g++ -c -o tcpcommand.o tcpcommand.cpp -O0 -g -std=c++11 -Wall -pedantic | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/algorithm:63:0, | |
from tcpcommand.cpp:6: | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h: In instantiation of '_FIter std::remove_if(_FIter, _FIter, _Predicate) [with _FIter = __gnu_cxx::__normal_iterator<std::shared_ptr<TCPSocket>*, std::vector<std::shared_ptr<TCPSocket> > >; _Predicate = TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)>]': | |
tcpcommand.cpp:66:59: required from here | |
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/stl_algo.h:1176:9: error: no match for call to '(TCPCommand::handle(EventHandler&)::<lambda(const TCPSocket&)>) (std::shared_ptr<TCPSocket>&)' | |
tcpcommand.cpp:66:11: note: candidates are: | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/algorithm:63:0, | |
fro |
This file contains 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 <unistd.h> | |
#include <sys/soundcard.h> | |
#include <sys/ioctl.h> | |
#include <stdexcept> | |
OSS::OSS() : fd(-1) {} | |
OSS::~OSS() | |
{ | |
stop(); |
This file contains 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
shaders = 2 | |
shader0 = stock.cg | |
shader1 = dot.cg | |
filter_linear0 = true | |
filter_linear1 = false | |
scale_type_x0 = absolute | |
scale_type_y0 = source | |
scale_x0 = 256 |
This file contains 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
commit 01d2bdb2113c8ed98a5aaa8cd3db2e001015530d | |
Author: Themaister <[email protected]> | |
Date: Mon May 7 22:36:18 2012 +0200 | |
Fix save states failing in libretro. | |
diff --git a/libretro/libretro.cpp b/libretro/libretro.cpp | |
index f42db53..eb8590c 100644 | |
--- a/libretro/libretro.cpp | |
+++ b/libretro/libretro.cpp |
This file contains 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 <stdio.h> | |
#include <system.h> | |
#include <io.h> | |
#include <unistd.h> | |
#define WR_REG(reg, val) IOWR(SNES_##reg##_BASE, 0, val) | |
#define RD_REG(reg) IORD(SNES_##reg##_BASE, 0) | |
int main(void) | |
{ |