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
| struct Bar | |
| { | |
| Bar(); | |
| Bar(int); | |
| }; | |
| struct Meow | |
| { | |
| Meow(int a, Bar b); | |
| }; |
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
| struct Foo | |
| { | |
| virtual ~Foo() = default; | |
| }; | |
| struct Bar : Foo | |
| { | |
| ~Bar(); | |
| }; |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <sprite name="dino" start_id="up"> | |
| <face id="up" source="dino_up.png"/> | |
| <face id="down" source="dino_down.png"/> | |
| <face id="down" source="dino_down_walk1.png"/> | |
| <face id="down" source="dino_down_walk2.png"/> | |
| <face id="down" source="dino_down_walk3.png"/> | |
| <face id="down" source="dino_down_walk4.png"/> | |
| <face id="left" source="dino_left.png"/> | |
| <face id="right" source="dino_right.png"/> |
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 <stdint.h> | |
| class Foo | |
| { | |
| public: | |
| Foo() : data((const uint8_t* const&)m_data) | |
| { | |
| m_data = 0; // Set later in some other member function. | |
| } |
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
| <?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 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
| #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 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
| 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 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
| 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 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
| 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 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
| 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 |